11 references to RoslynImmutableInterlocked
Microsoft.CodeAnalysis.Workspaces (11)
Diagnostics\Extensions.cs (1)
86return RoslynImmutableInterlocked.GetOrAdd(
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);
Workspace\Solution\SolutionCompilationState.cs (1)
1111tracker = RoslynImmutableInterlocked.GetOrAdd(ref _projectIdToTrackerMap, projectId, s_createCompilationTrackerFunction, this.SolutionState);