20 implementations of TryConvertFromSaturating
System.Private.CoreLib (18)
src\libraries\System.Private.CoreLib\src\System\Byte.cs (1)
752
static bool INumberBase<byte>.
TryConvertFromSaturating
<TOther>(TOther value, out byte result) => TryConvertFromSaturating(value, out result);
src\libraries\System.Private.CoreLib\src\System\Char.cs (1)
1573
static bool INumberBase<char>.
TryConvertFromSaturating
<TOther>(TOther value, out char result)
src\libraries\System.Private.CoreLib\src\System\Decimal.cs (1)
1564
static bool INumberBase<decimal>.
TryConvertFromSaturating
<TOther>(TOther value, out decimal result)
src\libraries\System.Private.CoreLib\src\System\Double.cs (1)
1217
static bool INumberBase<double>.
TryConvertFromSaturating
<TOther>(TOther value, out double result)
src\libraries\System.Private.CoreLib\src\System\Half.cs (1)
1919
static bool INumberBase<Half>.
TryConvertFromSaturating
<TOther>(TOther value, out Half result)
src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
1569
static bool INumberBase<Int128>.
TryConvertFromSaturating
<TOther>(TOther value, out Int128 result) => TryConvertFromSaturating(value, out result);
src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
946
static bool INumberBase<short>.
TryConvertFromSaturating
<TOther>(TOther value, out short result) => TryConvertFromSaturating(value, out result);
src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
987
static bool INumberBase<int>.
TryConvertFromSaturating
<TOther>(TOther value, out int result) => TryConvertFromSaturating(value, out result);
src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
984
static bool INumberBase<long>.
TryConvertFromSaturating
<TOther>(TOther value, out long result) => TryConvertFromSaturating(value, out result);
src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (1)
979
static bool INumberBase<nint>.
TryConvertFromSaturating
<TOther>(TOther value, out nint result) => TryConvertFromSaturating(value, out result);
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NFloat.cs (1)
1401
static bool INumberBase<NFloat>.
TryConvertFromSaturating
<TOther>(TOther value, out NFloat result)
src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
909
static bool INumberBase<sbyte>.
TryConvertFromSaturating
<TOther>(TOther value, out sbyte result) => TryConvertFromSaturating(value, out result);
src\libraries\System.Private.CoreLib\src\System\Single.cs (1)
1236
static bool INumberBase<float>.
TryConvertFromSaturating
<TOther>(TOther value, out float result)
src\libraries\System.Private.CoreLib\src\System\UInt128.cs (1)
1639
static bool INumberBase<UInt128>.
TryConvertFromSaturating
<TOther>(TOther value, out UInt128 result) => TryConvertFromSaturating(value, out result);
src\libraries\System.Private.CoreLib\src\System\UInt16.cs (1)
771
static bool INumberBase<ushort>.
TryConvertFromSaturating
<TOther>(TOther value, out ushort result) => TryConvertFromSaturating(value, out result);
src\libraries\System.Private.CoreLib\src\System\UInt32.cs (1)
810
static bool INumberBase<uint>.
TryConvertFromSaturating
<TOther>(TOther value, out uint result) => TryConvertFromSaturating(value, out result);
src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
809
static bool INumberBase<ulong>.
TryConvertFromSaturating
<TOther>(TOther value, out ulong result) => TryConvertFromSaturating(value, out result);
src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (1)
812
static bool INumberBase<nuint>.
TryConvertFromSaturating
<TOther>(TOther value, out nuint result) => TryConvertFromSaturating(value, out result);
System.Runtime.Numerics (2)
System\Numerics\BigInteger.cs (1)
4305
static bool INumberBase<BigInteger>.
TryConvertFromSaturating
<TOther>(TOther value, out BigInteger result) => TryConvertFromSaturating(value, out result);
System\Numerics\Complex.cs (1)
1483
static bool INumberBase<Complex>.
TryConvertFromSaturating
<TOther>(TOther value, out Complex result)
21 references to TryConvertFromSaturating
System.Private.CoreLib (19)
src\libraries\System.Private.CoreLib\src\System\Byte.cs (1)
750
/// <inheritdoc cref="INumberBase{TSelf}.
TryConvertFromSaturating
{TOther}(TOther, out TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Char.cs (1)
1571
/// <inheritdoc cref="INumberBase{TSelf}.
TryConvertFromSaturating
{TOther}(TOther, out TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Decimal.cs (1)
1562
/// <inheritdoc cref="INumberBase{TSelf}.
TryConvertFromSaturating
{TOther}(TOther, out TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Double.cs (1)
1215
/// <inheritdoc cref="INumberBase{TSelf}.
TryConvertFromSaturating
{TOther}(TOther, out TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Half.cs (1)
1917
/// <inheritdoc cref="INumberBase{TSelf}.
TryConvertFromSaturating
{TOther}(TOther, out TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
1567
/// <inheritdoc cref="INumberBase{TSelf}.
TryConvertFromSaturating
{TOther}(TOther, out TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
944
/// <inheritdoc cref="INumberBase{TSelf}.
TryConvertFromSaturating
{TOther}(TOther, out TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
985
/// <inheritdoc cref="INumberBase{TSelf}.
TryConvertFromSaturating
{TOther}(TOther, out TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
982
/// <inheritdoc cref="INumberBase{TSelf}.
TryConvertFromSaturating
{TOther}(TOther, out TSelf)" />
src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (1)
977
/// <inheritdoc cref="INumberBase{TSelf}.
TryConvertFromSaturating
{TOther}(TOther, out TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Numerics\INumberBase.cs (1)
92
else if (!TSelf.
TryConvertFromSaturating
(value, out result) && !TOther.TryConvertToSaturating<TSelf>(value, out result))
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NFloat.cs (1)
1399
/// <inheritdoc cref="INumberBase{TSelf}.
TryConvertFromSaturating
{TOther}(TOther, out TSelf)" />
src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
907
/// <inheritdoc cref="INumberBase{TSelf}.
TryConvertFromSaturating
{TOther}(TOther, out TSelf)" />
src\libraries\System.Private.CoreLib\src\System\Single.cs (1)
1234
/// <inheritdoc cref="INumberBase{TSelf}.
TryConvertFromSaturating
{TOther}(TOther, out TSelf)" />
src\libraries\System.Private.CoreLib\src\System\UInt128.cs (1)
1637
/// <inheritdoc cref="INumberBase{TSelf}.
TryConvertFromSaturating
{TOther}(TOther, out TSelf)" />
src\libraries\System.Private.CoreLib\src\System\UInt16.cs (1)
769
/// <inheritdoc cref="INumberBase{TSelf}.
TryConvertFromSaturating
{TOther}(TOther, out TSelf)" />
src\libraries\System.Private.CoreLib\src\System\UInt32.cs (1)
808
/// <inheritdoc cref="INumberBase{TSelf}.
TryConvertFromSaturating
{TOther}(TOther, out TSelf)" />
src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
807
/// <inheritdoc cref="INumberBase{TSelf}.
TryConvertFromSaturating
{TOther}(TOther, out TSelf)" />
src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (1)
810
/// <inheritdoc cref="INumberBase{TSelf}.
TryConvertFromSaturating
{TOther}(TOther, out TSelf)" />
System.Runtime.Numerics (2)
System\Numerics\BigInteger.cs (1)
4303
/// <inheritdoc cref="INumberBase{TSelf}.
TryConvertFromSaturating
{TOther}(TOther, out TSelf)" />
System\Numerics\Complex.cs (1)
1481
/// <inheritdoc cref="INumberBase{TSelf}.
TryConvertFromSaturating
{TOther}(TOther, out TSelf)" />