9 references to InterlockedCompareExchange
Microsoft.Build.Framework (9)
RoslynImmutableInterlocked.cs (9)
168var interlockedResult = InterlockedCompareExchange(ref location, newValue, oldValue);
211var interlockedResult = InterlockedCompareExchange(ref location, newValue, oldValue);
263return InterlockedCompareExchange(ref location, value, default(ImmutableSegmentedDictionary<TKey, TValue>)).IsDefault;
322var interlockedResult = InterlockedCompareExchange(ref location, updatedCollection, priorCollection);
360var interlockedResult = InterlockedCompareExchange(ref location, updatedCollection, priorCollection);
396var interlockedResult = InterlockedCompareExchange(ref location, updatedCollection, priorCollection);
424var interlockedResult = InterlockedCompareExchange(ref location, updatedCollection, priorCollection);
452var interlockedResult = InterlockedCompareExchange(ref location, updatedCollection, priorCollection);
478var interlockedResult = InterlockedCompareExchange(ref location, updatedCollection, priorCollection);