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