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)
1342
return DeclarationModifiers.
File
;
1432
case DeclarationModifiers.
File
:
Symbols\Source\ModifierUtils.cs (3)
109
checkFeature(DeclarationModifiers.
File
, MessageID.IDS_FeatureFileTypes) |
325
case DeclarationModifiers.
File
:
379
return DeclarationModifiers.
File
;
Symbols\Source\SourceMemberContainerSymbol.cs (4)
295
var allowedModifiers = DeclarationModifiers.AccessibilityMask | DeclarationModifiers.
File
;
435
else if ((result & DeclarationModifiers.
File
) != 0)
451
diagnostics.Add((result & DeclarationModifiers.
File
) != 0
855
internal sealed override bool IsFileLocal => HasFlag(DeclarationModifiers.
File
);