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