1 interface inheriting from ISignedNumber
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Numerics\IFloatingPoint.cs (1)
11ISignedNumber<TSelf>
8 implementations of ISignedNumber
System.Private.CoreLib (6)
src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
20ISignedNumber<Int128>,
src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
26ISignedNumber<short>,
src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
26ISignedNumber<int>,
src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
26ISignedNumber<long>,
src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (1)
35ISignedNumber<nint>,
src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
26ISignedNumber<sbyte>,
System.Runtime.Numerics (2)
System\Numerics\BigInteger.cs (1)
23ISignedNumber<BigInteger>
System\Numerics\Complex.cs (1)
22ISignedNumber<Complex>,
34 references to ISignedNumber
System.Linq (1)
System\Linq\Sum.cs (1)
81where T : struct, IBinaryInteger<T>, ISignedNumber<T>, IMinMaxValue<T>
System.Private.CoreLib (28)
src\libraries\System.Private.CoreLib\src\System\Decimal.cs (2)
1817/// <inheritdoc cref="ISignedNumber{TSelf}.NegativeOne" /> 1818static decimal ISignedNumber<decimal>.NegativeOne => NegativeOne;
src\libraries\System.Private.CoreLib\src\System\Double.cs (2)
1779/// <inheritdoc cref="ISignedNumber{TSelf}.NegativeOne" /> 1780static double ISignedNumber<double>.NegativeOne => NegativeOne;
src\libraries\System.Private.CoreLib\src\System\Half.cs (1)
2205/// <inheritdoc cref="ISignedNumber{TSelf}.NegativeOne" />
src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
2040/// <inheritdoc cref="ISignedNumber{TSelf}.NegativeOne" />
src\libraries\System.Private.CoreLib\src\System\Int16.cs (2)
1327/// <inheritdoc cref="ISignedNumber{TSelf}.NegativeOne" /> 1328static short ISignedNumber<short>.NegativeOne => NegativeOne;
src\libraries\System.Private.CoreLib\src\System\Int32.cs (2)
1393/// <inheritdoc cref="ISignedNumber{TSelf}.NegativeOne" /> 1394static int ISignedNumber<int>.NegativeOne => NegativeOne;
src\libraries\System.Private.CoreLib\src\System\Int64.cs (2)
1396/// <inheritdoc cref="ISignedNumber{TSelf}.NegativeOne" /> 1397static long ISignedNumber<long>.NegativeOne => NegativeOne;
src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (2)
1396/// <inheritdoc cref="ISignedNumber{TSelf}.NegativeOne" /> 1397static nint ISignedNumber<nint>.NegativeOne => -1;
src\libraries\System.Private.CoreLib\src\System\Numerics\ISignedNumber.cs (1)
10where TSelf : ISignedNumber<TSelf>?
src\libraries\System.Private.CoreLib\src\System\Numerics\TotalOrderIeee754Comparer.cs (1)
71where TInteger : struct, IBinaryInteger<TInteger>, ISignedNumber<TInteger>
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector.cs (1)
94where T : ISignedNumber<T>
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NFloat.cs (2)
1823/// <inheritdoc cref="ISignedNumber{TSelf}.NegativeOne" /> 1824static NFloat ISignedNumber<NFloat>.NegativeOne => new NFloat(NativeType.NegativeOne);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector128.cs (2)
128where T : ISignedNumber<T> 130/// <summary>Gets a new vector with all elements initialized to <see cref="ISignedNumber{TSelf}.NegativeOne" />.</summary>
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector256.cs (1)
123where T : ISignedNumber<T>
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector512.cs (1)
122where T : ISignedNumber<T>
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector64.cs (1)
95where T : ISignedNumber<T>
src\libraries\System.Private.CoreLib\src\System\SByte.cs (2)
1290/// <inheritdoc cref="ISignedNumber{TSelf}.NegativeOne" /> 1291static sbyte ISignedNumber<sbyte>.NegativeOne => NegativeOne;
src\libraries\System.Private.CoreLib\src\System\Single.cs (2)
1695/// <inheritdoc cref="ISignedNumber{TSelf}.NegativeOne" /> 1696static float ISignedNumber<float>.NegativeOne => NegativeOne;
System.Runtime (1)
artifacts\obj\System.Runtime\Debug\net10.0\System.Runtime.Forwards.cs (1)
398[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Numerics.ISignedNumber<>))]
System.Runtime.Numerics (4)
System\Numerics\BigInteger.cs (2)
5370/// <inheritdoc cref="ISignedNumber{TSelf}.NegativeOne" /> 5371static BigInteger ISignedNumber<BigInteger>.NegativeOne => MinusOne;
System\Numerics\Complex.cs (2)
2192/// <inheritdoc cref="ISignedNumber{TSelf}.NegativeOne" /> 2193static Complex ISignedNumber<Complex>.NegativeOne => new Complex(-1.0, 0.0);