1 interface inheriting from ISignedNumber
System.Private.CoreLib (1)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\IFloatingPoint.cs (1)
14
ISignedNumber
<TSelf>
9 implementations of ISignedNumber
System.Private.CoreLib (6)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
21
ISignedNumber
<Int128>,
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
27
ISignedNumber
<short>,
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
27
ISignedNumber
<int>,
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
27
ISignedNumber
<long>,
src\runtime\src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (1)
36
ISignedNumber
<nint>,
src\runtime\src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
27
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)
24
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)
1827
/// <inheritdoc cref="
ISignedNumber
{TSelf}.NegativeOne" />
1828
static decimal
ISignedNumber
<decimal>.NegativeOne => NegativeOne;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Double.cs (2)
1872
/// <inheritdoc cref="
ISignedNumber
{TSelf}.NegativeOne" />
1873
static double
ISignedNumber
<double>.NegativeOne => NegativeOne;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Half.cs (1)
2288
/// <inheritdoc cref="
ISignedNumber
{TSelf}.NegativeOne" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
2059
/// <inheritdoc cref="
ISignedNumber
{TSelf}.NegativeOne" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int16.cs (2)
1358
/// <inheritdoc cref="
ISignedNumber
{TSelf}.NegativeOne" />
1359
static short
ISignedNumber
<short>.NegativeOne => NegativeOne;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int32.cs (2)
1409
/// <inheritdoc cref="
ISignedNumber
{TSelf}.NegativeOne" />
1410
static int
ISignedNumber
<int>.NegativeOne => NegativeOne;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int64.cs (2)
1412
/// <inheritdoc cref="
ISignedNumber
{TSelf}.NegativeOne" />
1413
static long
ISignedNumber
<long>.NegativeOne => NegativeOne;
src\runtime\src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (2)
1425
/// <inheritdoc cref="
ISignedNumber
{TSelf}.NegativeOne" />
1426
static nint
ISignedNumber
<nint>.NegativeOne => -1;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\BFloat16.cs (2)
531
where TInteger : unmanaged, IBinaryInteger<TInteger>,
ISignedNumber
<TInteger>
2009
/// <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)
96
where TInteger : struct, IBinaryInteger<TInteger>,
ISignedNumber
<TInteger>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Vector.cs (1)
97
where T :
ISignedNumber
<T>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NFloat.cs (2)
1788
/// <inheritdoc cref="
ISignedNumber
{TSelf}.NegativeOne" />
1789
static NFloat
ISignedNumber
<NFloat>.NegativeOne => new NFloat(NativeType.NegativeOne);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector128.cs (3)
130
where T :
ISignedNumber
<T>
132
/// <summary>Gets a new vector with all elements initialized to <see cref="
ISignedNumber
{TSelf}.NegativeOne" />.</summary>
140
/// <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)
125
where T :
ISignedNumber
<T>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector512.cs (1)
125
where T :
ISignedNumber
<T>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector64.cs (1)
98
where T :
ISignedNumber
<T>
src\runtime\src\libraries\System.Private.CoreLib\src\System\SByte.cs (2)
1337
/// <inheritdoc cref="
ISignedNumber
{TSelf}.NegativeOne" />
1338
static sbyte
ISignedNumber
<sbyte>.NegativeOne => NegativeOne;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Single.cs (2)
1766
/// <inheritdoc cref="
ISignedNumber
{TSelf}.NegativeOne" />
1767
static float
ISignedNumber
<float>.NegativeOne => NegativeOne;
System.Runtime (1)
src\runtime\artifacts\obj\System.Runtime\Release\net12.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)
6137
/// <inheritdoc cref="
ISignedNumber
{TSelf}.NegativeOne" />
6138
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)
2066
/// <inheritdoc cref="
ISignedNumber
{TSelf}.NegativeOne" />
2067
static Complex<T>
ISignedNumber
<Complex<T>>.NegativeOne => new(-T.One, T.Zero);