1 write to FileKind
Microsoft.CodeAnalysis.Razor.Compiler (1)
Language\RazorParserOptions.cs (1)
48FileKind = 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)
22public 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 217combiner.Add(FileKind);
Microsoft.CodeAnalysis.Razor.Workspaces (5)
Completion\BlazorDataAttributeCompletionItemProvider.cs (1)
35if (!context.SyntaxTree.Options.FileKind.IsComponent())
Completion\DirectiveAttributeCompletionItemProvider.cs (1)
27if (!context.SyntaxTree.Options.FileKind.IsComponent())
Completion\DirectiveAttributeTransitionCompletionItemProvider.cs (1)
54if (!context.SyntaxTree.Options.FileKind.IsComponent())
Completion\DirectiveCompletionItemProvider.cs (1)
127var defaultDirectives = syntaxTree.Options.FileKind.IsComponent()
Diagnostics\RazorTranslateDiagnosticsService.cs (1)
236HtmlErrorCodes.MissingEndTagErrorCode => syntaxTree.Options.FileKind.IsComponent(), // Redundant with RZ9980 in Components