1 write to Path
Microsoft.VisualStudio.LanguageServices.Razor (1)
Snippets\SnippetInfo.cs (1)
25Path = path;
7 references to Path
Microsoft.VisualStudio.LanguageServices.Razor (7)
Snippets\SnippetInfo.cs (2)
29CompletionData = new(Path); 66return s.Path == Path;
Snippets\XmlSnippetParser.cs (5)
17logger?.LogInformation($"Reading snippet for {matchingSnippetInfo.Title} with path {matchingSnippetInfo.Path}"); 22logger?.LogCritical(ex, $"Got exception parsing xml snippet {matchingSnippetInfo.Title} from file {matchingSnippetInfo.Path}"); 46var path = snippetInfo.Path; 54throw new InvalidOperationException($"Snippet {snippetInfo.Title} has an invalid file path: {snippetInfo.Path}"); 59var snippet = CodeSnippet.ReadSnippetFromFile(snippetInfo.Path, snippetInfo.Title);