4 references to _parsedSnippetsCache
Microsoft.CodeAnalysis.LanguageServer.Protocol (4)
Handler\InlineCompletions\XmlSnippetParser.cs (4)
38
if (
_parsedSnippetsCache
.TryGetValue(matchingSnippetInfo.Title, out var cachedSnippet))
62
_parsedSnippetsCache
.TryAdd(matchingSnippetInfo.Title, parsedSnippet);
114
public int GetCachedSnippetsCount() => _snippetParser.
_parsedSnippetsCache
.Count;
116
public ParsedXmlSnippet GetCachedSnippet(string snippet) => _snippetParser.
_parsedSnippetsCache
[snippet]!;