59 references to CompareExchange
Microsoft.CodeAnalysis (2)
Microsoft.CodeAnalysis.CSharp (2)
Microsoft.CodeAnalysis.VisualBasic (8)
Microsoft.CodeAnalysis.Workspaces (1)
Microsoft.Extensions.Options (1)
Microsoft.ML.Data (1)
System.Collections.Immutable (4)
System.ComponentModel.Composition (1)
System.Diagnostics.DiagnosticSource (4)
System.Diagnostics.TraceSource (1)
System.Linq.Expressions (3)
System.Net.Http (1)
System.Net.HttpListener (1)
System.Net.Requests (1)
System.Private.CoreLib (14)
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs (5)
4565oldValue = Interlocked.CompareExchange(ref m_continuationObject, list, expected);
4622if ((m_continuationObject != null) || (Interlocked.CompareExchange(ref m_continuationObject, tc, null) != null))
4646continuationsLocalRef = Interlocked.CompareExchange(ref m_continuationObject, new List<object?>(), continuationObject);
6114object? failedOrCanceled = Interlocked.CompareExchange(ref m_stateObject, completedTask, null);
6133failedOrCanceled = Interlocked.CompareExchange(ref m_stateObject, new List<Task> { first, completedTask }, first);
System.Private.Xml (1)
System.Private.Xml.Linq (1)
System.Runtime.Caching (1)
System.Text.Encoding.CodePages (4)
System.Transactions.Local (6)
System.Xaml (1)