7 references to IsLegacy
Microsoft.CodeAnalysis.Razor.Compiler (2)
Language\Legacy\TagHelperBlockRewriter.cs (1)
876
(kind != SyntaxKind.MarkupDynamicAttributeValue || !_options.FileKind.
IsLegacy
()))
Language\RazorCodeDocumentExtensions.cs (1)
44
(codeDocument.FileKind.
IsLegacy
() && string.Equals(Path.GetFileName(codeDocument.Source.FilePath), MvcImportProjectFeature.ImportsFileName, StringComparison.OrdinalIgnoreCase));
Microsoft.CodeAnalysis.Razor.Workspaces (2)
CodeActions\Razor\PromoteUsingCodeActionProvider.cs (1)
72
return fileKind.
IsLegacy
()
Diagnostics\RazorTranslateDiagnosticsService.cs (1)
532
if (codeDocument.FileKind.
IsLegacy
())
Microsoft.CodeAnalysis.Remote.Razor (3)
Diagnostics\RemoteDiagnosticsService.cs (1)
120
if (codeDocument.FileKind.
IsLegacy
() && !codeDocument.IsImportsFile())
NestedFiles\RemoteAddNestedFileService.cs (2)
114
var fileType = FileKinds.GetFileKindFromPath(razorFilePath).
IsLegacy
() ? "view" : "component";
121
var fileType = FileKinds.GetFileKindFromPath(razorFilePath).
IsLegacy
() ? "view" : "component";