4 references to Initialize
Microsoft.CodeAnalysis.Workspaces (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\TokenStream.Changes.cs (1)
32var map = InterlockedOperations.Initialize(ref _map, () => new ConcurrentDictionary<int, TriviaData>(concurrencyLevel: 1, capacity: 8));
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker.cs (1)
255var buildLock = InterlockedOperations.Initialize(
Workspace\Solution\SolutionCompilationState.SymbolToProjectId.cs (1)
114InterlockedOperations.Initialize(ref _unrootedSymbolToProjectId, s_createTable);
Workspace\Solution\VersionSource\RecoverableTextAndVersion.RecoverableText.cs (1)
55private SemaphoreSlim Gate => InterlockedOperations.Initialize(ref _lazyGate, SemaphoreSlimFactory.Instance);