63 references to Arguments
Microsoft.AspNetCore.Components.Forms (3)
FieldIdentifier.cs (1)
141
fieldName = ExpressionFormatter.FormatIndexArgument(methodCallExpression.
Arguments
[0]);
src\Components\Shared\src\ExpressionFormatting\ExpressionFormatter.cs (2)
75
FormatIndexArgument(methodCallExpression.
Arguments
[0], ref builder);
145
if (expression is not MethodCallExpression methodExpression || methodExpression.
Arguments
.Count != 1)
Microsoft.AspNetCore.Components.Web (2)
src\Components\Shared\src\ExpressionFormatting\ExpressionFormatter.cs (2)
75
FormatIndexArgument(methodCallExpression.
Arguments
[0], ref builder);
145
if (expression is not MethodCallExpression methodExpression || methodExpression.
Arguments
.Count != 1)
Microsoft.AspNetCore.Http.Extensions.Tests (1)
ParameterBindingMethodCacheTests.cs (1)
113
Assert.True(((call.
Arguments
[1] as ConstantExpression)!.Value as CultureInfo)!.Equals(CultureInfo.InvariantCulture));
Microsoft.AspNetCore.JsonPatch (1)
JsonPatchDocumentOfT.cs (1)
690
listOfSegments.Add(EvaluateExpression(methodCallExpression.
Arguments
[0]));
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
ExpressionHelper.cs (2)
151
InsertIndexerInvocationText(builder, methodExpression.
Arguments
.Single(), expression);
237
if (!(expression is MethodCallExpression methodExpression) || methodExpression.
Arguments
.Count != 1)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (2)
ExpressionTrees\Sources\ExprLambdaUtils.vb (2)
347
Dim n As Integer = node.
Arguments
.Count
350
Visit(node.
Arguments
(i))
Microsoft.ML.Core (36)
Utilities\FuncInstanceMethodInfo1`2.cs (6)
71
Contracts.CheckParam(methodCallExpression.
Arguments
.Count == 2, nameof(expression), "Unexpected expression form");
72
Contracts.CheckParam(methodCallExpression.
Arguments
[0] is ConstantExpression, nameof(expression), "Unexpected expression form");
73
Contracts.CheckParam(((ConstantExpression)methodCallExpression.
Arguments
[0]).Type == typeof(Type), nameof(expression), "Unexpected expression form");
74
Contracts.CheckParam((Type)((ConstantExpression)methodCallExpression.
Arguments
[0]).Value == typeof(Func<TResult>), nameof(expression), "Unexpected expression form");
75
Contracts.CheckParam(methodCallExpression.
Arguments
[1] is ParameterExpression, nameof(expression), "Unexpected expression form");
76
Contracts.CheckParam(methodCallExpression.
Arguments
[1] == expression.Parameters[0], nameof(expression), "Unexpected expression form");
Utilities\FuncInstanceMethodInfo1`3.cs (6)
72
Contracts.CheckParam(methodCallExpression.
Arguments
.Count == 2, nameof(expression), "Unexpected expression form");
73
Contracts.CheckParam(methodCallExpression.
Arguments
[0] is ConstantExpression, nameof(expression), "Unexpected expression form");
74
Contracts.CheckParam(((ConstantExpression)methodCallExpression.
Arguments
[0]).Type == typeof(Type), nameof(expression), "Unexpected expression form");
75
Contracts.CheckParam((Type)((ConstantExpression)methodCallExpression.
Arguments
[0]).Value == typeof(Func<T, TResult>), nameof(expression), "Unexpected expression form");
76
Contracts.CheckParam(methodCallExpression.
Arguments
[1] is ParameterExpression, nameof(expression), "Unexpected expression form");
77
Contracts.CheckParam(methodCallExpression.
Arguments
[1] == expression.Parameters[0], nameof(expression), "Unexpected expression form");
Utilities\FuncInstanceMethodInfo1`4.cs (6)
73
Contracts.CheckParam(methodCallExpression.
Arguments
.Count == 2, nameof(expression), "Unexpected expression form");
74
Contracts.CheckParam(methodCallExpression.
Arguments
[0] is ConstantExpression, nameof(expression), "Unexpected expression form");
75
Contracts.CheckParam(((ConstantExpression)methodCallExpression.
Arguments
[0]).Type == typeof(Type), nameof(expression), "Unexpected expression form");
76
Contracts.CheckParam((Type)((ConstantExpression)methodCallExpression.
Arguments
[0]).Value == typeof(Func<T1, T2, TResult>), nameof(expression), "Unexpected expression form");
77
Contracts.CheckParam(methodCallExpression.
Arguments
[1] is ParameterExpression, nameof(expression), "Unexpected expression form");
78
Contracts.CheckParam(methodCallExpression.
Arguments
[1] == expression.Parameters[0], nameof(expression), "Unexpected expression form");
Utilities\FuncInstanceMethodInfo2`4.cs (6)
73
Contracts.CheckParam(methodCallExpression.
Arguments
.Count == 2, nameof(expression), "Unexpected expression form");
74
Contracts.CheckParam(methodCallExpression.
Arguments
[0] is ConstantExpression, nameof(expression), "Unexpected expression form");
75
Contracts.CheckParam(((ConstantExpression)methodCallExpression.
Arguments
[0]).Type == typeof(Type), nameof(expression), "Unexpected expression form");
76
Contracts.CheckParam((Type)((ConstantExpression)methodCallExpression.
Arguments
[0]).Value == typeof(Func<T1, T2, TResult>), nameof(expression), "Unexpected expression form");
77
Contracts.CheckParam(methodCallExpression.
Arguments
[1] is ParameterExpression, nameof(expression), "Unexpected expression form");
78
Contracts.CheckParam(methodCallExpression.
Arguments
[1] == expression.Parameters[0], nameof(expression), "Unexpected expression form");
Utilities\FuncInstanceMethodInfo3`3.cs (6)
72
Contracts.CheckParam(methodCallExpression.
Arguments
.Count == 2, nameof(expression), "Unexpected expression form");
73
Contracts.CheckParam(methodCallExpression.
Arguments
[0] is ConstantExpression, nameof(expression), "Unexpected expression form");
74
Contracts.CheckParam(((ConstantExpression)methodCallExpression.
Arguments
[0]).Type == typeof(Type), nameof(expression), "Unexpected expression form");
75
Contracts.CheckParam((Type)((ConstantExpression)methodCallExpression.
Arguments
[0]).Value == typeof(Func<T, TResult>), nameof(expression), "Unexpected expression form");
76
Contracts.CheckParam(methodCallExpression.
Arguments
[1] is ParameterExpression, nameof(expression), "Unexpected expression form");
77
Contracts.CheckParam(methodCallExpression.
Arguments
[1] == expression.Parameters[0], nameof(expression), "Unexpected expression form");
Utilities\FuncInstanceMethodInfo3`4.cs (6)
73
Contracts.CheckParam(methodCallExpression.
Arguments
.Count == 2, nameof(expression), "Unexpected expression form");
74
Contracts.CheckParam(methodCallExpression.
Arguments
[0] is ConstantExpression, nameof(expression), "Unexpected expression form");
75
Contracts.CheckParam(((ConstantExpression)methodCallExpression.
Arguments
[0]).Type == typeof(Type), nameof(expression), "Unexpected expression form");
76
Contracts.CheckParam((Type)((ConstantExpression)methodCallExpression.
Arguments
[0]).Value == typeof(Func<T1, T2, TResult>), nameof(expression), "Unexpected expression form");
77
Contracts.CheckParam(methodCallExpression.
Arguments
[1] is ParameterExpression, nameof(expression), "Unexpected expression form");
78
Contracts.CheckParam(methodCallExpression.
Arguments
[1] == expression.Parameters[0], nameof(expression), "Unexpected expression form");
System.ComponentModel.Composition.Registration (2)
System\ComponentModel\Composition\Registration\PartBuilderOfT.cs (2)
121
if (methodCallExpression.
Arguments
.Count == 1)
123
Expression parameter = methodCallExpression.
Arguments
[0];
System.Composition.Convention (2)
System\Composition\Convention\PartConventionBuilderOfT.cs (2)
183
if (methodCallExpression.
Arguments
.Count == 1)
185
Expression parameter = methodCallExpression.
Arguments
[0];
System.Linq.Expressions (10)
System\Linq\Expressions\DebugViewWriter.cs (1)
782
VisitExpressions('(', node.
Arguments
);
System\Linq\Expressions\Expression.DebuggerProxy.cs (1)
321
public ReadOnlyCollection<Expression> Arguments => _node.
Arguments
;
System\Linq\Expressions\MethodCallExpression.cs (8)
60
/// <param name="arguments">The <see cref="
Arguments
"/> property of the result.</param>
1129
/// <returns>A <see cref="MethodCallExpression"/> that has the <see cref="NodeType"/> property equal to <see cref="ExpressionType.Call"/>, the <see cref="MethodCallExpression.Object"/> property equal to <paramref name="instance"/>, <see cref="MethodCallExpression.Method"/> set to the <see cref="MethodInfo"/> that represents the specified instance method, and <see cref="MethodCallExpression.
Arguments
"/> set to the specified arguments.</returns>
1153
/// <returns>A <see cref="MethodCallExpression"/> that has the <see cref="NodeType"/> property equal to <see cref="ExpressionType.Call"/>, the <see cref="MethodCallExpression.Method"/> property set to the <see cref="MethodInfo"/> that represents the specified static (Shared in Visual Basic) method, and the <see cref="MethodCallExpression.
Arguments
"/> property set to the specified arguments.</returns>
1181
/// <returns>A <see cref="MethodCallExpression"/> that has the <see cref="NodeType"/> property equal to <see cref="ExpressionType.Call"/> and the <see cref="MethodCallExpression.Object"/>, <see cref="MethodCallExpression.Method"/>, and <see cref="MethodCallExpression.
Arguments
"/> properties set to the specified values.</returns>
1184
/// <param name="arguments">An <see cref="IEnumerable{Expression}"/> that contains <see cref="Expression"/> objects to use to populate the <see cref="MethodCallExpression.
Arguments
"/> collection.</param>
1395
/// <param name="indexes">An array that contains <see cref="Expression"/> objects to use to populate the <see cref="MethodCallExpression.
Arguments
"/> collection.</param>
1402
/// <returns>A <see cref="MethodCallExpression"/> that has the <see cref="NodeType"/> property equal to <see cref="ExpressionType.Call"/> and the <see cref="MethodCallExpression.Object"/> and <see cref="MethodCallExpression.
Arguments
"/> properties set to the specified values.</returns>
1404
/// <param name="indexes">An <see cref="IEnumerable{T}"/> that contains <see cref="Expression"/> objects to use to populate the <see cref="MethodCallExpression.
Arguments
"/> collection.</param>
System.Linq.Queryable (2)
System\Linq\EnumerableRewriter.cs (2)
31
ReadOnlyCollection<Expression> args = Visit(m.
Arguments
);
34
if (obj != m.Object || args != m.
Arguments
)