2 writes to _pendingSendCts
System.Net.Mail (2)
System\Net\Mail\SmtpClient.cs (2)
95
_pendingSendCts
= new CancellationTokenSource();
699
CancellationTokenSource currentCts = Interlocked.Exchange(ref
_pendingSendCts
, new CancellationTokenSource());
4 references to _pendingSendCts
System.Net.Mail (4)
System\Net\Mail\SmtpClient.cs (4)
91
[MemberNotNull(nameof(
_pendingSendCts
))]
496
cts = CancellationTokenSource.CreateLinkedTokenSource(
_pendingSendCts
.Token, cancellationToken);
501
cancellationToken =
_pendingSendCts
.Token;
835
_pendingSendCts
.Cancel();