1 write to _cancellationTokenSource
Microsoft.Extensions.Primitives (1)
CompositeChangeToken.cs (1)
103
_cancellationTokenSource
= new CancellationTokenSource();
9 references to _cancellationTokenSource
Microsoft.Extensions.Primitives (9)
CompositeChangeToken.cs (9)
23
[MemberNotNullWhen(true, nameof(
_cancellationTokenSource
))]
58
return
_cancellationTokenSource
.Token.Register(callback, state);
66
if (
_cancellationTokenSource
!= null &&
_cancellationTokenSource
.Token.IsCancellationRequested)
87
[MemberNotNull(nameof(
_cancellationTokenSource
))]
110
if (
_cancellationTokenSource
.IsCancellationRequested)
127
if (compositeChangeTokenState.
_cancellationTokenSource
== null)
134
if (compositeChangeTokenState.
_cancellationTokenSource
.IsCancellationRequested)
141
compositeChangeTokenState.
_cancellationTokenSource
.Cancel();