3 references to InterlockedCompareExchange
Microsoft.Build.Framework (3)
RoslynImmutableInterlocked.cs (3)
45var interlockedResult = InterlockedCompareExchange(ref location, newValue, oldValue); 86var interlockedResult = InterlockedCompareExchange(ref location, newValue, oldValue); 132return InterlockedCompareExchange(ref location, value, default(ImmutableSegmentedList<T>)).IsDefault;