4 overrides of FilePath
Microsoft.CodeAnalysis.Razor.Compiler (4)
Language\DefaultImportProjectItem.cs (1)
17public override string FilePath => null!;
Language\DefaultRazorProjectItem.cs (1)
59public override string FilePath { get; }
Language\NotFoundProjectItem.cs (1)
21public override string FilePath => path;
SourceGenerators\SourceGeneratorProjectItem.cs (1)
43public override string FilePath { get; }
16 references to FilePath
Microsoft.CodeAnalysis.Razor.Compiler (16)
Language\Components\ComponentImportProjectFeature.cs (1)
41return fileSystem.FindHierarchicalItems(projectItem.FilePath, ComponentHelpers.ImportsFileName);
Language\RazorProjectItem.cs (9)
49=> FilePath == null 51: FileKinds.GetFileKindFromPath(FilePath); 69? FilePath 70: BasePath + FilePath; 98var index = FilePath.LastIndexOf('/'); 99return FilePath.Substring(index + 1); 110var index = FilePath.LastIndexOf('.'); 113return FilePath; 117return FilePath.Substring(0, index);
Language\RazorSourceDocument.cs (2)
146filePath = projectItem.FilePath; 152var relativePath = projectItem.RelativePhysicalPath ?? projectItem.FilePath;
Language\VirtualRazorProjectFileSystem.cs (1)
31var filePath = NormalizeAndEnsureValidPath(projectItem.FilePath);
Mvc.Version1_X\MvcImportProjectFeature.cs (1)
56var importProjectItems = ProjectEngine.FileSystem.FindHierarchicalItems(projectItem.FilePath, ImportsFileName);
Mvc.Version2_X\MvcImportProjectFeature.cs (1)
58var importProjectItems = ProjectEngine.FileSystem.FindHierarchicalItems(projectItem.FilePath, ImportsFileName);
Mvc\MvcImportProjectFeature.cs (1)
58var importProjectItems = ProjectEngine.FileSystem.FindHierarchicalItems(projectItem.FilePath, ImportsFileName);