5 overrides of ParameterCount
System.Linq.Expressions (5)
System\Linq\Expressions\LambdaExpression.cs (5)
363internal override int ParameterCount => 0; 394internal override int ParameterCount => 1; 445internal override int ParameterCount => 2; 509internal override int ParameterCount => 3; 573internal override int ParameterCount => _parameters.Count;
17 references to ParameterCount
System.Linq.Expressions (17)
System\Linq\Expressions\BinaryExpression.cs (2)
1400Debug.Assert(pms.Length == conversion.ParameterCount); 1552Debug.Assert(pms.Length == conversion.ParameterCount);
System\Linq\Expressions\Compiler\LambdaCompiler.Lambda.cs (2)
158int count = lambda.ParameterCount; 218for (int i = _lambda.ParameterCount - 1; i >= 0; i--)
System\Linq\Expressions\Compiler\LambdaCompiler.Logical.cs (2)
126Debug.Assert(b.Conversion.ParameterCount == 1); 189Debug.Assert(b.Conversion!.ParameterCount == 1);
System\Linq\Expressions\ExpressionStringBuilder.cs (2)
297if (node.ParameterCount == 1) 307for (int i = 0, n = node.ParameterCount; i < n; i++)
System\Linq\Expressions\Interpreter\LightCompiler.cs (2)
314for (int i = 0, n = node.ParameterCount; i < n; i++) 2830int count = node.ParameterCount;
System\Linq\Expressions\Interpreter\TypeOperations.cs (3)
515if (node.ParameterCount > 0) 519for (int i = 0, n = node.ParameterCount; i < n; i++) 527if (node.ParameterCount > 0)
System\Linq\Expressions\LambdaExpression.cs (1)
102int IParameterProvider.ParameterCount => ParameterCount;
System\Runtime\CompilerServices\RuntimeOps.ExpressionQuoter.cs (3)
70if (node.ParameterCount > 0) 74for (int i = 0, n = node.ParameterCount; i < n; i++) 82if (node.ParameterCount > 0)