1 instantiation of CSharpAccessibilityFacts
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpAccessibilityFacts.cs (1)
20
public static readonly IAccessibilityFacts Instance = new
CSharpAccessibilityFacts
();
8 references to CSharpAccessibilityFacts
Microsoft.CodeAnalysis.CSharp.Workspaces (8)
CodeGeneration\CSharpSyntaxGenerator.cs (8)
1394
=>
CSharpAccessibilityFacts
.Instance.CanHaveAccessibility(declaration, ignoreDeclarationModifiers: true);
1397
=>
CSharpAccessibilityFacts
.Instance.GetAccessibility(declaration);
1400
=>
CSharpAccessibilityFacts
.GetAccessibilityAndModifiers(modifierList, out accessibility, out modifiers, out isDefault);
1612
=>
CSharpAccessibilityFacts
.GetModifierTokens(declaration);
1875
=>
CSharpAccessibilityFacts
.GetDeclarationKind(declaration);
2071
if (
CSharpAccessibilityFacts
.ParentIsFieldDeclaration(vd)
2072
||
CSharpAccessibilityFacts
.ParentIsEventFieldDeclaration(vd)
2073
||
CSharpAccessibilityFacts
.ParentIsLocalDeclarationStatement(vd))