12 references to RoslynImmutableInterlocked
Microsoft.CodeAnalysis (12)
DiagnosticAnalyzer\AnalyzerDriver.GroupedAnalyzerActionsForAnalyzer.cs (2)
80
RoslynImmutableInterlocked
.InterlockedInitialize(ref _lazyNodeActionsByKind, analyzerActionsByKind);
98
RoslynImmutableInterlocked
.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)
98
var 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)
64
var 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)
74
var originalList =
RoslynImmutableInterlocked
.InterlockedExchange(ref _list, default);
Syntax\SyntaxTree.cs (1)
373
if (
RoslynImmutableInterlocked
.VolatileRead(ref _lazyChecksum).IsDefault)