11 references to File
Microsoft.CodeAnalysis.CSharp (11)
Declarations\SingleTypeDeclaration.cs (2)
256&& ((thisDecl.Modifiers & DeclarationModifiers.File) != 0 257|| (otherDecl.Modifiers & DeclarationModifiers.File) != 0))
Parser\LanguageParser.cs (2)
1341return DeclarationModifiers.File; 1431case DeclarationModifiers.File:
Symbols\Source\ModifierUtils.cs (3)
109checkFeature(DeclarationModifiers.File, MessageID.IDS_FeatureFileTypes) | 325case DeclarationModifiers.File: 379return DeclarationModifiers.File;
Symbols\Source\SourceMemberContainerSymbol.cs (4)
295var allowedModifiers = DeclarationModifiers.AccessibilityMask | DeclarationModifiers.File; 435else if ((result & DeclarationModifiers.File) != 0) 451diagnostics.Add((result & DeclarationModifiers.File) != 0 855internal sealed override bool IsFileLocal => HasFlag(DeclarationModifiers.File);