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