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))] 123if (!_timeoutOrCancellationSource!.TryReset()) 150_timeoutOrCancellationSource?.Dispose(); 683_timeoutOrCancellationSource?.Cancel(); 719IPAddress address = await getAddress(getAddressArg, _timeoutOrCancellationSource.Token).ConfigureAwait(false); 724_timeoutOrCancellationSource.CancelAfter(timeout);
System\Net\NetworkInformation\Ping.PingUtility.cs (1)
76CancellationToken timeoutOrCancellationToken = _timeoutOrCancellationSource!.Token;
System\Net\NetworkInformation\Ping.RawSocket.cs (1)
330CancellationToken timeoutOrCancellationToken = _timeoutOrCancellationSource!.Token;