12 references to GetParameterCount
Microsoft.CodeAnalysis.CSharp (12)
Binder\Semantics\OverloadResolution\OverloadResolution.cs (4)
1268
int parameterCount = result.Member.
GetParameterCount
();
1294
int paramCount = member.
GetParameterCount
();
2660
declaredParameterCount = m.Member.
GetParameterCount
();
3807
int parameterCount = member.
GetParameterCount
() + (member.GetIsVararg() ? 1 : 0);
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (2)
1172
if (method.GetIsVararg() && parm == method.
GetParameterCount
())
1188
bool isLastParameter = method.
GetParameterCount
() == parm + 1; // This is used to later decide if we need to try to unwrap a params collection
Lowering\LocalRewriter\LocalRewriter_Call.cs (2)
1226
Debug.Assert(rewrittenArguments.Length == methodOrIndexer.
GetParameterCount
() + 1);
1239
return rewrittenArguments.Length == methodOrIndexer.
GetParameterCount
() &&
Symbols\MemberSignatureComparer.cs (4)
455
if (member1.
GetParameterCount
() != member2.
GetParameterCount
())
468
if (member1.
GetParameterCount
() > 0 && !HaveSameParameterTypes(member1.GetParameters().AsSpan(), typeMap1, member2.GetParameters().AsSpan(), typeMap2,
556
hash = Hash.Combine(member.
GetParameterCount
(), hash);