Base:
6 references to PhysicalPath
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (6)
FileProviderRazorProjectItem.cs (6)
78
!string.IsNullOrEmpty(
PhysicalPath
) &&
79
PhysicalPath
.StartsWith(_root, StringComparison.OrdinalIgnoreCase) &&
80
PhysicalPath
.Length > _root.Length &&
81
(
PhysicalPath
[_root.Length] == Path.DirectorySeparatorChar ||
PhysicalPath
[_root.Length] == Path.AltDirectorySeparatorChar))
83
_relativePhysicalPath =
PhysicalPath
.Substring(_root.Length + 1); // Include leading separator