10 references to IsSymbolAccessible
Microsoft.CodeAnalysis.CSharp (10)
Binder\Binder.cs (1)
785return this.Flags.Includes(BinderFlags.IgnoreAccessibility) || AccessCheck.IsSymbolAccessible(symbol, within, ref useSiteInfo, throughTypeOpt);
Binder\Binder_Statements.cs (1)
3943if (!AccessCheck.IsSymbolAccessible(baseConstructor, constructor.ContainingType, ref useSiteInfo))
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
191var isAccessible = AccessCheck.IsSymbolAccessible(interceptor, containingMethod.ContainingType, ref useSiteInfo);
Symbols\Source\ExplicitInterfaceHelpers.cs (2)
308if (!AccessCheck.IsSymbolAccessible(implementedMember, implementingMember.ContainingType, ref useSiteInfo, throughTypeOpt: null)) 332!AccessCheck.IsSymbolAccessible(accessor, implementingMember.ContainingType, ref useSiteInfo, throughTypeOpt: null))
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (3)
709bool isAccessible = AccessCheck.IsSymbolAccessible(hiddenMember, this, ref useSiteInfo); 1130if (overridingProperty.GetMethod != ownOrInheritedGetMethod && !AccessCheck.IsSymbolAccessible(ownOrInheritedGetMethod, overridingType, ref useSiteInfo)) 1136if (overridingProperty.SetMethod != ownOrInheritedSetMethod && !AccessCheck.IsSymbolAccessible(ownOrInheritedSetMethod, overridingType, ref useSiteInfo))
Symbols\Synthesized\Records\SynthesizedRecordCopyCtor.cs (1)
97AccessCheck.IsSymbolAccessible(member, within, ref useSiteInfo))
Symbols\TypeSymbol.cs (1)
1008!AccessCheck.IsSymbolAccessible(interfaceMember, named, ref useSiteInfo2, throughTypeOpt: null))