21 references to GetMemberArity
Microsoft.CodeAnalysis.CSharp (21)
Binder\Binder_Crefs.cs (2)
829
Debug.Assert(candidate.
GetMemberArity
() != 0 || candidate.Name == WellKnownMemberNames.InstanceConstructorName || arity == 0,
840
bool newArityIsZero = candidate.
GetMemberArity
() == 0;
Binder\Semantics\OverloadResolution\OverloadResolution.cs (4)
1160
Debug.Assert(typeArguments.Count == 0 || typeArguments.Count == member.
GetMemberArity
());
2379
if (m1.Member.
GetMemberArity
() == 0)
2381
if (m2.Member.
GetMemberArity
() > 0)
2386
else if (m2.Member.
GetMemberArity
() == 0)
Symbols\Attributes\AttributeData.cs (1)
562
property.DeclaredAccessibility == Accessibility.Public && property.
GetMemberArity
() == 0 &&
Symbols\MemberSignatureComparer.cs (8)
450
if (_considerArity && (member1.
GetMemberArity
() != member2.
GetMemberArity
()))
545
if (_considerReturnType && member.
GetMemberArity
() == 0 &&
555
hash = Hash.Combine(member.
GetMemberArity
(), hash);
622
IndexedTypeParameterSymbol.Take(member.
GetMemberArity
()),
628
Debug.Assert(member1.
GetMemberArity
() == member2.
GetMemberArity
());
630
int arity = member1.
GetMemberArity
();
Symbols\MemberSymbolExtensions.cs (1)
311
int arity =
GetMemberArity
(symbol);
Symbols\OverriddenOrHiddenMembersHelpers.cs (3)
560
int memberArity = member.
GetMemberArity
();
577
int otherMemberArity = otherMember.
GetMemberArity
();
592
if (otherMember.
GetMemberArity
() == memberArity)
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (2)
694
int symbolArity = symbol.
GetMemberArity
();
712
if (isAccessible && hiddenMember.
GetMemberArity
() == symbolArity)