4 writes to _cts
Microsoft.CodeAnalysis.Workspaces (4)
Utilities\CancellationSeries.cs (4)
38
_cts
= new CancellationTokenSource();
78
var priorSource = Volatile.Read(ref
_cts
);
81
var candidate = Interlocked.CompareExchange(ref
_cts
, nextSource, priorSource);
116
var source = Interlocked.Exchange(ref
_cts
, null);
2 references to _cts
Microsoft.CodeAnalysis.Workspaces (2)
Utilities\CancellationSeries.cs (2)
39
_cts
.Cancel();
48
=>
_cts
is { IsCancellationRequested: false };