1 write to _nameToProvider
Microsoft.CodeAnalysis.Features (1)
Completion\CompletionService.ProviderManager.cs (1)
39
_nameToProvider
= new Lazy<ImmutableDictionary<string, CompletionProvider>>(LoadImportedProvidersAndCreateNameMap, LazyThreadSafetyMode.PublicationOnly);
2 references to _nameToProvider
Microsoft.CodeAnalysis.Features (2)
Completion\CompletionService.ProviderManager.cs (2)
156
if (
_nameToProvider
.Value.TryGetValue(item.ProviderName, out var provider))
219
_ =
_nameToProvider
.Value;