5 references to s_map
Microsoft.CodeAnalysis.LanguageServer.Protocol (5)
Features\Diagnostics\EngineV2\DiagnosticIncrementalAnalyzer.InMemoryStorage.cs (5)
24
return
s_map
.TryGetValue(analyzer, out var analyzerMap) &&
33
var analyzerMap =
s_map
.GetOrAdd(analyzer, _ => new ConcurrentDictionary<(object key, string stateKey), CacheEntry>(concurrencyLevel: 2, capacity: 10));
41
if (!
s_map
.TryGetValue(analyzer, out var analyzerMap))
50
s_map
.TryRemove(analyzer, out _);
57
s_map
.TryRemove(analyzer, out _);