19 implementations of ToUInt64
Microsoft.AspNetCore.Mvc.TagHelpers.Test (1)
LinkTagHelperTest.cs (1)
1303public ulong ToUInt64(IFormatProvider provider)
Microsoft.Build.Engine.UnitTests (1)
BackEnd\TaskBuilderTestTask.cs (1)
58public ulong ToUInt64(IFormatProvider provider) => Value.ToUInt64(provider);
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 (16)
src\libraries\System.Private.CoreLib\src\System\Boolean.cs (1)
371ulong IConvertible.ToUInt64(IFormatProvider? provider)
src\libraries\System.Private.CoreLib\src\System\Byte.cs (1)
227ulong IConvertible.ToUInt64(IFormatProvider? provider)
src\libraries\System.Private.CoreLib\src\System\Char.cs (1)
562ulong IConvertible.ToUInt64(IFormatProvider? provider)
src\libraries\System.Private.CoreLib\src\System\DateTime.cs (1)
1968ulong IConvertible.ToUInt64(IFormatProvider? provider) => throw InvalidCast(nameof(UInt64));
src\libraries\System.Private.CoreLib\src\System\DBNull.cs (1)
87ulong IConvertible.ToUInt64(IFormatProvider? provider)
src\libraries\System.Private.CoreLib\src\System\Decimal.cs (1)
1079ulong IConvertible.ToUInt64(IFormatProvider? provider)
src\libraries\System.Private.CoreLib\src\System\Double.cs (1)
497ulong IConvertible.ToUInt64(IFormatProvider? provider)
src\libraries\System.Private.CoreLib\src\System\Enum.cs (1)
2186ulong IConvertible.ToUInt64(IFormatProvider? provider) => Convert.ToUInt64(GetValue());
src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
230ulong IConvertible.ToUInt64(IFormatProvider? provider)
src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
245ulong IConvertible.ToUInt64(IFormatProvider? provider)
src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
242ulong IConvertible.ToUInt64(IFormatProvider? provider)
src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
233ulong IConvertible.ToUInt64(IFormatProvider? provider)
src\libraries\System.Private.CoreLib\src\System\Single.cs (1)
492ulong IConvertible.ToUInt64(IFormatProvider? provider)
src\libraries\System.Private.CoreLib\src\System\UInt16.cs (1)
224ulong IConvertible.ToUInt64(IFormatProvider? provider)
src\libraries\System.Private.CoreLib\src\System\UInt32.cs (1)
240ulong IConvertible.ToUInt64(IFormatProvider? provider)
src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
239ulong IConvertible.ToUInt64(IFormatProvider? provider)
30 references to ToUInt64
Microsoft.Build.Engine.UnitTests (1)
BackEnd\TaskBuilderTestTask.cs (1)
58public ulong ToUInt64(IFormatProvider provider) => Value.ToUInt64(provider);
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\libraries\System.Private.CoreLib\src\System\Convert.cs (6)
155TypeCode.UInt64 => v.ToUInt64(provider), 198return value.ToUInt64(provider); 270return ic.ToUInt64(provider); 1340return value == null ? 0 : ((IConvertible)value).ToUInt64(null); 1346return value == null ? 0 : ((IConvertible)value).ToUInt64(provider); 1450return ((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);