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