3 references to EnsureInitialized
Microsoft.CodeAnalysis.Workspaces (3)
TokenStream.Changes.cs (1)
32var map = LazyInitialization.EnsureInitialized(ref _map, () => new ConcurrentDictionary<int, TriviaData>(concurrencyLevel: 1, capacity: 8));
Workspace\Solution\SolutionState.SymbolToProjectId.cs (1)
70LazyInitialization.EnsureInitialized(ref _unrootedSymbolToProjectId, s_createTable);
Workspace\Solution\WeaklyCachedRecoverableValueSource.cs (1)
69private SemaphoreSlim Gate => LazyInitialization.EnsureInitialized(ref _lazyGate, SemaphoreSlimFactory.Instance);