5 overrides of PhysicalPath
Microsoft.AspNetCore.Razor.Test.Common (1)
Language\TestRazorProjectItem.cs (1)
24public override string PhysicalPath => physicalPath!;
Microsoft.CodeAnalysis.Razor.Compiler (4)
Language\DefaultImportProjectItem.cs (1)
18public override string PhysicalPath => null!;
Language\DefaultRazorProjectItem.cs (1)
63public override string PhysicalPath => _fileInfo?.FullName ?? _physicalFilePath;
Language\NotFoundProjectItem.cs (1)
31public override string PhysicalPath => throw new NotSupportedException();
SourceGenerators\SourceGeneratorProjectItem.cs (1)
47public override string PhysicalPath => AdditionalText.Path;
17 references to PhysicalPath
Microsoft.AspNetCore.Razor.Language.UnitTests (15)
DefaultRazorProjectFileSystemTest.cs (15)
121Assert.Equal(Path.Combine(TestFolder, "Home.cshtml"), item.PhysicalPath); 129Assert.Equal(Path.Combine(TestFolder, "Views", "About", "About.cshtml"), item.PhysicalPath); 136Assert.Equal(Path.Combine(TestFolder, "Views", "Home", "Index.cshtml"), item.PhysicalPath); 143Assert.Equal(Path.Combine(TestFolder, "Views", "Home", "_ViewImports.cshtml"), item.PhysicalPath); 150Assert.Equal(Path.Combine(TestFolder, "Views", "_ViewImports.cshtml"), item.PhysicalPath); 157Assert.Equal(Path.Combine(TestFolder, "_ViewImports.cshtml"), item.PhysicalPath); 178Assert.Equal(Path.Combine(TestFolder, "Views", "About", "About.cshtml"), item.PhysicalPath); 185Assert.Equal(Path.Combine(TestFolder, "Views", "Home", "Index.cshtml"), item.PhysicalPath); 192Assert.Equal(Path.Combine(TestFolder, "Views", "Home", "_ViewImports.cshtml"), item.PhysicalPath); 199Assert.Equal(Path.Combine(TestFolder, "Views", "_ViewImports.cshtml"), item.PhysicalPath); 233Assert.Equal(Path.Combine(TestFolder, "_ViewImports.cshtml"), item.PhysicalPath); 240Assert.Equal(Path.Combine(TestFolder, "Views", "_ViewImports.cshtml"), item.PhysicalPath); 247Assert.Equal(Path.Combine(TestFolder, "Views", "Home", "_ViewImports.cshtml"), item.PhysicalPath); 266Assert.Equal(Path.Combine(TestFolder, "Views", "About", "About.cshtml"), item.PhysicalPath); 286Assert.Equal(Path.Combine(lowerCaseTestFolder, "Views", "About", "About.cshtml"), item.PhysicalPath);
Microsoft.AspNetCore.Razor.Test.Common (1)
Language\IntegrationTests\IntegrationTestBase.cs (1)
803var normalizedImport = new TestRazorProjectItem(import.FilePath, import.PhysicalPath, import.RelativePhysicalPath, import.BasePath)
Microsoft.CodeAnalysis.Razor.Compiler (1)
Language\RazorSourceDocument.cs (1)
135var filePath = projectItem.PhysicalPath;