src\runtime\src\libraries\System.Private.CoreLib\src\System\Byte.cs (29)
66return m_value - (((byte)value).m_value);
71return m_value - value;
81return m_value == ((byte)obj).m_value;
87return m_value == obj;
93return m_value;
138return Number.UInt32ToDecStr(m_value);
143return Number.FormatUInt32(m_value, format, null);
148return Number.UInt32ToDecStr(m_value);
153return Number.FormatUInt32(m_value, format, provider);
158return Number.TryFormatUInt32(m_value, format, provider, destination, out charsWritten);
164return Number.TryFormatUInt32(m_value, format, provider, utf8Destination, out bytesWritten);
178return Convert.ToBoolean(m_value);
183return Convert.ToChar(m_value);
188return Convert.ToSByte(m_value);
193return m_value;
198return Convert.ToInt16(m_value);
203return Convert.ToUInt16(m_value);
208return Convert.ToInt32(m_value);
213return Convert.ToUInt32(m_value);
218return Convert.ToInt64(m_value);
223return Convert.ToUInt64(m_value);
228return Convert.ToSingle(m_value);
233return Convert.ToDouble(m_value);
238return Convert.ToDecimal(m_value);
360int IBinaryInteger<byte>.GetShortestBitLength() => (sizeof(byte) * 8) - LeadingZeroCount(m_value);
370destination[0] = m_value;
387destination[0] = m_value;