3 overrides of RelativePhysicalPath
Microsoft.AspNetCore.Razor.Test.Common (1)
Language\TestRazorProjectItem.cs (1)
25public override string RelativePhysicalPath => relativePhysicalPath!;
Microsoft.CodeAnalysis.Razor.Compiler (2)
Language\DefaultRazorProjectItem.cs (1)
65public override string RelativePhysicalPath { get; }
SourceGenerators\SourceGeneratorProjectItem.cs (1)
49public override string RelativePhysicalPath { get; }
18 references to RelativePhysicalPath
Microsoft.AspNetCore.Razor.Language.UnitTests (15)
DefaultRazorProjectFileSystemTest.cs (15)
122Assert.Equal("Home.cshtml", item.RelativePhysicalPath); 130Assert.Equal(Path.Combine("Views", "About", "About.cshtml"), item.RelativePhysicalPath); 137Assert.Equal(Path.Combine("Views", "Home", "Index.cshtml"), item.RelativePhysicalPath); 144Assert.Equal(Path.Combine("Views", "Home", "_ViewImports.cshtml"), item.RelativePhysicalPath); 151Assert.Equal(Path.Combine("Views", "_ViewImports.cshtml"), item.RelativePhysicalPath); 158Assert.Equal("_ViewImports.cshtml", item.RelativePhysicalPath); 179Assert.Equal(Path.Combine("About", "About.cshtml"), item.RelativePhysicalPath); 186Assert.Equal(Path.Combine("Home", "Index.cshtml"), item.RelativePhysicalPath); 193Assert.Equal(Path.Combine("Home", "_ViewImports.cshtml"), item.RelativePhysicalPath); 200Assert.Equal(Path.Combine("_ViewImports.cshtml"), item.RelativePhysicalPath); 234Assert.Equal("_ViewImports.cshtml", item.RelativePhysicalPath); 241Assert.Equal(Path.Combine("Views", "_ViewImports.cshtml"), item.RelativePhysicalPath); 248Assert.Equal(Path.Combine("Views", "Home", "_ViewImports.cshtml"), item.RelativePhysicalPath); 267Assert.Equal(Path.Combine("Views", "About", "About.cshtml"), item.RelativePhysicalPath); 287Assert.Equal(Path.Combine("Views", "About", "About.cshtml"), item.RelativePhysicalPath);
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 (2)
Language\RazorSourceDocument.cs (2)
139filePath = projectItem.RelativePhysicalPath; 152var relativePath = projectItem.RelativePhysicalPath ?? projectItem.FilePath;