1 interface inheriting from ISignedNumber
System.Private.CoreLib (1)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\IFloatingPoint.cs (1)
11
ISignedNumber
<TSelf>
9 implementations of ISignedNumber
System.Private.CoreLib (6)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
20
ISignedNumber
<Int128>,
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
26
ISignedNumber
<short>,
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
26
ISignedNumber
<int>,
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
26
ISignedNumber
<long>,
src\runtime\src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (1)
35
ISignedNumber
<nint>,
src\runtime\src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
26
ISignedNumber
<sbyte>,
System.Runtime.Numerics (3)
System\Numerics\BigInteger.cs (1)
23
ISignedNumber
<BigInteger>,
System\Numerics\Complex.cs (1)
24
ISignedNumber
<Complex>,
System\Numerics\Complex.Generic.cs (1)
22
ISignedNumber
<Complex<T>>,
39 references to ISignedNumber
System.Linq (1)
System\Linq\Sum.cs (1)
80
where 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" />
1809
static decimal
ISignedNumber
<decimal>.NegativeOne => NegativeOne;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Double.cs (2)
1830
/// <inheritdoc cref="
ISignedNumber
{TSelf}.NegativeOne" />
1831
static 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" />
1346
static short
ISignedNumber
<short>.NegativeOne => NegativeOne;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int32.cs (2)
1396
/// <inheritdoc cref="
ISignedNumber
{TSelf}.NegativeOne" />
1397
static int
ISignedNumber
<int>.NegativeOne => NegativeOne;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int64.cs (2)
1399
/// <inheritdoc cref="
ISignedNumber
{TSelf}.NegativeOne" />
1400
static long
ISignedNumber
<long>.NegativeOne => NegativeOne;
src\runtime\src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (2)
1412
/// <inheritdoc cref="
ISignedNumber
{TSelf}.NegativeOne" />
1413
static nint
ISignedNumber
<nint>.NegativeOne => -1;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\BFloat16.cs (2)
532
where 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)
10
where TSelf :
ISignedNumber
<TSelf>?
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\TotalOrderIeee754Comparer.cs (1)
94
where TInteger : struct, IBinaryInteger<TInteger>,
ISignedNumber
<TInteger>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Vector.cs (1)
95
where T :
ISignedNumber
<T>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NFloat.cs (2)
1774
/// <inheritdoc cref="
ISignedNumber
{TSelf}.NegativeOne" />
1775
static NFloat
ISignedNumber
<NFloat>.NegativeOne => new NFloat(NativeType.NegativeOne);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector128.cs (3)
129
where 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)
124
where T :
ISignedNumber
<T>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector512.cs (1)
124
where T :
ISignedNumber
<T>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector64.cs (1)
97
where T :
ISignedNumber
<T>
src\runtime\src\libraries\System.Private.CoreLib\src\System\SByte.cs (2)
1324
/// <inheritdoc cref="
ISignedNumber
{TSelf}.NegativeOne" />
1325
static sbyte
ISignedNumber
<sbyte>.NegativeOne => NegativeOne;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Single.cs (2)
1744
/// <inheritdoc cref="
ISignedNumber
{TSelf}.NegativeOne" />
1745
static 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" />
5536
static BigInteger
ISignedNumber
<BigInteger>.NegativeOne => MinusOne;
System\Numerics\Complex.cs (2)
858
/// <inheritdoc cref="
ISignedNumber
{TSelf}.NegativeOne" />
859
static Complex
ISignedNumber
<Complex>.NegativeOne => new(-1.0, 0.0);
System\Numerics\Complex.Generic.cs (2)
2064
/// <inheritdoc cref="
ISignedNumber
{TSelf}.NegativeOne" />
2065
static Complex<T>
ISignedNumber
<Complex<T>>.NegativeOne => new(-T.One, T.Zero);