11 implementations of NegativeOne
System.Private.CoreLib (9)
src\libraries\System.Private.CoreLib\src\System\Decimal.cs (1)
1818
static decimal ISignedNumber<decimal>.
NegativeOne
=> NegativeOne;
src\libraries\System.Private.CoreLib\src\System\Double.cs (1)
1780
static double ISignedNumber<double>.
NegativeOne
=> NegativeOne;
src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
1328
static short ISignedNumber<short>.
NegativeOne
=> NegativeOne;
src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
1394
static int ISignedNumber<int>.
NegativeOne
=> NegativeOne;
src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
1397
static long ISignedNumber<long>.
NegativeOne
=> NegativeOne;
src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (1)
1397
static nint ISignedNumber<nint>.
NegativeOne
=> -1;
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NFloat.cs (1)
1824
static NFloat ISignedNumber<NFloat>.
NegativeOne
=> new NFloat(NativeType.NegativeOne);
src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
1291
static sbyte ISignedNumber<sbyte>.
NegativeOne
=> NegativeOne;
src\libraries\System.Private.CoreLib\src\System\Single.cs (1)
1696
static float ISignedNumber<float>.
NegativeOne
=> NegativeOne;
System.Runtime.Numerics (2)
System\Numerics\BigInteger.cs (1)
5390
static BigInteger ISignedNumber<BigInteger>.
NegativeOne
=> MinusOne;
System\Numerics\Complex.cs (1)
2193
static Complex ISignedNumber<Complex>.
NegativeOne
=> new Complex(-1.0, 0.0);
21 references to NegativeOne
System.Private.CoreLib (17)
src\libraries\System.Private.CoreLib\src\System\Decimal.cs (1)
1817
/// <inheritdoc cref="ISignedNumber{TSelf}.
NegativeOne
" />
src\libraries\System.Private.CoreLib\src\System\Double.cs (1)
1779
/// <inheritdoc cref="ISignedNumber{TSelf}.
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 (1)
1327
/// <inheritdoc cref="ISignedNumber{TSelf}.
NegativeOne
" />
src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
1393
/// <inheritdoc cref="ISignedNumber{TSelf}.
NegativeOne
" />
src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
1396
/// <inheritdoc cref="ISignedNumber{TSelf}.
NegativeOne
" />
src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (1)
1396
/// <inheritdoc cref="ISignedNumber{TSelf}.
NegativeOne
" />
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector.cs (1)
100
get => Create(T.
NegativeOne
);
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NFloat.cs (1)
1823
/// <inheritdoc cref="ISignedNumber{TSelf}.
NegativeOne
" />
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector128.cs (2)
130
/// <summary>Gets a new vector with all elements initialized to <see cref="ISignedNumber{TSelf}.
NegativeOne
" />.</summary>
135
get => Create(T.
NegativeOne
);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector256.cs (1)
129
get => Create(T.
NegativeOne
);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector512.cs (1)
128
get => Create(T.
NegativeOne
);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector64.cs (1)
101
get => Create(T.
NegativeOne
);
src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
1290
/// <inheritdoc cref="ISignedNumber{TSelf}.
NegativeOne
" />
src\libraries\System.Private.CoreLib\src\System\Single.cs (1)
1695
/// <inheritdoc cref="ISignedNumber{TSelf}.
NegativeOne
" />
System.Private.Windows.Core.TestUtilities (2)
XUnit\TestData.cs (2)
43
T.
NegativeOne
,
48
T.Epsilon * T.
NegativeOne
System.Runtime.Numerics (2)
System\Numerics\BigInteger.cs (1)
5389
/// <inheritdoc cref="ISignedNumber{TSelf}.
NegativeOne
" />
System\Numerics\Complex.cs (1)
2192
/// <inheritdoc cref="ISignedNumber{TSelf}.
NegativeOne
" />