18 implementations of ToUInt64
Microsoft.Gen.Logging.Generated.Tests (1)
parent\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)
629ulong 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)
30 references to ToUInt64
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\ComInterop\DynamicVariantExtensions.cs (1)
69case TypeCode.UInt64: variant = ComVariant.Create(value.ToUInt64(ci)); break;
Microsoft.VisualBasic.Core (18)
Microsoft\VisualBasic\CompilerServices\Conversions.vb (15)
132Return CBool(ValueInterface.ToUInt64(Nothing)) 275Return CByte(ValueInterface.ToUInt64(Nothing)) 422Return CSByte(ValueInterface.ToUInt64(Nothing)) 565Return CShort(ValueInterface.ToUInt64(Nothing)) 711Return CUShort(ValueInterface.ToUInt64(Nothing)) 854Return CInt(ValueInterface.ToUInt64(Nothing)) 999Return CUInt(ValueInterface.ToUInt64(Nothing)) 1145Return CLng(ValueInterface.ToUInt64(Nothing)) 1292Return CULng(ValueInterface.ToUInt64(Nothing)) 1297Return ValueInterface.ToUInt64(Nothing) 1451Return CDec(ValueInterface.ToUInt64(Nothing)) 1691Return CSng(ValueInterface.ToUInt64(Nothing)) 1836Return CDbl(ValueInterface.ToUInt64(Nothing)) 2286Return CStr(ValueInterface.ToUInt64(Nothing)) 2431Case TypeCode.UInt64 : Return CastUInt64Enum(iconv.ToUInt64(Nothing), TargetType)
Microsoft\VisualBasic\CompilerServices\ObjectType.vb (1)
3668Return iconv.ToUInt64(Nothing)
Microsoft\VisualBasic\Conversion.vb (2)
323Return Hex(ValueInterface.ToUInt64(Nothing)) 434Return Oct(ValueInterface.ToUInt64(Nothing))
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);