18 implementations of ToUInt64
Microsoft.Gen.Logging.Generated.Tests (1)
test\Generators\Microsoft.Gen.Logging\TestClasses\FormattableTestExtensions.cs (1)
45public readonly ulong ToUInt64(IFormatProvider? provider) => throw new NotSupportedException();
System.Private.CoreLib (17)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Boolean.cs (1)
371ulong IConvertible.ToUInt64(IFormatProvider? provider)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Byte.cs (1)
221ulong IConvertible.ToUInt64(IFormatProvider? provider)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Char.cs (1)
632ulong IConvertible.ToUInt64(IFormatProvider? provider)
src\runtime\src\libraries\System.Private.CoreLib\src\System\DateTime.cs (1)
1959ulong IConvertible.ToUInt64(IFormatProvider? provider) => throw InvalidCast(nameof(UInt64));
src\runtime\src\libraries\System.Private.CoreLib\src\System\DBNull.cs (1)
87ulong IConvertible.ToUInt64(IFormatProvider? provider)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Decimal.cs (1)
1074ulong IConvertible.ToUInt64(IFormatProvider? provider)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Double.cs (1)
495ulong IConvertible.ToUInt64(IFormatProvider? provider)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Enum.cs (1)
2187ulong IConvertible.ToUInt64(IFormatProvider? provider) => Convert.ToUInt64(GetValue());
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
224ulong IConvertible.ToUInt64(IFormatProvider? provider)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
239ulong IConvertible.ToUInt64(IFormatProvider? provider)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
236ulong IConvertible.ToUInt64(IFormatProvider? provider)
src\runtime\src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
227ulong IConvertible.ToUInt64(IFormatProvider? provider)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Single.cs (1)
488ulong IConvertible.ToUInt64(IFormatProvider? provider)
src\runtime\src\libraries\System.Private.CoreLib\src\System\String.cs (1)
677ulong IConvertible.ToUInt64(IFormatProvider? provider)
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt16.cs (1)
218ulong IConvertible.ToUInt64(IFormatProvider? provider)
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt32.cs (1)
234ulong IConvertible.ToUInt64(IFormatProvider? provider)
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
233ulong IConvertible.ToUInt64(IFormatProvider? provider)
12 references to ToUInt64
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\ComInterop\DynamicVariantExtensions.cs (1)
69case TypeCode.UInt64: variant = ComVariant.Create(value.ToUInt64(ci)); break;
System.Data.Common (3)
System\Data\Common\SQLConvert.cs (1)
533return ((IConvertible)(string)value).ToUInt64(formatProvider);
System\Data\Common\UInt64Storage.cs (2)
196value = ((IConvertible)value).ToUInt64(FormatProvider); 232_values[record] = ((IConvertible)value).ToUInt64(FormatProvider);
System.Private.CoreLib (6)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Convert.cs (6)
154TypeCode.UInt64 => v.ToUInt64(provider), 197return value.ToUInt64(provider); 269return ic.ToUInt64(provider); 1339return value == null ? 0 : ((IConvertible)value).ToUInt64(null); 1345return value == null ? 0 : ((IConvertible)value).ToUInt64(provider); 1449return ((IConvertible)value).ToUInt64(null);
System.Windows.Forms.Design (2)
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (2)
1399ulong leftValue = left.ToUInt64(null); 1400ulong rightValue = right.ToUInt64(null);