9 references to IgnoreAccessibility
Microsoft.CodeAnalysis.CSharp (9)
Binder\Binder.cs (2)
785
return this.Flags.Includes(BinderFlags.
IgnoreAccessibility
) || AccessCheck.IsSymbolAccessible(symbol, within, ref useSiteInfo, throughTypeOpt);
796
if (this.Flags.Includes(BinderFlags.
IgnoreAccessibility
))
Binder\Binder_Lookup.cs (2)
1688
if (this.Flags.Includes(BinderFlags.
IgnoreAccessibility
))
1699
/// which will already have checked for <see cref="BinderFlags.
IgnoreAccessibility
"/>.
Compilation\CSharpSemanticModel.cs (1)
3256
? BinderFlags.SemanticModel | BinderFlags.
IgnoreAccessibility
Compilation\SyntaxTreeSemanticModel.cs (1)
1072
Binder defaultOuter() => _binderFactory.GetBinder(node).WithAdditionalFlags(this.IgnoresAccessibility ? BinderFlags.
IgnoreAccessibility
: BinderFlags.None);
Symbols\Source\SourceMemberMethodSymbol.cs (1)
769
return inMethod == null ? null : new ExecutableCodeBinder(SyntaxNode, this, inMethod.WithAdditionalFlags(ignoreAccessibility ? BinderFlags.
IgnoreAccessibility
: BinderFlags.None));
Symbols\Synthesized\Records\SynthesizedPrimaryConstructor.cs (1)
108
return new ExecutableCodeBinder(SyntaxNode, this, result.WithAdditionalFlags(ignoreAccessibility ? BinderFlags.
IgnoreAccessibility
: BinderFlags.None));
Symbols\Synthesized\SynthesizedSimpleProgramEntryPointSymbol.cs (1)
229
result = result.WithAdditionalFlags(ignoreAccessibility ? BinderFlags.
IgnoreAccessibility
: BinderFlags.None);