3 references to InterlockedCompareExchange
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (3)
src\Dependencies\Collections\RoslynImmutableInterlocked.cs (3)
166
var interlockedResult =
InterlockedCompareExchange
(ref location, newValue, oldValue);
207
var interlockedResult =
InterlockedCompareExchange
(ref location, newValue, oldValue);
253
return
InterlockedCompareExchange
(ref location, value, default(ImmutableSegmentedHashSet<T>)).IsDefault;