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