2 writes to _timeoutOrCancellationSource
System.Net.Ping (2)
System\Net\NetworkInformation\Ping.cs (2)
87
_timeoutOrCancellationSource
??= new();
125
_timeoutOrCancellationSource
= null;
8 references to _timeoutOrCancellationSource
System.Net.Ping (8)
System\Net\NetworkInformation\Ping.cs (6)
78
[MemberNotNull(nameof(
_timeoutOrCancellationSource
))]
123
if (!
_timeoutOrCancellationSource
!.TryReset())
150
_timeoutOrCancellationSource
?.Dispose();
683
_timeoutOrCancellationSource
?.Cancel();
719
IPAddress address = await getAddress(getAddressArg,
_timeoutOrCancellationSource
.Token).ConfigureAwait(false);
724
_timeoutOrCancellationSource
.CancelAfter(timeout);
System\Net\NetworkInformation\Ping.PingUtility.cs (1)
76
CancellationToken timeoutOrCancellationToken =
_timeoutOrCancellationSource
!.Token;
System\Net\NetworkInformation\Ping.RawSocket.cs (1)
330
CancellationToken timeoutOrCancellationToken =
_timeoutOrCancellationSource
!.Token;