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