3 references to InterlockedCompareExchange
Microsoft.CodeAnalysis (3)
src\Dependencies\Collections\RoslynImmutableInterlocked.cs (3)
46
var interlockedResult =
InterlockedCompareExchange
(ref location, newValue, oldValue);
87
var interlockedResult =
InterlockedCompareExchange
(ref location, newValue, oldValue);
133
return
InterlockedCompareExchange
(ref location, value, default(ImmutableSegmentedList<T>)).IsDefault;