3 references to InterlockedCompareExchange
Microsoft.CodeAnalysis.Collections.Package (3)
RoslynImmutableInterlocked.cs (3)
167var interlockedResult = InterlockedCompareExchange(ref location, newValue, oldValue); 208var interlockedResult = InterlockedCompareExchange(ref location, newValue, oldValue); 254return InterlockedCompareExchange(ref location, value, default(ImmutableSegmentedHashSet<T>)).IsDefault;