12 references to RoslynImmutableInterlocked
Microsoft.CodeAnalysis (12)
DiagnosticAnalyzer\AnalyzerDriver.GroupedAnalyzerActionsForAnalyzer.cs (2)
80RoslynImmutableInterlocked.InterlockedInitialize(ref _lazyNodeActionsByKind, analyzerActionsByKind); 98RoslynImmutableInterlocked.InterlockedInitialize(ref _lazyOperationActionsByKind, analyzerActionsByKind);
src\Dependencies\Collections\ImmutableSegmentedDictionary`2.cs (1)
56/// <see cref="RoslynImmutableInterlocked"/> class depends on it, as well as others externally.</para>
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+PrivateMarshal.cs (1)
13/// Private helper class for use only by <see cref="RoslynImmutableInterlocked"/> and
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
98var originalDictionary = RoslynImmutableInterlocked.InterlockedExchange(ref _dictionary, default);
src\Dependencies\Collections\ImmutableSegmentedHashSet`1.cs (1)
50/// <see cref="RoslynImmutableInterlocked"/> class depends on it, as well as others externally.</para>
src\Dependencies\Collections\ImmutableSegmentedHashSet`1+PrivateMarshal.cs (1)
13/// Private helper class for use only by <see cref="RoslynImmutableInterlocked"/> and
src\Dependencies\Collections\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
64var originalSet = RoslynImmutableInterlocked.InterlockedExchange(ref _set, default);
src\Dependencies\Collections\ImmutableSegmentedList`1.cs (1)
57/// <see cref="RoslynImmutableInterlocked"/> class depends on it, as well as others externally.</para>
src\Dependencies\Collections\ImmutableSegmentedList`1+PrivateMarshal.cs (1)
13/// Private helper class for use only by <see cref="RoslynImmutableInterlocked"/> and
src\Dependencies\Collections\ImmutableSegmentedList`1+ValueBuilder.cs (1)
74var originalList = RoslynImmutableInterlocked.InterlockedExchange(ref _list, default);
Syntax\SyntaxTree.cs (1)
373if (RoslynImmutableInterlocked.VolatileRead(ref _lazyChecksum).IsDefault)