9 references to InterlockedCompareExchange
Microsoft.CodeAnalysis.CodeStyle (9)
src\Dependencies\Collections\RoslynImmutableInterlocked.cs (9)
290var interlockedResult = InterlockedCompareExchange(ref location, newValue, oldValue); 333var interlockedResult = InterlockedCompareExchange(ref location, newValue, oldValue); 385return InterlockedCompareExchange(ref location, value, default(ImmutableSegmentedDictionary<TKey, TValue>)).IsDefault; 444var interlockedResult = InterlockedCompareExchange(ref location, updatedCollection, priorCollection); 482var interlockedResult = InterlockedCompareExchange(ref location, updatedCollection, priorCollection); 518var interlockedResult = InterlockedCompareExchange(ref location, updatedCollection, priorCollection); 546var interlockedResult = InterlockedCompareExchange(ref location, updatedCollection, priorCollection); 574var interlockedResult = InterlockedCompareExchange(ref location, updatedCollection, priorCollection); 600var interlockedResult = InterlockedCompareExchange(ref location, updatedCollection, priorCollection);