2 writes to Root
Microsoft.CodeAnalysis.Razor.Compiler (2)
Language\DefaultRazorProjectFileSystem.cs (2)
22Root = DefaultBasePath; 35Root = root;
6 references to Root
Microsoft.CodeAnalysis.Razor.Compiler (6)
Language\DefaultRazorProjectFileSystem.cs (6)
63var absoluteBasePath = Root; 90return Root; 119normalizedPath.StartsWith(Root, StringComparison.OrdinalIgnoreCase)) 127var needsSlash = Root[^1] is not '/' && normalizedPath[0] is not '/'; 128var length = Root.Length + normalizedPath.Length + (needsSlash ? 1 : 0); 132state: (Root, normalizedPath, needsSlash),