src\runtime\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);
190return Convert.ToBoolean(m_value);
195return Convert.ToChar(m_value);
200return Convert.ToSByte(m_value);
205return Convert.ToByte(m_value);
210return Convert.ToInt16(m_value);
215return Convert.ToUInt16(m_value);
220return Convert.ToInt32(m_value);
225return Convert.ToUInt32(m_value);
230return Convert.ToInt64(m_value);
235return m_value;
240return Convert.ToSingle(m_value);
245return Convert.ToDouble(m_value);
250return Convert.ToDecimal(m_value);
444int IBinaryInteger<ulong>.GetShortestBitLength() => (sizeof(ulong) * 8) - BitOperations.LeadingZeroCount(m_value);
452if (BinaryPrimitives.TryWriteUInt64BigEndian(destination, m_value))
465if (BinaryPrimitives.TryWriteUInt64LittleEndian(destination, m_value))