5 overrides of BasePath
Microsoft.AspNetCore.Razor.Test.Common (1)
Language\TestRazorProjectItem.cs (1)
21public override string BasePath => basePath!;
Microsoft.CodeAnalysis.Razor.Compiler (4)
Language\DefaultImportProjectItem.cs (1)
16public override string BasePath => null!;
Language\DefaultRazorProjectItem.cs (1)
57public override string BasePath { get; }
Language\NotFoundProjectItem.cs (1)
18public override string BasePath => string.Empty;
SourceGenerators\SourceGeneratorProjectItem.cs (1)
41public override string BasePath { get; }
21 references to BasePath
Microsoft.AspNetCore.Razor.Language.UnitTests (15)
DefaultRazorProjectFileSystemTest.cs (15)
120Assert.Equal("/", item.BasePath); 128Assert.Equal("/", item.BasePath); 135Assert.Equal("/", item.BasePath); 142Assert.Equal("/", item.BasePath); 149Assert.Equal("/", item.BasePath); 156Assert.Equal("/", item.BasePath); 177Assert.Equal("/Views", item.BasePath); 184Assert.Equal("/Views", item.BasePath); 191Assert.Equal("/Views", item.BasePath); 198Assert.Equal("/Views", item.BasePath); 232Assert.Equal("/", item.BasePath); 239Assert.Equal("/", item.BasePath); 246Assert.Equal("/", item.BasePath); 265Assert.Equal("/", item.BasePath); 285Assert.Equal("/", item.BasePath);
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 (5)
Language\RazorProjectItem.cs (5)
23/// File path relative to <see cref="BasePath"/>. This property uses the project path syntax, 36/// physical path of the <see cref="BasePath"/>. 68=> BasePath == RazorProjectFileSystem.DefaultBasePath 70: BasePath + FilePath; 104/// File path relative to <see cref="BasePath"/> without the extension.