10 references to Path
Microsoft.CodeAnalysis.Razor.Compiler (10)
Language\VirtualRazorProjectFileSystem.cs (10)
47if (!filePath.StartsWith(Path, StringComparison.OrdinalIgnoreCase)) 49var message = Resources.FormatVirtualFileSystem_FileDoesNotBelongToDirectory(fileNode.Path, Path); 62if (!path.StartsWith(Path, StringComparison.OrdinalIgnoreCase)) 64var message = Resources.FormatVirtualFileSystem_FileDoesNotBelongToDirectory(path, Path); 89if (!path.StartsWith(Path, StringComparison.OrdinalIgnoreCase)) 91throw new InvalidOperationException(Resources.FormatVirtualFileSystem_FileDoesNotBelongToDirectory(path, Path)); 104var directoryLength = directory.Path.Length; 140while ((index = path.IndexOf('/', directory.Path.Length)) != -1 && index != path.Length) 174var directoryPath = currentDirectory.Path; 175var startIndex = parentDirectory.Path.Length;