23 implementations of ArgumentCount
System.Linq.Expressions (23)
System\Linq\Expressions\DynamicExpression.cs (6)
218
int IArgumentProvider.
ArgumentCount
507
int IArgumentProvider.
ArgumentCount
=> _arguments.Count;
551
int IArgumentProvider.
ArgumentCount
=> 1;
611
int IArgumentProvider.
ArgumentCount
=> 2;
682
int IArgumentProvider.
ArgumentCount
=> 3;
759
int IArgumentProvider.
ArgumentCount
=> 4;
System\Linq\Expressions\ElementInit.cs (1)
42
public int
ArgumentCount
=> Arguments.Count;
System\Linq\Expressions\IndexExpression.cs (1)
110
public int
ArgumentCount
=> _arguments.Count;
System\Linq\Expressions\InvocationExpression.cs (1)
90
public virtual int
ArgumentCount
System\Linq\Expressions\MethodCallExpression.cs (13)
142
public virtual int
ArgumentCount
179
public override int
ArgumentCount
=> _arguments.Count;
210
public override int
ArgumentCount
=> _arguments.Count;
241
public override int
ArgumentCount
=> 0;
277
public override int
ArgumentCount
=> 1;
334
public override int
ArgumentCount
=> 2;
401
public override int
ArgumentCount
=> 3;
474
public override int
ArgumentCount
=> 4;
553
public override int
ArgumentCount
=> 5;
621
public override int
ArgumentCount
=> 0;
659
public override int
ArgumentCount
=> 1;
715
public override int
ArgumentCount
=> 2;
782
public override int
ArgumentCount
=> 3;
System\Linq\Expressions\NewExpression.cs (1)
61
public int
ArgumentCount
=> _arguments.Count;
10 references to ArgumentCount
System.Linq.Expressions (10)
System\Dynamic\Utils\ExpressionVisitorUtils.cs (1)
63
for (int i = 0, n = nodes.
ArgumentCount
; i < n; i++)
System\Dynamic\Utils\ListArgumentProvider.cs (1)
166
protected override int ElementCount => _provider.
ArgumentCount
;
System\Linq\Expressions\Compiler\LambdaCompiler.Expressions.cs (2)
421
int count = args.
ArgumentCount
;
516
Debug.Assert(args.
ArgumentCount
+ skipParameters == pis.Length);
System\Linq\Expressions\Compiler\StackSpiller.ChildRewriter.cs (1)
168
for (int i = 0, count = expressions.
ArgumentCount
; i < count; i++)
System\Linq\Expressions\Compiler\StackSpiller.cs (1)
169
var cr = new ChildRewriter(this, Stack.NonEmpty, node.
ArgumentCount
);
System\Linq\Expressions\DynamicExpression.cs (1)
516
Debug.Assert(args.Length == ((IArgumentProvider)this).
ArgumentCount
);
System\Linq\Expressions\Interpreter\LightCompiler.cs (3)
2154
Debug.Assert(parameters.Length == arguments.
ArgumentCount
);
2156
for (int i = 0, n = arguments.
ArgumentCount
; i < n; i++)
2364
int count = arguments.
ArgumentCount
;