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
();
2668
declaredParameterCount = m.Member.
GetParameterCount
();
3828
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)
1225
Debug.Assert(rewrittenArguments.Length == methodOrIndexer.
GetParameterCount
() + 1);
1238
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);