13 references to GetFileKindFromPath
Microsoft.AspNetCore.Razor.Language.UnitTests (1)
RazorCodeDocumentExtensionsTest.cs (1)
139parserOptions: RazorParserOptions.Create(RazorLanguageVersion.Latest, FileKinds.GetFileKindFromPath(filePath)));
Microsoft.AspNetCore.Razor.Test.Common.Tooling (1)
RazorCodeDocumentFactory.cs (1)
42var fileKind = FileKinds.GetFileKindFromPath(filePath);
Microsoft.CodeAnalysis.Razor.Compiler (5)
Language\NotFoundProjectItem.cs (1)
25= fileKind ?? FileKinds.GetFileKindFromPath(path);
Language\RazorProjectEngineExtensions.cs (2)
67? FileKinds.GetFileKindFromPath(filePath) 128? FileKinds.GetFileKindFromPath(filePath)
Language\RazorProjectItem.cs (1)
51: FileKinds.GetFileKindFromPath(FilePath);
SourceGenerators\RazorSourceGenerator.RazorProviders.cs (1)
154fileKind: FileKinds.GetFileKindFromPath(additionalText.Path),
Microsoft.CodeAnalysis.Razor.Workspaces (1)
Hover\HoverFactory.cs (1)
228var keepAttributeInfo = FileKinds.GetFileKindFromPath(documentFilePath) == RazorFileKind.Legacy;
Microsoft.CodeAnalysis.Remote.Razor (3)
NestedFiles\RemoteAddNestedFileService.cs (2)
114var fileType = FileKinds.GetFileKindFromPath(razorFilePath).IsLegacy() ? "view" : "component"; 121var fileType = FileKinds.GetFileKindFromPath(razorFilePath).IsLegacy() ? "view" : "component";
ProjectSystem\RemoteDocumentSnapshot.cs (1)
34public RazorFileKind FileKind => FileKinds.GetFileKindFromPath(FilePath);
Microsoft.VisualStudio.LanguageServices.Razor.UnitTests (2)
Cohost\Formatting\FormattingLogTest.cs (2)
132return FileKinds.GetFileKindFromPath(filePath); 148return FileKinds.GetFileKindFromPath(filePath);