3 references to NativeErrorToSocketErrorCount
System.Net.Ping (3)
src\libraries\Common\src\System\Net\Sockets\SocketErrorPal.Unix.cs (3)
14Debug.Assert(s_nativeErrorToSocketError.Count == NativeErrorToSocketErrorCount, 15$"Expected s_nativeErrorToSocketError to have {NativeErrorToSocketErrorCount} count instead of {s_nativeErrorToSocketError.Count}."); 34private static readonly Dictionary<Interop.Error, SocketError> s_nativeErrorToSocketError = new Dictionary<Interop.Error, SocketError>(NativeErrorToSocketErrorCount)