1 write to _map
Microsoft.CodeAnalysis.CodeStyle (1)
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));
2 references to _map
Microsoft.CodeAnalysis.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\TokenStream.Changes.cs (2)
25
=>
_map
?.TryRemove(pairIndex, out _) ?? false;
39
return
_map
?.TryGetValue(key, out triviaInfo) ?? false;