17 references to ParameterCount
Microsoft.CodeAnalysis.CSharp (17)
Binder\Binder_Lambda.cs (3)
356for (int i = 0; i < lambda.ParameterCount; i++) 370ParameterHelpers.ReportParameterErrors(owner: null, paramSyntax, ordinal: i, lastParameterIndex: lambda.ParameterCount - 1, isParams: isParams, lambda.ParameterTypeWithAnnotations(i), 387for (int i = 0; i < lambda.ParameterCount; i++)
Binder\Binder_Statements.cs (6)
2114conversionError(diagnostics, ErrorCode.ERR_BadDelArgCount, delegateType, anonymousFunction.ParameterCount); 2124for (int i = 0; i < anonymousFunction.ParameterCount; ++i) 2141for (int i = 0; i < anonymousFunction.ParameterCount; ++i) 2157for (int i = 0; i < anonymousFunction.ParameterCount; ++i) 2174Debug.Assert(anonymousFunction.ParameterCount == delegateParameters.Length); 2175for (int i = 0; i < anonymousFunction.ParameterCount; ++i)
Binder\Semantics\Conversions\ConversionsBase.cs (1)
1502if (anonymousFunction.ParameterCount != invokeMethod.ParameterCount)
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (4)
1554if (anonymousFunction.ParameterCount < size) 1556size = anonymousFunction.ParameterCount; 3082if (originalDelegateParameters.Length != anonymousFunction.ParameterCount) 3097for (int p = 0; p < anonymousFunction.ParameterCount; ++p)
Symbols\Source\LambdaSymbol.cs (3)
329if (!unboundLambda.HasSignature || unboundLambda.ParameterCount == 0) 342var builder = ArrayBuilder<ParameterSymbol>.GetInstance(unboundLambda.ParameterCount); 346for (int p = 0; p < unboundLambda.ParameterCount; ++p)