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