9 types derived from MethodCallExpression
System.Core (9)
Microsoft\Scripting\Ast\MethodCallExpression.cs (9)
142
internal class MethodCallExpressionN :
MethodCallExpression
, IArgumentProvider {
172
internal class InstanceMethodCallExpressionN :
MethodCallExpression
, IArgumentProvider {
208
internal class MethodCallExpression1 :
MethodCallExpression
, IArgumentProvider {
245
internal class MethodCallExpression2 :
MethodCallExpression
, IArgumentProvider {
284
internal class MethodCallExpression3 :
MethodCallExpression
, IArgumentProvider {
325
internal class MethodCallExpression4 :
MethodCallExpression
, IArgumentProvider {
368
internal class MethodCallExpression5 :
MethodCallExpression
, IArgumentProvider {
414
internal class InstanceMethodCallExpression2 :
MethodCallExpression
, IArgumentProvider {
461
internal class InstanceMethodCallExpression3 :
MethodCallExpression
, IArgumentProvider {
298 references to MethodCallExpression
System.Activities (51)
Microsoft\VisualBasic\Activities\VisualBasicDesignerHelper.cs (4)
506
MethodCallExpression
arrayIndex = expression as
MethodCallExpression
;
523
MethodCallExpression
methodCall = (
MethodCallExpression
)expression;
Microsoft\VisualBasic\Activities\VisualBasicHelper.cs (8)
926
MethodCallExpression
arrayIndex = expression as
MethodCallExpression
;
963
MethodCallExpression
methodCall = (
MethodCallExpression
)expression;
1272
MethodCallExpression
arrayIndex = expression as
MethodCallExpression
;
1281
MethodCallExpression
methodCall = (
MethodCallExpression
)expression;
System\Activities\Expressions\ExpressionServices.cs (15)
79
MethodCallExpression
methodCallExpressionBody = body as
MethodCallExpression
;
192
MethodCallExpression
methodCallExpressionBody = body as
MethodCallExpression
;
238
static string TryConvertIndexerReference<TResult>(
MethodCallExpression
methodCallExpressionBody, bool throwOnError, out Activity<Location<TResult>> result)
266
static string TryConvertIndexerReferenceWorker<TOperand, TResult>(
MethodCallExpression
methodCallExpressionBody, bool throwOnError, out Activity<Location<TResult>> result)
312
static string TryConvertMultiDimensionalArrayItemReference<TResult>(
MethodCallExpression
methodCallExpression, bool throwOnError, out Activity<Location<TResult>> result)
349
static string TryConvertVariableReference<TResult>(
MethodCallExpression
methodCallExpression, bool throwOnError, out Activity<Location<TResult>> result)
496
static string TryConvertVariableValue<TResult>(
MethodCallExpression
methodCallExpression, bool throwOnError, out Activity<TResult> result)
574
static string TryConvertDelegateArgumentValue<TResult>(
MethodCallExpression
methodCallExpression, bool throwOnError, out Activity<TResult> result)
629
static string TryConvertDelegateArgumentReference<TResult>(
MethodCallExpression
methodCallExpression, bool throwOnError, out Activity<Location<TResult>> result)
748
static string TryConvertArgumentReference<TResult>(
MethodCallExpression
methodCallExpression, bool throwOnError, out Activity<Location<TResult>> result)
1233
static string TryConvertMethodCallExpression<TResult>(
MethodCallExpression
methodCallExpression, bool throwOnError, out Activity<TResult> result)
1484
static string TryConvertLocationReference<TResult>(
MethodCallExpression
methodCallExpression, bool throwOnError, out Activity<TResult> result)
1542
static string TryConvertReferenceLocationReference<TResult>(
MethodCallExpression
methodCallExpression, bool throwOnError, out Activity<Location<TResult>> result)
System\Activities\Expressions\MethodCallExpressionHelper.cs (4)
62
static
MethodCallExpression
PrepareForCallExpression(MethodInfo methodInfo, ParameterExpression targetInstance, Collection<ParameterExpression> variables)
64
MethodCallExpression
callExpression;
76
static
MethodCallExpression
PrepareForCallExpression(MethodInfo methodInfo, ParameterExpression targetInstance,
79
MethodCallExpression
callExpression;
System\Activities\ExpressionUtilities.cs (20)
121
MethodCallExpression
callExpression = (
MethodCallExpression
)body;
187
MethodCallExpression
callExpression = (
MethodCallExpression
)body;
497
MethodCallExpression
callExpression = (
MethodCallExpression
)expression.Body;
663
MethodCallExpression
callExpression = (
MethodCallExpression
)expression.Body;
893
MethodCallExpression
methodCall = null;
1038
methodCall = expression as
MethodCallExpression
;
1068
methodCall = (
MethodCallExpression
)expression;
1378
static bool TryGetInlinedArgumentReference(
MethodCallExpression
originalExpression, Expression argumentExpression, out LocationReference inlinedReference, CodeActivityPublicEnvironmentAccessor publicAccessor, bool isLocationExpression)
1442
static bool TryRewriteArgumentGetCall(
MethodCallExpression
originalExpression, Type returnType, out Expression newExpression, CodeActivityPublicEnvironmentAccessor publicAccessor, bool isLocationExpression)
1468
static bool TryRewriteArgumentGetLocationCall(
MethodCallExpression
originalExpression, Type returnType, out Expression newExpression, CodeActivityPublicEnvironmentAccessor publicAccessor)
1502
static bool TryRewriteLocationReferenceSubclassGetCall(
MethodCallExpression
originalExpression, Type returnType, out Expression newExpression, CodeActivityPublicEnvironmentAccessor publicAccessor, bool isLocationExpression)
1528
static bool TryRewriteLocationReferenceSubclassGetLocationCall(
MethodCallExpression
originalExpression, Type returnType, out Expression newExpression, CodeActivityPublicEnvironmentAccessor publicAccessor)
1616
static bool TryGetInlinedLocationReference(
MethodCallExpression
originalExpression, Expression locationReferenceExpression, out LocationReference inlinedReference, CodeActivityPublicEnvironmentAccessor publicAccessor, bool isLocationExpression)
1662
static bool TryRewriteActivityContextGetValueCall(
MethodCallExpression
originalExpression, Type returnType, out Expression newExpression, CodeActivityPublicEnvironmentAccessor publicAccessor, bool isLocationExpression)
1704
static bool TryRewriteActivityContextGetLocationCall(
MethodCallExpression
originalExpression, Type returnType, out Expression newExpression, CodeActivityPublicEnvironmentAccessor publicAccessor)
1736
static bool TryRewriteMethodCall(
MethodCallExpression
methodCall, out Expression newExpression, CodeActivityPublicEnvironmentAccessor publicAccessor, bool isLocationExpression)
System.Core (53)
Microsoft\Scripting\Actions\CallSite.cs (1)
449
var
onMatch = Expression.Call(
Microsoft\Scripting\Ast\DebugViewWriter.cs (1)
772
protected internal override Expression VisitMethodCall(
MethodCallExpression
node) {
Microsoft\Scripting\Ast\Expression.cs (1)
167
/// example, <see cref="
MethodCallExpression
" /> will call into
Microsoft\Scripting\Ast\Expression.DebuggerProxy.cs (2)
301
private readonly
MethodCallExpression
_node;
303
public MethodCallExpressionProxy(
MethodCallExpression
node) {
Microsoft\Scripting\Ast\ExpressionStringBuilder.cs (1)
517
protected internal override Expression VisitMethodCall(
MethodCallExpression
node) {
Microsoft\Scripting\Ast\ExpressionVisitor.cs (2)
408
/// Visits the children of the <see cref="
MethodCallExpression
" />.
413
protected internal virtual Expression VisitMethodCall(
MethodCallExpression
node) {
Microsoft\Scripting\Ast\MethodCallExpression.cs (33)
97
public
MethodCallExpression
Update(Expression @object, IEnumerable<Expression> arguments) {
123
internal virtual
MethodCallExpression
Rewrite(Expression instance, IList<Expression> args) {
164
internal override
MethodCallExpression
Rewrite(Expression instance, IList<Expression> args) {
200
internal override
MethodCallExpression
Rewrite(Expression instance, IList<Expression> args) {
233
internal override
MethodCallExpression
Rewrite(Expression instance, IList<Expression> args) {
273
internal override
MethodCallExpression
Rewrite(Expression instance, IList<Expression> args) {
314
internal override
MethodCallExpression
Rewrite(Expression instance, IList<Expression> args) {
357
internal override
MethodCallExpression
Rewrite(Expression instance, IList<Expression> args) {
402
internal override
MethodCallExpression
Rewrite(Expression instance, IList<Expression> args) {
450
internal override
MethodCallExpression
Rewrite(Expression instance, IList<Expression> args) {
499
internal override
MethodCallExpression
Rewrite(Expression instance, IList<Expression> args) {
522
public static
MethodCallExpression
Call(MethodInfo method, Expression arg0) {
542
public static
MethodCallExpression
Call(MethodInfo method, Expression arg0, Expression arg1) {
565
public static
MethodCallExpression
Call(MethodInfo method, Expression arg0, Expression arg1, Expression arg2) {
591
public static
MethodCallExpression
Call(MethodInfo method, Expression arg0, Expression arg1, Expression arg2, Expression arg3) {
621
public static
MethodCallExpression
Call(MethodInfo method, Expression arg0, Expression arg1, Expression arg2, Expression arg3, Expression arg4) {
643
/// Creates a <see cref="
MethodCallExpression
" /> that represents a call to a static (Shared in Visual Basic) method.
648
public static
MethodCallExpression
Call(MethodInfo method, params Expression[] arguments) {
653
/// Creates a <see cref="
MethodCallExpression
" /> that represents a call to a static (Shared in Visual Basic) method.
658
public static
MethodCallExpression
Call(MethodInfo method, IEnumerable<Expression> arguments) {
663
/// Creates a <see cref="
MethodCallExpression
" /> that represents a call to a method that takes no arguments.
668
public static
MethodCallExpression
Call(Expression instance, MethodInfo method) {
673
/// Creates a <see cref="
MethodCallExpression
" /> that represents a method call.
679
public static
MethodCallExpression
Call(Expression instance, MethodInfo method, params Expression[] arguments) {
684
/// Creates a <see cref="
MethodCallExpression
" /> that represents a call to a method that takes two arguments.
691
public static
MethodCallExpression
Call(Expression instance, MethodInfo method, Expression arg0, Expression arg1) {
711
/// Creates a <see cref="
MethodCallExpression
" /> that represents a call to a method that takes three arguments.
719
public static
MethodCallExpression
Call(Expression instance, MethodInfo method, Expression arg0, Expression arg1, Expression arg2) {
751
public static
MethodCallExpression
Call(Expression instance, string methodName, Type[] typeArguments, params Expression[] arguments) {
774
public static
MethodCallExpression
Call(Type type, string methodName, Type[] typeArguments, params Expression[] arguments) {
792
public static
MethodCallExpression
Call(Expression instance, MethodInfo method, IEnumerable<Expression> arguments) {
1013
public static
MethodCallExpression
ArrayIndex(Expression array, params Expression[] indexes) {
1025
public static
MethodCallExpression
ArrayIndex(Expression array, IEnumerable<Expression> indexes) {
Microsoft\Scripting\Compiler\LambdaCompiler.Address.cs (2)
64
AddressOf((
MethodCallExpression
)node, type);
163
private void AddressOf(
MethodCallExpression
node, Type type) {
Microsoft\Scripting\Compiler\LambdaCompiler.Binary.cs (1)
104
MethodCallExpression
mc = Expression.Call(null, b.Method, p1, p2);
Microsoft\Scripting\Compiler\LambdaCompiler.Expressions.cs (3)
305
MethodCallExpression
node = (
MethodCallExpression
)expr;
937
private void EmitLift(ExpressionType nodeType, Type resultType,
MethodCallExpression
mc, ParameterExpression[] paramList, Expression[] argList) {
Microsoft\Scripting\Compiler\LambdaCompiler.Unary.cs (1)
338
MethodCallExpression
mc = Expression.Call(node.Method, v);
Microsoft\Scripting\Compiler\StackSpiller.cs (2)
410
MethodCallExpression
node = (
MethodCallExpression
)expr;
System\Linq\Expressions\ExpressionVisitor.cs (2)
68
return this.VisitMethodCall((
MethodCallExpression
)exp);
163
internal virtual Expression VisitMethodCall(
MethodCallExpression
m) {
System\Linq\SequenceQuery.cs (1)
191
internal override Expression VisitMethodCall(
MethodCallExpression
m) {
System.Data.Entity (91)
System\Data\Common\Internal\Materialization\CoordinatorScratchpad.cs (5)
394
var
test = c.Test as
MethodCallExpression
;
395
var
ifFalse = c.IfFalse as
MethodCallExpression
;
487
internal override Expression VisitMethodCall(
MethodCallExpression
m)
System\Data\Objects\ELinq\EntityExpressionVisitor.cs (2)
77
return this.VisitMethodCall((
MethodCallExpression
)exp);
190
internal virtual Expression VisitMethodCall(
MethodCallExpression
m)
System\Data\Objects\ELinq\ExpressionConverter.cs (5)
878
private LambdaExpression GetLambdaExpression(
MethodCallExpression
callExpression, int argumentOrdinal)
1353
private DbExpression TranslateFunctionIntoLike(
MethodCallExpression
call, bool insertPercentAtStart, bool insertPercentAtEnd, Func<ExpressionConverter,
MethodCallExpression
, DbExpression, DbExpression, DbExpression> defaultTranslator)
1531
MethodInfo methodInfo = ((
MethodCallExpression
)Expression).Method;
1552
MethodInfo methodInfo = ((
MethodCallExpression
)Expression).Method;
System\Data\Objects\ELinq\LinqExpressionNormalizer.cs (6)
136
internal override Expression VisitMethodCall(
MethodCallExpression
m)
138
m = (
MethodCallExpression
)base.VisitMethodCall(m);
310
private static
MethodCallExpression
NormalizePredicateArgument(
MethodCallExpression
callExpression)
312
MethodCallExpression
result;
342
private static bool HasPredicateArgument(
MethodCallExpression
callExpression, out int argumentOrdinal)
System\Data\Objects\ELinq\MethodCallTranslator.cs (66)
30
private sealed partial class MethodCallTranslator : TypedTranslator<
MethodCallExpression
>
34
protected override CqtExpression TypedTranslate(ExpressionConverter parent,
MethodCallExpression
linq)
325
internal abstract CqtExpression Translate(ExpressionConverter parent,
MethodCallExpression
call);
379
internal override CqtExpression Translate(ExpressionConverter parent,
MethodCallExpression
call)
432
internal override DbExpression Translate(ExpressionConverter parent,
MethodCallExpression
call)
468
internal override DbExpression Translate(ExpressionConverter parent,
MethodCallExpression
call)
504
internal override DbExpression Translate(ExpressionConverter parent,
MethodCallExpression
call)
521
internal override CqtExpression Translate(ExpressionConverter parent,
MethodCallExpression
call)
599
internal DbExpression TranslateFunctionCall(ExpressionConverter parent,
MethodCallExpression
call, EdmFunctionAttribute functionAttribute)
728
private DbExpression ValidateReturnType(DbExpression result, TypeUsage actualReturnType, ExpressionConverter parent,
MethodCallExpression
call, Type clrReturnType, bool isElementOfCollection)
803
internal static void ValidateFunctionAttributeParameter(
MethodCallExpression
call, string parameterValue, string parameterName)
857
internal override CqtExpression Translate(ExpressionConverter parent,
MethodCallExpression
call)
889
internal override CqtExpression Translate(ExpressionConverter parent,
MethodCallExpression
call)
945
internal override DbExpression Translate(ExpressionConverter parent,
MethodCallExpression
call)
965
internal override DbExpression Translate(ExpressionConverter parent,
MethodCallExpression
call)
989
internal override CqtExpression Translate(ExpressionConverter parent,
MethodCallExpression
call)
996
private static DbExpression CreateDefaultTranslation(ExpressionConverter parent,
MethodCallExpression
call, DbExpression patternExpression, DbExpression inputExpression)
1015
internal override CqtExpression Translate(ExpressionConverter parent,
MethodCallExpression
call)
1041
internal override CqtExpression Translate(ExpressionConverter parent,
MethodCallExpression
call)
1048
private static DbExpression CreateDefaultTranslation(ExpressionConverter parent,
MethodCallExpression
call, DbExpression patternExpression, DbExpression inputExpression)
1072
internal override CqtExpression Translate(ExpressionConverter parent,
MethodCallExpression
call)
1079
private static DbExpression CreateDefaultTranslation(ExpressionConverter parent,
MethodCallExpression
call, DbExpression patternExpression, DbExpression inputExpression)
1104
internal override CqtExpression Translate(ExpressionConverter parent,
MethodCallExpression
call)
1143
internal override CqtExpression Translate(ExpressionConverter parent,
MethodCallExpression
call)
1222
internal override CqtExpression Translate(ExpressionConverter parent,
MethodCallExpression
call)
1265
internal override CqtExpression Translate(ExpressionConverter parent,
MethodCallExpression
call)
1298
internal override CqtExpression Translate(ExpressionConverter parent,
MethodCallExpression
call)
1325
internal override CqtExpression Translate(ExpressionConverter parent,
MethodCallExpression
call)
1422
internal override CqtExpression Translate(ExpressionConverter parent,
MethodCallExpression
call)
1456
internal override CqtExpression Translate(ExpressionConverter parent,
MethodCallExpression
call)
1497
internal override CqtExpression Translate(ExpressionConverter parent,
MethodCallExpression
call)
1526
internal virtual CqtExpression Translate(ExpressionConverter parent,
MethodCallExpression
call, SequenceMethod sequenceMethod)
1530
internal abstract CqtExpression Translate(ExpressionConverter parent,
MethodCallExpression
call);
1539
protected override CqtExpression TranslateUnary(ExpressionConverter parent, CqtExpression operand,
MethodCallExpression
call)
1572
internal override CqtExpression Translate(ExpressionConverter parent,
MethodCallExpression
call)
1667
internal override CqtExpression Translate(ExpressionConverter parent,
MethodCallExpression
call)
1745
internal override CqtExpression Translate(ExpressionConverter parent,
MethodCallExpression
call)
1786
protected virtual TypeUsage GetReturnType(ExpressionConverter parent,
MethodCallExpression
call)
1820
protected virtual EdmFunction FindFunction(ExpressionConverter parent,
MethodCallExpression
call,
1861
protected override TypeUsage GetReturnType(ExpressionConverter parent,
MethodCallExpression
call)
1904
protected override TypeUsage GetReturnType(ExpressionConverter parent,
MethodCallExpression
call)
1995
protected override EdmFunction FindFunction(ExpressionConverter parent,
MethodCallExpression
call,
2021
internal override CqtExpression Translate(ExpressionConverter parent,
MethodCallExpression
call)
2038
protected abstract CqtExpression TranslateUnary(ExpressionConverter parent, CqtExpression operand,
MethodCallExpression
call);
2043
protected override CqtExpression TranslateUnary(ExpressionConverter parent, CqtExpression operand,
MethodCallExpression
call)
2062
MethodCallExpression
call)
2086
MethodCallExpression
call)
2095
MethodCallExpression
call)
2104
internal override CqtExpression Translate(ExpressionConverter parent,
MethodCallExpression
call)
2113
protected CqtExpression Translate(ExpressionConverter parent,
MethodCallExpression
call, out CqtExpression source, out DbExpressionBinding sourceBinding, out CqtExpression lambda)
2155
internal override CqtExpression Translate(ExpressionConverter parent,
MethodCallExpression
call)
2175
internal override DbExpression Translate(ExpressionConverter parent,
MethodCallExpression
call)
2227
internal override DbExpression Translate(ExpressionConverter parent,
MethodCallExpression
call)
2298
protected override CqtExpression TranslateUnary(ExpressionConverter parent, CqtExpression operand,
MethodCallExpression
call)
2348
protected override CqtExpression TranslateUnary(ExpressionConverter parent, CqtExpression operand,
MethodCallExpression
call)
2365
protected override CqtExpression TranslateUnary(ExpressionConverter parent, CqtExpression operand,
MethodCallExpression
call)
2401
internal override CqtExpression Translate(ExpressionConverter parent,
MethodCallExpression
call)
2441
internal override CqtExpression Translate(ExpressionConverter parent,
MethodCallExpression
call)
2458
internal override CqtExpression Translate(ExpressionConverter parent,
MethodCallExpression
call)
2485
internal override CqtExpression Translate(ExpressionConverter parent,
MethodCallExpression
call)
2715
internal override CqtExpression Translate(ExpressionConverter parent,
MethodCallExpression
call)
2741
internal override CqtExpression Translate(ExpressionConverter parent,
MethodCallExpression
call, SequenceMethod sequenceMethod)
2806
private static DbExpression ProcessResultSelector(ExpressionConverter parent,
MethodCallExpression
call, SequenceMethod sequenceMethod, CqtExpression topLevelProject, DbExpression result)
2838
internal override DbExpression Translate(ExpressionConverter parent,
MethodCallExpression
call)
2850
internal override CqtExpression Translate(ExpressionConverter parent,
MethodCallExpression
call)
3012
internal override CqtExpression Translate(ExpressionConverter parent,
MethodCallExpression
call)
System\Data\Objects\ELinq\ReflectionUtil.cs (3)
385
/// <c>true</c> if <paramref name="expression"/> is a <see cref="
MethodCallExpression
"/>
397
MethodCallExpression
methodCall = (
MethodCallExpression
)expression;
System\Data\Objects\ELinq\SpatialMethodCallTranslator.cs (4)
31
: TypedTranslator<
MethodCallExpression
>
45
MethodInfo method = ((
MethodCallExpression
)lambda.Body).Method;
54
MethodInfo method = ((
MethodCallExpression
)lambda.Body).Method;
227
internal override DbExpression Translate(ExpressionConverter parent,
MethodCallExpression
call)
System.Data.Linq (33)
DataServices.cs (4)
472
MethodCallExpression
mc = query as
MethodCallExpression
;
536
MethodCallExpression
mex = expr as
MethodCallExpression
;
DataShape.cs (2)
196
internal override Expression VisitMethodCall(
MethodCallExpression
m) {
270
internal override Expression VisitMethodCall(
MethodCallExpression
m) {
SqlClient\Query\Funcletizer.cs (3)
131
internal override Expression VisitMethodCall(
MethodCallExpression
m) {
195
return this.VisitMethodCall((
MethodCallExpression
)exp);
290
internal virtual Expression VisitMethodCall(
MethodCallExpression
m) {
SqlClient\Query\QueryConverter.cs (18)
207
return this.VisitMethodCall((
MethodCallExpression
)node);
248
if (next is
MethodCallExpression
) {
251
if (last is
MethodCallExpression
) {
938
MethodCallExpression
mce = sequence as
MethodCallExpression
;
1160
private SqlNode TranslateTableValuedFunction(
MethodCallExpression
mce, MetaFunction function) {
1178
private SqlNode TranslateStoredProcedureCall(
MethodCallExpression
mce, MetaFunction function) {
1216
private List<SqlExpression> GetFunctionParameters(
MethodCallExpression
mce, MetaFunction function) {
1644
MethodCallExpression
mce = sequence as
MethodCallExpression
;
1875
private SqlNode VisitMethodCall(
MethodCallExpression
mc) {
1987
private bool IsMappedFunctionCall(
MethodCallExpression
mc) {
1992
private SqlNode VisitMappedFunctionCall(
MethodCallExpression
mc) {
2013
private bool IsSequenceOperatorCall(
MethodCallExpression
mc) {
2022
private bool IsSequenceOperatorCall(
MethodCallExpression
mc, string methodName) {
2031
private SqlNode VisitSequenceOperatorCall(
MethodCallExpression
mc) {
2319
private static bool IsDataManipulationCall(
MethodCallExpression
mc) {
2323
private SqlNode VisitDataManipulationCall(
MethodCallExpression
mc) {
SqlClient\SqlProvider.cs (6)
1058
MethodCallExpression
mce = query as
MethodCallExpression
;
1145
MethodCallExpression
mc = query as
MethodCallExpression
;
1345
MethodCallExpression
mce = query as
MethodCallExpression
;
System.Data.Services (6)
parent\Client\System\Data\Services\Client\ALinq\ALinqExpressionVisitor.cs (2)
156
return this.VisitMethodCall((
MethodCallExpression
)exp);
327
internal virtual Expression VisitMethodCall(
MethodCallExpression
m)
System\Data\Services\Internal\PropertyAccessVisitor.cs (1)
34
internal override Expression VisitMethodCall(
MethodCallExpression
m)
System\Data\Services\Parsing\RequestQueryParser.cs (1)
1237
return ((
MethodCallExpression
)input).Method.DeclaringType == typeof(OpenTypeMethods);
System\Data\Services\Providers\BasicExpandProvider.cs (2)
1147
MethodCallExpression
call = this.BuildProjectionExpression(query.Expression) as
MethodCallExpression
;
System.Data.Services.Client (59)
System\Data\Services\Client\ALinq\ALinqExpressionVisitor.cs (2)
156
return this.VisitMethodCall((
MethodCallExpression
)exp);
327
internal virtual Expression VisitMethodCall(
MethodCallExpression
m)
System\Data\Services\Client\ALinq\DataServiceQueryProvider.cs (2)
105
MethodCallExpression
mce = expression as
MethodCallExpression
;
System\Data\Services\Client\ALinq\ExpressionNormalizer.cs (9)
231
internal override Expression VisitMethodCall(
MethodCallExpression
call)
244
internal Expression VisitMethodCallNoRewrite(
MethodCallExpression
call)
246
MethodCallExpression
visited = (
MethodCallExpression
)base.VisitMethodCall(call);
380
MethodCallExpression
normalizedResult = NormalizePredicateArgument(visited);
390
private static
MethodCallExpression
NormalizePredicateArgument(
MethodCallExpression
callExpression)
392
MethodCallExpression
result;
422
private static bool HasPredicateArgument(
MethodCallExpression
callExpression, out int argumentOrdinal)
System\Data\Services\Client\ALinq\ExpressionWriter.cs (1)
197
internal override Expression VisitMethodCall(
MethodCallExpression
m)
System\Data\Services\Client\ALinq\ProjectionAnalyzer.cs (8)
112
/// Checks whether the specified <see cref="
MethodCallExpression
"/> refers
118
internal static bool IsMethodCallAllowedEntitySequence(
MethodCallExpression
call)
127
/// Checks whether the specified <see cref="
MethodCallExpression
"/> refers
132
internal static void CheckChainedSequence(
MethodCallExpression
call, Type type)
138
MethodCallExpression
insideCall = ResourceBinder.StripTo<
MethodCallExpression
>(call.Arguments[0]);
417
internal override Expression VisitMethodCall(
MethodCallExpression
m)
651
internal override Expression VisitMethodCall(
MethodCallExpression
m)
System\Data\Services\Client\ALinq\ResourceBinder.cs (30)
109
MethodCallExpression
call = StripTo<
MethodCallExpression
>(projection.Selector.Body);
123
/// <param name="mce"><see cref="
MethodCallExpression
"/> for a Where call.</param>
127
private static Expression AnalyzePredicate(
MethodCallExpression
mce)
469
internal bool AnalyzeProjection(
MethodCallExpression
mce, SequenceMethod sequenceMethod, out Expression e)
598
internal static Expression AnalyzeNavigation(
MethodCallExpression
mce)
648
internal static Expression AnalyzeSelectMany(
MethodCallExpression
mce)
708
private static Expression AnalyzeSelectManySelector(
MethodCallExpression
selectManyCall, ResourceSetExpression sourceResourceSet)
751
internal static Expression ApplyOrdering(
MethodCallExpression
mce, ResourceSetExpression input, Expression selector, bool descending, bool thenBy)
773
/// <param name="mce"><see cref="
MethodCallExpression
"/> for the method to limit First/Single(OrDefault).</param>
779
private static Expression LimitCardinality(
MethodCallExpression
mce, int maxCardinality)
814
private static Expression AnalyzeCast(
MethodCallExpression
mce)
849
private static Expression AnalyzeExpand(
MethodCallExpression
mce)
869
private static Expression AnalyzeAddCustomQueryOption(
MethodCallExpression
mce)
899
private static Expression AnalyzeAddCountOption(
MethodCallExpression
mce, CountOption countOption)
1047
private static bool TryGetResourceSetMethodArguments(
MethodCallExpression
mce, out ResourceSetExpression input, out LambdaExpression lambda)
1074
private static Expression AnalyzeResourceSetMethod(
MethodCallExpression
mce, Func<
MethodCallExpression
, ResourceSetExpression, Expression, Expression> sequenceMethodAnalyzer)
1094
private static Expression AnalyzeResourceSetConstantMethod(
MethodCallExpression
mce, Func<
MethodCallExpression
, ResourceExpression, ConstantExpression, Expression> constantMethodAnalyzer)
1107
private static Expression AnalyzeCountMethod(
MethodCallExpression
mce)
1202
internal override Expression VisitMethodCall(
MethodCallExpression
mce)
1224
mce = e as
MethodCallExpression
;
1312
MethodCallExpression
call = StripTo<
MethodCallExpression
>(expression);
1316
call = StripTo<
MethodCallExpression
>(expression);
1565
MethodCallExpression
call = expression as
MethodCallExpression
;
2097
MethodCallExpression
call = (
MethodCallExpression
)expression;
System\Data\Services\Client\ALinq\UriWriter.cs (1)
77
internal override Expression VisitMethodCall(
MethodCallExpression
m)
System\Data\Services\Client\Error.cs (1)
189
internal static NotSupportedException MethodNotSupported(System.Linq.Expressions.
MethodCallExpression
m)
System\Data\Services\Client\MemberAssignmentAnalysis.cs (1)
242
internal override Expression VisitMethodCall(
MethodCallExpression
call)
System\Data\Services\Client\ProjectionPlanCompiler.cs (4)
277
internal override Expression VisitMethodCall(
MethodCallExpression
m)
949
private Expression RebindMethodCallForMemberSelect(
MethodCallExpression
call)
1010
private Expression RebindMethodCallForMemberToList(
MethodCallExpression
call)
1033
private Expression RebindMethodCallForNewSequence(
MethodCallExpression
call)
System.Web (3)
Util\OrderingMethodFinder.cs (1)
13
protected override Expression VisitMethodCall(
MethodCallExpression
node) {
Util\QueryableUtility.cs (2)
12
var
call = (
MethodCallExpression
)expression;
System.Web.DynamicData (2)
DynamicData\QueryableFilterUserControl.cs (1)
156
MethodCallExpression
whereCall = Expression.Call(typeof(Queryable), "Where", new Type[] { source.ElementType }, source.Expression, Expression.Quote(lambda));
DynamicData\Util\Misc.cs (1)
250
var
expression = Expression.Call(typeof(Queryable), ordering, new Type[] { query.ElementType, lambda.Body.Type }, query.Expression, lambda);