1 write to Path
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.Test (1)
TestInfrastructure\DirectoryNode.cs (1)
14
Path
= path;
10 references to Path
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.Test (10)
TestInfrastructure\DirectoryNode.cs (10)
26
if (!filePath.StartsWith(
Path
, StringComparison.OrdinalIgnoreCase))
28
throw new InvalidOperationException($"File {fileNode.Path} does not belong to {
Path
}.");
41
if (!path.StartsWith(
Path
, StringComparison.OrdinalIgnoreCase))
43
throw new InvalidOperationException($"File {path} does not belong to {
Path
}.");
67
if (!path.StartsWith(
Path
, StringComparison.OrdinalIgnoreCase))
69
throw new InvalidOperationException($"File {path} does not belong to {
Path
}.");
82
var directoryLength = directory.
Path
.Length;
120
while ((index = path.IndexOf('/', directory.
Path
.Length)) != -1 && index != path.Length)
154
var directoryPath = currentDirectory.
Path
;
155
var startIndex = parentDirectory.
Path
.Length;