1 interface inheriting from ISignedNumber
System.Private.CoreLib (1)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\IFloatingPoint.cs (1)
11ISignedNumber<TSelf>
9 implementations of ISignedNumber
System.Private.CoreLib (6)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
20ISignedNumber<Int128>,
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
26ISignedNumber<short>,
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
26ISignedNumber<int>,
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
26ISignedNumber<long>,
src\runtime\src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (1)
35ISignedNumber<nint>,
src\runtime\src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
26ISignedNumber<sbyte>,
System.Runtime.Numerics (3)
System\Numerics\BigInteger.cs (1)
23ISignedNumber<BigInteger>,
System\Numerics\Complex.cs (1)
24ISignedNumber<Complex>,
System\Numerics\Complex.Generic.cs (1)
22ISignedNumber<Complex<T>>,
39 references to ISignedNumber
System.Linq (1)
System\Linq\Sum.cs (1)
80where T : struct, IBinaryInteger<T>, ISignedNumber<T>, IMinMaxValue<T>
System.Private.CoreLib (31)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Decimal.cs (2)
1808/// <inheritdoc cref="ISignedNumber{TSelf}.NegativeOne" /> 1809static decimal ISignedNumber<decimal>.NegativeOne => NegativeOne;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Double.cs (2)
1830/// <inheritdoc cref="ISignedNumber{TSelf}.NegativeOne" /> 1831static double ISignedNumber<double>.NegativeOne => NegativeOne;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Half.cs (1)
2277/// <inheritdoc cref="ISignedNumber{TSelf}.NegativeOne" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
2046/// <inheritdoc cref="ISignedNumber{TSelf}.NegativeOne" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int16.cs (2)
1345/// <inheritdoc cref="ISignedNumber{TSelf}.NegativeOne" /> 1346static short ISignedNumber<short>.NegativeOne => NegativeOne;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int32.cs (2)
1396/// <inheritdoc cref="ISignedNumber{TSelf}.NegativeOne" /> 1397static int ISignedNumber<int>.NegativeOne => NegativeOne;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int64.cs (2)
1399/// <inheritdoc cref="ISignedNumber{TSelf}.NegativeOne" /> 1400static long ISignedNumber<long>.NegativeOne => NegativeOne;
src\runtime\src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (2)
1412/// <inheritdoc cref="ISignedNumber{TSelf}.NegativeOne" /> 1413static nint ISignedNumber<nint>.NegativeOne => -1;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\BFloat16.cs (2)
532where TInteger : unmanaged, IBinaryInteger<TInteger>, ISignedNumber<TInteger> 1999/// <inheritdoc cref="ISignedNumber{TSelf}.NegativeOne" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\ISignedNumber.cs (1)
10where TSelf : ISignedNumber<TSelf>?
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\TotalOrderIeee754Comparer.cs (1)
94where TInteger : struct, IBinaryInteger<TInteger>, ISignedNumber<TInteger>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Vector.cs (1)
95where T : ISignedNumber<T>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NFloat.cs (2)
1774/// <inheritdoc cref="ISignedNumber{TSelf}.NegativeOne" /> 1775static NFloat ISignedNumber<NFloat>.NegativeOne => new NFloat(NativeType.NegativeOne);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector128.cs (3)
129where T : ISignedNumber<T> 131/// <summary>Gets a new vector with all elements initialized to <see cref="ISignedNumber{TSelf}.NegativeOne" />.</summary> 139/// <summary>Gets a new vector with elements that alternate between <see cref="INumberBase{TSelf}.One" /> and <see cref="ISignedNumber{TSelf}.NegativeOne" />, starting with one.</summary>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector256.cs (1)
124where T : ISignedNumber<T>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector512.cs (1)
124where T : ISignedNumber<T>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector64.cs (1)
97where T : ISignedNumber<T>
src\runtime\src\libraries\System.Private.CoreLib\src\System\SByte.cs (2)
1324/// <inheritdoc cref="ISignedNumber{TSelf}.NegativeOne" /> 1325static sbyte ISignedNumber<sbyte>.NegativeOne => NegativeOne;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Single.cs (2)
1744/// <inheritdoc cref="ISignedNumber{TSelf}.NegativeOne" /> 1745static float ISignedNumber<float>.NegativeOne => NegativeOne;
System.Runtime (1)
src\runtime\artifacts\obj\System.Runtime\Release\net11.0\System.Runtime.Forwards.cs (1)
409[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Numerics.ISignedNumber<>))]
System.Runtime.Numerics (6)
System\Numerics\BigInteger.cs (2)
5535/// <inheritdoc cref="ISignedNumber{TSelf}.NegativeOne" /> 5536static BigInteger ISignedNumber<BigInteger>.NegativeOne => MinusOne;
System\Numerics\Complex.cs (2)
858/// <inheritdoc cref="ISignedNumber{TSelf}.NegativeOne" /> 859static Complex ISignedNumber<Complex>.NegativeOne => new(-1.0, 0.0);
System\Numerics\Complex.Generic.cs (2)
2064/// <inheritdoc cref="ISignedNumber{TSelf}.NegativeOne" /> 2065static Complex<T> ISignedNumber<Complex<T>>.NegativeOne => new(-T.One, T.Zero);