src\libraries\System.Private.CoreLib\src\System\UInt64.cs (31)
70if (m_value < i) return -1;
71if (m_value > i) return 1;
82if (m_value < value) return -1;
83if (m_value > value) return 1;
93return m_value == ((ulong)obj).m_value;
99return m_value == obj;
105return ((int)m_value) ^ (int)(m_value >> 32);
110return Number.UInt64ToDecStr(m_value);
115return Number.UInt64ToDecStr(m_value);
120return Number.FormatUInt64(m_value, format, null);
125return Number.FormatUInt64(m_value, format, provider);
130return Number.TryFormatUInt64(m_value, format, provider, destination, out charsWritten);
136return Number.TryFormatUInt64(m_value, format, provider, utf8Destination, out bytesWritten);
196return Convert.ToBoolean(m_value);
201return Convert.ToChar(m_value);
206return Convert.ToSByte(m_value);
211return Convert.ToByte(m_value);
216return Convert.ToInt16(m_value);
221return Convert.ToUInt16(m_value);
226return Convert.ToInt32(m_value);
231return Convert.ToUInt32(m_value);
236return Convert.ToInt64(m_value);
241return m_value;
246return Convert.ToSingle(m_value);
251return Convert.ToDouble(m_value);
256return Convert.ToDecimal(m_value);
429int IBinaryInteger<ulong>.GetShortestBitLength() => (sizeof(ulong) * 8) - BitOperations.LeadingZeroCount(m_value);
437if (BinaryPrimitives.TryWriteUInt64BigEndian(destination, m_value))
450if (BinaryPrimitives.TryWriteUInt64LittleEndian(destination, m_value))