286 references to Method
System.Activities (10)
Microsoft\VisualBasic\Activities\VisualBasicDesignerHelper.cs (1)
524MethodInfo method = methodCall.Method;
Microsoft\VisualBasic\Activities\VisualBasicHelper.cs (1)
985return Expression.Call(expr1, methodCall.Method, arguments);
System\Activities\Expressions\ExpressionServices.cs (4)
82MethodInfo calledMethod = methodCallExpressionBody.Method; 195Type declaringType = methodCallExpressionBody.Method.DeclaringType; 196MethodInfo calledMethod = methodCallExpressionBody.Method; 1236MethodInfo methodInfo = methodCallExpression.Method;
System\Activities\ExpressionUtilities.cs (4)
122MethodInfo method = callExpression.Method; 188MethodInfo method = callExpression.Method; 498this.getItemMethod = callExpression.Method; 1818MethodInfo targetMethod = methodCall.Method;
System.Core (39)
Microsoft\Scripting\Ast\DebugViewWriter.cs (3)
776} else if (node.Method.DeclaringType != null) { 777Out(node.Method.DeclaringType.ToString()); 782Out(node.Method.Name);
Microsoft\Scripting\Ast\Expression.DebuggerProxy.cs (1)
310public MethodInfo Method { get { return _node.Method; } }
Microsoft\Scripting\Ast\ExpressionStringBuilder.cs (2)
521if (Attribute.GetCustomAttribute(node.Method, typeof(ExtensionAttribute)) != null) { 530Out(node.Method.Name);
Microsoft\Scripting\Ast\MethodCallExpression.cs (17)
101return Expression.Call(@object, Method, arguments); 168return Expression.Call(Method, args ?? _arguments); 204return Expression.Call(instance, Method, args ?? _arguments); 238return Expression.Call(Method, args[0]); 241return Expression.Call(Method, ReturnObject<Expression>(_arg0)); 278return Expression.Call(Method, args[0], args[1]); 280return Expression.Call(Method, ReturnObject<Expression>(_arg0), _arg1); 319return Expression.Call(Method, args[0], args[1], args[2]); 321return Expression.Call(Method, ReturnObject<Expression>(_arg0), _arg1, _arg2); 362return Expression.Call(Method, args[0], args[1], args[2], args[3]); 364return Expression.Call(Method, ReturnObject<Expression>(_arg0), _arg1, _arg2, _arg3); 407return Expression.Call(Method, args[0], args[1], args[2], args[3], args[4]); 410return Expression.Call(Method, ReturnObject<Expression>(_arg0), _arg1, _arg2, _arg3, _arg4); 455return Expression.Call(instance, Method, args[0], args[1]); 457return Expression.Call(instance, Method, ReturnObject<Expression>(_arg0), _arg1); 504return Expression.Call(instance, Method, args[0], args[1], args[2]); 506return Expression.Call(instance, Method, ReturnObject<Expression>(_arg0), _arg1, _arg2);
Microsoft\Scripting\Compiler\LambdaCompiler.Address.cs (2)
169if (!node.Method.IsStatic && 171node.Method == node.Object.Type.GetMethod("Get", BindingFlags.Public | BindingFlags.Instance)) {
Microsoft\Scripting\Compiler\LambdaCompiler.Expressions.cs (1)
307EmitMethodCall(node.Object, node.Method, node, flags);
Microsoft\Scripting\Compiler\StackSpiller.cs (1)
422RequireNoRefArgs(node.Method);
System\Linq\Expressions\ExpressionVisitor.cs (1)
167return Expression.Call(obj, m.Method, args);
System\Linq\SequenceQuery.cs (11)
198Type[] typeArgs = (m.Method.IsGenericMethod) ? m.Method.GetGenericArguments() : null; 200if ((m.Method.IsStatic || m.Method.DeclaringType.IsAssignableFrom(obj.Type)) 201&& ArgsMatch(m.Method, args, typeArgs)) { 203return Expression.Call(obj, m.Method, args); 205else if (m.Method.DeclaringType == typeof(Queryable)) { 207MethodInfo seqMethod = FindEnumerableMethod(m.Method.Name, args, typeArgs); 213BindingFlags flags = BindingFlags.Static | (m.Method.IsPublic ? BindingFlags.Public : BindingFlags.NonPublic); 214MethodInfo method = FindMethod(m.Method.DeclaringType, m.Method.Name, args, typeArgs, flags);
System.Data.Entity (89)
System\Data\Common\Internal\Materialization\CoordinatorScratchpad.cs (3)
401&& test.Method.Name == "IsDBNull") 403if (ifFalse != null && (ifFalse.Object != null && typeof(DbDataReader).IsAssignableFrom(ifFalse.Object.Type) || IsUserExpressionMethod(ifFalse.Method))) 489var method = m.Method;
System\Data\Objects\ELinq\EntityExpressionVisitor.cs (1)
196return Expression.Call(obj, m.Method, args);
System\Data\Objects\ELinq\ExpressionConverter.cs (2)
1531MethodInfo methodInfo = ((MethodCallExpression)Expression).Method; 1552MethodInfo methodInfo = ((MethodCallExpression)Expression).Method;
System\Data\Objects\ELinq\LinqExpressionNormalizer.cs (36)
140if (m.Method.IsStatic) 143if (m.Method.Name.StartsWith("op_", StringComparison.Ordinal)) 151switch (m.Method.Name) 154return Expression.Equal(m.Arguments[0], m.Arguments[1], LiftToNull, m.Method); 157return Expression.NotEqual(m.Arguments[0], m.Arguments[1], LiftToNull, m.Method); 160return Expression.GreaterThan(m.Arguments[0], m.Arguments[1], LiftToNull, m.Method); 163return Expression.GreaterThanOrEqual(m.Arguments[0], m.Arguments[1], LiftToNull, m.Method); 166return Expression.LessThan(m.Arguments[0], m.Arguments[1], LiftToNull, m.Method); 169return Expression.LessThanOrEqual(m.Arguments[0], m.Arguments[1], LiftToNull, m.Method); 172return Expression.Multiply(m.Arguments[0], m.Arguments[1], m.Method); 175return Expression.Subtract(m.Arguments[0], m.Arguments[1], m.Method); 178return Expression.Add(m.Arguments[0], m.Arguments[1], m.Method); 181return Expression.Divide(m.Arguments[0], m.Arguments[1], m.Method); 184return Expression.Modulo(m.Arguments[0], m.Arguments[1], m.Method); 187return Expression.And(m.Arguments[0], m.Arguments[1], m.Method); 190return Expression.Or(m.Arguments[0], m.Arguments[1], m.Method); 193return Expression.ExclusiveOr(m.Arguments[0], m.Arguments[1], m.Method); 206switch (m.Method.Name) 209return Expression.Negate(m.Arguments[0], m.Method); 212return Expression.UnaryPlus(m.Arguments[0], m.Method); 216return Expression.Convert(m.Arguments[0], m.Type, m.Method); 220return Expression.Not(m.Arguments[0], m.Method); 229if (m.Method.Name == "Equals" && m.Arguments.Count > 1) 234return Expression.Equal(m.Arguments[0], m.Arguments[1], false, m.Method); 238if (m.Method.Name == "CompareString" && m.Method.DeclaringType.FullName == "Microsoft.VisualBasic.CompilerServices.Operators") 247if (m.Method.Name == "Compare" && m.Arguments.Count > 1 && m.Method.ReturnType == typeof(int)) 258if (m.Method.Name == "Equals" && m.Arguments.Count > 0) 261Type parameterType = m.Method.GetParameters()[0].ParameterType; 272if (m.Method.Name == "CompareTo" && m.Arguments.Count == 1 && m.Method.ReturnType == typeof(int)) 281if (m.Method.Name == "Contains" && m.Arguments.Count == 1) { 282Type declaringType = m.Method.DeclaringType; 324result = Expression.Call(callExpression.Object, callExpression.Method, normalizedArguments); 352ReflectionUtil.TryIdentifySequenceMethod(callExpression.Method, out sequenceMethod))
System\Data\Objects\ELinq\MethodCallTranslator.cs (43)
39if (ReflectionUtil.TryIdentifySequenceMethod(linq.Method, out sequenceMethod) && 46if (TryGetCallTranslator(linq.Method, out callTranslator)) 52if (ObjectQueryCallTranslator.IsCandidateMethod(linq.Method)) 55if (s_objectQueryTranslators.TryGetValue(linq.Method.Name, out builderTranslator)) 62EdmFunctionAttribute functionAttribute = linq.Method.GetCustomAttributes(typeof(EdmFunctionAttribute), false) 69switch(linq.Method.Name) 73if (linq.Method.GetParameters().Count() == 1 && linq.Method.ReturnType.Equals(typeof(bool))) 76if (linq.Method.IsImplementationOfGenericInterfaceMethod(typeof(ICollection<>), out genericArguments)) 524if (TryGetAlternativeMethod(call.Method, out suggestedMethodInfo)) 526throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnsupportedMethodSuggestedAlternative(call.Method, suggestedMethodInfo)); 529throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnsupportedMethod(call.Method)); 738throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionAttributedFunctionWithWrongReturnType(call.Method, call.Method.DeclaringType)); 743throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionAttributedFunctionWithWrongReturnType(call.Method, call.Method.DeclaringType)); 753throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionAttributedFunctionWithWrongReturnType(call.Method, call.Method.DeclaringType)); 761throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionAttributedFunctionWithWrongReturnType(call.Method, call.Method.DeclaringType)); 774throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionAttributedFunctionWithWrongReturnType(call.Method, call.Method.DeclaringType)); 783throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionAttributedFunctionWithWrongReturnType(call.Method, call.Method.DeclaringType)); 807throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionAttributeParameterNameNotValid(call.Method, call.Method.DeclaringType, parameterName)); 861if (!call.Method.IsStatic) 873return parent.TranslateIntoCanonicalFunction(call.Method.Name, call, linqArguments); 907throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnsupportedAsUnicodeAndAsNonUnicode(call.Method)); 1164throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnsupportedStringRemoveCase(call.Method, call.Method.GetParameters()[1].Name)); 1329throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnsupportedTrimStartTrimEndCase(call.Method)); 1424return parent.TranslateIntoCanonicalFunction(call.Method.Name, call, call.Arguments.ToArray()); 1458return parent.TranslateIntoCanonicalFunction(s_methodNameMap[call.Method], call, call.Arguments.ToArray()); 1504throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnsupportedVBDatePartNonConstantInterval(call.Method, call.Method.GetParameters()[0].Name)); 1510throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnsupportedVBDatePartInvalidInterval(call.Method, call.Method.GetParameters()[0].Name, intervalValue)); 1609throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnsupportedKeySelector(call.Method.Name)); 2054call.Method.Name, operand.ResultType.EdmType.Name)); 2064Type clrType = call.Method.GetGenericArguments()[0]; 2756throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnsupportedKeySelector(call.Method.Name)); 2877throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnsupportedKeySelector(call.Method.Name));
System\Data\Objects\ELinq\ReflectionUtil.cs (1)
398return ReflectionUtil.TryIdentifySequenceMethod(methodCall.Method, out sequenceMethod);
System\Data\Objects\ELinq\SpatialMethodCallTranslator.cs (3)
45MethodInfo method = ((MethodCallExpression)lambda.Body).Method; 54MethodInfo method = ((MethodCallExpression)lambda.Body).Method; 229MethodInfo method = (MethodInfo)call.Method;
System.Data.Linq (61)
DataServices.cs (3)
475if (mc.Method.DeclaringType != typeof(Queryable)) { 478switch (mc.Method.Name) { 537if (mex != null && mex.Method.Name == "op_Equality" && mex.Arguments.Count == 2) {
DataShape.cs (2)
273if (isTopLevel && !SubqueryRules.IsSupportedTopLevelMethod(m.Method)) 274throw Error.SubqueryDoesNotSupportOperator(m.Method.Name);
SqlClient\Query\Funcletizer.cs (3)
133this.isRemote |= m.Method.DeclaringType == typeof(System.Data.Linq.Provider.DataManipulation) 134|| Attribute.IsDefined(m.Method, typeof(FunctionAttribute)); 294return Expression.Call(obj, m.Method, args);
SqlClient\Query\QueryConverter.cs (39)
939if (mce != null && IsSequenceOperatorCall(mce) && mce.Method.Name == "Skip" && mce.Arguments.Count == 2) { 1163SqlTableValuedFunctionCall functionCall = sql.TableValuedFunctionCall(function.ResultRowTypes[0].InheritanceRoot, mce.Method.ReturnType, function.MappedName, sqlParams, mce); 1188Type returnType = mce.Method.ReturnType; 1876Type declType = mc.Method.DeclaringType; 1877if (mc.Method.IsStatic) { 1886if (mc.Method.Name == "ChangeType") { 1895throw Error.MethodFormHasNoSupportConversionToSql(mc.Method.Name, mc.Method); 1901else if (typeof(DataContext).IsAssignableFrom(mc.Method.DeclaringType)) { 1902switch (mc.Method.Name) { 1905if (mc.Method.IsGenericMethod) { 1906Type[] typeArgs = mc.Method.GetGenericArguments(); 1907if (typeArgs.Length == 1 && mc.Method.GetParameters().Length == 0) { 1919return this.VisitUserQuery((string)GetValue(mc.Arguments[0], mc.Method.Name), GetArray(mc.Arguments[1]), mc.Type); 1927mc.Method.DeclaringType != typeof(string) 1928&& mc.Method.Name == "Contains" 1929&& !mc.Method.IsStatic 1930&& typeof(IList).IsAssignableFrom(mc.Method.DeclaringType) 1933&& TypeSystem.GetElementType(mc.Method.DeclaringType).IsAssignableFrom(mc.Arguments[0].Type) 1944return sql.MethodCall(mc.Method, obj, args, dominatingExpression); 1988MetaFunction function = services.Model.GetFunction(mc.Method); 1994MetaFunction function = services.Model.GetFunction(mc.Method); 2006: this.typeProvider.From(mc.Method.ReturnType); 2008return sql.FunctionCall(mc.Method.ReturnType, sqlType, function.MappedName, sqlParams, mc); 2014Type declType = mc.Method.DeclaringType; 2023if (IsSequenceOperatorCall(mc) && mc.Method.Name == methodName) { 2032Type declType = mc.Method.DeclaringType; 2035switch (mc.Method.Name) { 2082Type ofType = mc.Method.GetGenericArguments()[0]; 2089Type type = mc.Method.GetGenericArguments()[0]; 2310throw Error.QueryOperatorOverloadNotSupported(mc.Method.Name); 2312throw Error.QueryOperatorNotSupported(mc.Method.Name); 2320return mc.Method.IsStatic && mc.Method.DeclaringType == typeof(DataManipulation); 2326switch (mc.Method.Name) { 2342if (mc.Method.GetGenericArguments().Length == 1) { 2364throw Error.QueryOperatorOverloadNotSupported(mc.Method.Name); 2366throw Error.QueryOperatorNotSupported(mc.Method.Name); 2368throw Error.InvalidSequenceOperatorCall(mc.Method.Name);
SqlClient\SqlProvider.cs (14)
1061mce.Method.DeclaringType == typeof(Queryable) || 1062mce.Method.DeclaringType == typeof(Enumerable)) 1064switch (mce.Method.Name) { 1068sequenceMethod = TypeSystem.FindSequenceMethod(mce.Method.Name, sequence); 1146if (mc != null && typeof(DataContext).IsAssignableFrom(mc.Method.DeclaringType)) { 1147return this.services.Model.GetFunction(mc.Method); 1348if (mce.Method.DeclaringType == typeof(Queryable) || 1349mce.Method.DeclaringType == typeof(Enumerable)) { 1350switch (mce.Method.Name) { 1360else if (mce.Method.DeclaringType == typeof(DataContext)) { 1361if (mce.Method.Name == "ExecuteCommand") { 1365else if (mce.Method.DeclaringType.IsSubclassOf(typeof(DataContext))) { 1376else if (mce.Method.DeclaringType == typeof(DataManipulation) && mce.Method.ReturnType == typeof(int)) {
System.Data.Services (9)
parent\Client\System\Data\Services\Client\ALinq\ALinqExpressionVisitor.cs (1)
333return Expression.Call(obj, m.Method, args);
System\Data\Services\Internal\PropertyAccessVisitor.cs (5)
39if ((m.Method.IsGenericMethod && 40m.Method.GetGenericMethodDefinition() == DataServiceProviderMethods.GetSequenceValueMethodInfo) || 41(m.Method == DataServiceProviderMethods.GetValueMethodInfo)) 53else if (m.Method == OpenTypeMethods.GetValueOpenPropertyMethodInfo) 74return Expression.Call(m.Object, m.Method, operand, m.Arguments[1]);
System\Data\Services\Parsing\RequestQueryParser.cs (1)
1237return ((MethodCallExpression)input).Method.DeclaringType == typeof(OpenTypeMethods);
System\Data\Services\Providers\BasicExpandProvider.cs (2)
1154call.Method.Name == "Select", 1155call.Method.Name + " == 'Select' -- otherwise last expression must be a .Select projection.");
System.Data.Services.Client (75)
System\Data\Services\Client\ALinq\ALinqExpressionVisitor.cs (1)
333return Expression.Call(obj, m.Method, args);
System\Data\Services\Client\ALinq\DataServiceQueryProvider.cs (1)
109if (ReflectionUtil.TryIdentifySequenceMethod(mce.Method, out sequenceMethod))
System\Data\Services\Client\ALinq\ExpressionNormalizer.cs (38)
249if (visited.Method.IsStatic && visited.Method.Name.StartsWith("op_", StringComparison.Ordinal)) 257switch (visited.Method.Name) 260return Expression.Equal(visited.Arguments[0], visited.Arguments[1], LiftToNull, visited.Method); 263return Expression.NotEqual(visited.Arguments[0], visited.Arguments[1], LiftToNull, visited.Method); 266return Expression.GreaterThan(visited.Arguments[0], visited.Arguments[1], LiftToNull, visited.Method); 269return Expression.GreaterThanOrEqual(visited.Arguments[0], visited.Arguments[1], LiftToNull, visited.Method); 272return Expression.LessThan(visited.Arguments[0], visited.Arguments[1], LiftToNull, visited.Method); 275return Expression.LessThanOrEqual(visited.Arguments[0], visited.Arguments[1], LiftToNull, visited.Method); 278return Expression.Multiply(visited.Arguments[0], visited.Arguments[1], visited.Method); 281return Expression.Subtract(visited.Arguments[0], visited.Arguments[1], visited.Method); 284return Expression.Add(visited.Arguments[0], visited.Arguments[1], visited.Method); 287return Expression.Divide(visited.Arguments[0], visited.Arguments[1], visited.Method); 290return Expression.Modulo(visited.Arguments[0], visited.Arguments[1], visited.Method); 293return Expression.And(visited.Arguments[0], visited.Arguments[1], visited.Method); 296return Expression.Or(visited.Arguments[0], visited.Arguments[1], visited.Method); 299return Expression.ExclusiveOr(visited.Arguments[0], visited.Arguments[1], visited.Method); 312switch (visited.Method.Name) 315return Expression.Negate(visited.Arguments[0], visited.Method); 318return Expression.UnaryPlus(visited.Arguments[0], visited.Method); 322return Expression.Convert(visited.Arguments[0], visited.Type, visited.Method); 326return Expression.Not(visited.Arguments[0], visited.Method); 335if (visited.Method.IsStatic && visited.Method.Name == "Equals" && visited.Arguments.Count > 1) 340return Expression.Equal(visited.Arguments[0], visited.Arguments[1], false, visited.Method); 344if (!visited.Method.IsStatic && visited.Method.Name == "Equals" && visited.Arguments.Count > 0) 353if (visited.Method.IsStatic && visited.Method.Name == "CompareString" && visited.Method.DeclaringType.FullName == "Microsoft.VisualBasic.CompilerServices.Operators") 362if (!visited.Method.IsStatic && visited.Method.Name == "CompareTo" && visited.Arguments.Count == 1 && visited.Method.ReturnType == typeof(int)) 371if (visited.Method.IsStatic && visited.Method.Name == "Compare" && visited.Arguments.Count > 1 && visited.Method.ReturnType == typeof(int)) 404result = Expression.Call(callExpression.Object, callExpression.Method, normalizedArguments); 432ReflectionUtil.TryIdentifySequenceMethod(callExpression.Method, out sequenceMethod))
System\Data\Services\Client\ALinq\ExpressionWriter.cs (2)
200if (TypeSystem.TryGetQueryOptionMethod(m.Method, out methodName)) 210Debug.Assert(m.Method.Name == "Contains", "m.Method.Name == 'Contains'");
System\Data\Services\Client\ALinq\ProjectionAnalyzer.cs (4)
122ReflectionUtil.IsSequenceMethod(call.Method, SequenceMethod.ToList) || 123ReflectionUtil.IsSequenceMethod(call.Method, SequenceMethod.Select); 134if (ReflectionUtil.IsSequenceMethod(call.Method, SequenceMethod.Select)) 139if (insideCall != null && ReflectionUtil.IsSequenceMethod(insideCall.Method, SequenceMethod.Select))
System\Data\Services\Client\ALinq\ResourceBinder.cs (18)
110if (call != null && call.Method.Name == "SelectMany") 130Debug.Assert(mce.Method.Name == "Where", "mce.Method.Name == 'Where' -- otherwise this isn't a predicate"); 268AddSequenceQueryOption(input, new FilterQueryOptionExpression(mce.Method.ReturnType, newFilter)); 527ResourceExpression resultSelectorSource = CreateResourceSetExpression(mce.Method.ReturnType, source, collectorReference, TypeSystem.GetElementType(collectorReference.Type)); 617return RemoveTransparentScope(mce.Method.ReturnType, (ResourceSetExpression)input); 624return CreateNavigationPropertySingletonExpression(mce.Method.ReturnType, navSource, boundProjection); 680rse = CreateResourceSetExpression(mce.Method.ReturnType, input, navPropRef, resourceType); 819return re.CreateCloneWithNewType(mce.Method.ReturnType); 1209if (ReflectionUtil.TryIdentifySequenceMethod(mce.Method, out sequenceMethod)) 1228if (ReflectionUtil.TryIdentifySequenceMethod(mce.Method, out sequenceMethod)) 1272else if (mce.Method.DeclaringType.IsGenericType && 1273mce.Method.DeclaringType.GetGenericTypeDefinition() == typeof(DataServiceQuery<>)) 1275Type t = typeof(DataServiceQuery<>).MakeGenericType(mce.Method.DeclaringType.GetGenericArguments()[0]); 1277if (mce.Method == t.GetMethod("Expand", new Type[] { typeof(string) })) 1281else if (mce.Method == t.GetMethod("AddQueryOption", new Type[] { typeof(string), typeof(object) })) 1285else if (mce.Method == t.GetMethod("IncludeTotalCount")) 1313while (call != null && ReflectionUtil.IsSequenceMethod(call.Method, SequenceMethod.Cast)) 1571return call.Method == typeof(object).GetMethod("ReferenceEquals");
System\Data\Services\Client\Error.cs (1)
191return Error.NotSupported(Strings.ALinq_MethodNotSupported(m.Method.Name));
System\Data\Services\Client\MemberAssignmentAnalysis.cs (1)
246if (ReflectionUtil.IsSequenceMethod(call.Method, SequenceMethod.Select))
System\Data\Services\Client\ProjectionPlanCompiler.cs (9)
293if (m.Method.Name == "Select") 297else if (m.Method.Name == "ToList") 303Debug.Assert(m.Method.Name == "ReferenceEquals", "We don't know how to handle this method, ProjectionAnalyzer updated?"); 952Debug.Assert(call.Method.Name == "Select", "call.Method.Name == 'Select'"); 976Type returnElementType = call.Method.ReturnType.GetGenericArguments()[0]; 1014Debug.Assert(call.Method.Name == "ToList", "call.Method.Name == 'ToList'"); 1046if (call.Method.Name == "Select") 1065Type returnElementType = call.Method.ReturnType.GetGenericArguments()[0]; 1084Debug.Assert(call.Method.Name == "ToList", "call.Method.Name == 'ToList'");
System.Web (3)
Util\QueryableUtility.cs (3)
13if (call.Method.IsStatic && call.Method.DeclaringType == typeof(Queryable)) { 14return call.Method.GetGenericMethodDefinition();