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