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