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