src\runtime\src\libraries\System.Private.CoreLib\src\System\Int32.cs (29)
76if (m_value < i) return -1;
77if (m_value > i) return 1;
88if (m_value < value) return -1;
89if (m_value > value) return 1;
99return m_value == ((int)obj).m_value;
105return m_value == obj;
111return m_value;
116return Number.Int32ToDecStr(m_value);
126return Number.FormatInt32(m_value, 0, null, provider);
131return Number.FormatInt32(m_value, ~0, format, provider);
136return Number.TryFormatInt32(m_value, ~0, format, provider, destination, out charsWritten);
142return Number.TryFormatInt32(m_value, ~0, 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 m_value;
231return Convert.ToUInt32(m_value);
236return Convert.ToInt64(m_value);
241return Convert.ToUInt64(m_value);
246return Convert.ToSingle(m_value);
251return Convert.ToDouble(m_value);
256return Convert.ToDecimal(m_value);
478int value = m_value;
496if (BinaryPrimitives.TryWriteInt32BigEndian(destination, m_value))
509if (BinaryPrimitives.TryWriteInt32LittleEndian(destination, m_value))