26 references to IsAccessor
Microsoft.CodeAnalysis.CSharp (26)
Binder\BinderFactory.BinderFactoryVisitor.cs (1)
568if (sym.IsAccessor())
Compiler\ClsComplianceChecker.cs (3)
430System.Diagnostics.Debug.Assert(!symbol.IsAccessor()); 911!symbol.IsAccessor() && 912!other.IsAccessor() &&
Compiler\DocumentationCommentCompiler.cs (2)
413symbol.IsAccessor() || 1197if (!parameter.ContainingSymbol.IsAccessor() && !documentedParameters.Add(parameter))
Symbols\ObsoleteAttributeHelpers.cs (1)
85if (symbol.IsAccessor())
Symbols\OverriddenOrHiddenMembersHelpers.cs (5)
93if (member.IsAccessor()) 112Debug.Assert(!member.IsAccessor()); 411Debug.Assert(!member.IsAccessor()); 542Debug.Assert(!member.IsAccessor()); 568else if (otherMember.IsAccessor() && !((MethodSymbol)otherMember).IsIndexedPropertyAccessor())
Symbols\Source\ExplicitInterfaceHelpers.cs (1)
273if (interfaceMember.IsAccessor() && !((MethodSymbol)interfaceMember).IsIndexedPropertyAccessor())
Symbols\Source\SourceMemberContainerSymbol.cs (2)
1996symbol.IsAccessor() || 3456if (member.IsAccessor())
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (4)
240(wasImplementingMemberFound && !implementingMember.IsAccessor())) 1568if (hidingMemberIsNew && !hidingMember.IsAccessor()) 1587!hidingMember.IsAccessor() && 1609if (!hidingMemberIsNew && !IsShadowingSynthesizedRecordMember(hidingMember) && !diagnosticAdded && !hidingMember.IsAccessor() && !hidingMember.IsOperator())
Symbols\TypeSymbol.cs (6)
946if (interfaceMember.IsAccessor()) 1584else if ((object)correspondingImplementingAccessor == null && (object)implicitImpl != null && implicitImpl.IsAccessor()) 1676bool implicitImplIsAccessor = implicitImpl.IsAccessor(); 1730else if (MemberSignatureComparer.RuntimeImplicitImplementationComparer.Equals(interfaceMember, member) && !member.IsAccessor()) 1766if (!implementingMember.IsImplicitlyDeclared && !implementingMember.IsAccessor()) 1993ErrorCode errorCode = interfaceMember.IsAccessor() ? ErrorCode.ERR_UnimplementedInterfaceAccessor : ErrorCode.ERR_CloseUnimplementedInterfaceMemberNotPublic;
Symbols\VarianceSafety.cs (1)
50if (!member.IsAccessor())