1 write to FileKind
Microsoft.CodeAnalysis.Razor.Compiler (1)
Language\RazorParserOptions.cs (1)
48
FileKind
= fileKind;
13 references to FileKind
Microsoft.CodeAnalysis.Razor.Compiler (8)
Language\Legacy\TagHelperBlockRewriter.cs (1)
876
(kind != SyntaxKind.MarkupDynamicAttributeValue || !_options.
FileKind
.IsLegacy()))
Language\RazorCodeDocument.cs (1)
22
public RazorFileKind FileKind => ParserOptions.
FileKind
;
Language\RazorParserOptions.cs (6)
109
: new(LanguageVersion,
FileKind
, value, CSharpParseOptions, _flags);
114
: new(LanguageVersion,
FileKind
, Directives, value, _flags);
194
: new(LanguageVersion,
FileKind
, Directives, CSharpParseOptions, flags);
202
&&
FileKind
== other.
FileKind
217
combiner.Add(
FileKind
);
Microsoft.CodeAnalysis.Razor.Workspaces (5)
Completion\BlazorDataAttributeCompletionItemProvider.cs (1)
35
if (!context.SyntaxTree.Options.
FileKind
.IsComponent())
Completion\DirectiveAttributeCompletionItemProvider.cs (1)
27
if (!context.SyntaxTree.Options.
FileKind
.IsComponent())
Completion\DirectiveAttributeTransitionCompletionItemProvider.cs (1)
54
if (!context.SyntaxTree.Options.
FileKind
.IsComponent())
Completion\DirectiveCompletionItemProvider.cs (1)
127
var defaultDirectives = syntaxTree.Options.
FileKind
.IsComponent()
Diagnostics\RazorTranslateDiagnosticsService.cs (1)
236
HtmlErrorCodes.MissingEndTagErrorCode => syntaxTree.Options.
FileKind
.IsComponent(), // Redundant with RZ9980 in Components