2 writes to _pendingSendCts
System.Net.Mail (2)
System\Net\Mail\SmtpClient.cs (2)
94
_pendingSendCts
= new CancellationTokenSource();
666
CancellationTokenSource currentCts = Interlocked.Exchange(ref
_pendingSendCts
, new CancellationTokenSource());
4 references to _pendingSendCts
System.Net.Mail (4)
System\Net\Mail\SmtpClient.cs (4)
90
[MemberNotNull(nameof(
_pendingSendCts
))]
463
cts = CancellationTokenSource.CreateLinkedTokenSource(
_pendingSendCts
.Token, cancellationToken);
468
cancellationToken =
_pendingSendCts
.Token;
802
_pendingSendCts
.Cancel();