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)
1782
static double ISignedNumber<double>.
NegativeOne
=> NegativeOne;
src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
1329
static short ISignedNumber<short>.
NegativeOne
=> NegativeOne;
src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
1396
static int ISignedNumber<int>.
NegativeOne
=> NegativeOne;
src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
1399
static long ISignedNumber<long>.
NegativeOne
=> NegativeOne;
src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (1)
1399
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)
1301
static sbyte ISignedNumber<sbyte>.
NegativeOne
=> NegativeOne;
src\libraries\System.Private.CoreLib\src\System\Single.cs (1)
1698
static float ISignedNumber<float>.
NegativeOne
=> NegativeOne;
System.Runtime.Numerics (2)
System\Numerics\BigInteger.cs (1)
5344
static BigInteger ISignedNumber<BigInteger>.
NegativeOne
=> MinusOne;
System\Numerics\Complex.cs (1)
2254
static Complex ISignedNumber<Complex>.
NegativeOne
=> new(-1.0, 0.0);
22 references to NegativeOne
System.Private.CoreLib (18)
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)
1781
/// <inheritdoc cref="ISignedNumber{TSelf}.
NegativeOne
" />
src\libraries\System.Private.CoreLib\src\System\Half.cs (1)
2204
/// <inheritdoc cref="ISignedNumber{TSelf}.
NegativeOne
" />
src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
2041
/// <inheritdoc cref="ISignedNumber{TSelf}.
NegativeOne
" />
src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
1328
/// <inheritdoc cref="ISignedNumber{TSelf}.
NegativeOne
" />
src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
1395
/// <inheritdoc cref="ISignedNumber{TSelf}.
NegativeOne
" />
src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
1398
/// <inheritdoc cref="ISignedNumber{TSelf}.
NegativeOne
" />
src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (1)
1398
/// <inheritdoc cref="ISignedNumber{TSelf}.
NegativeOne
" />
src\libraries\System.Private.CoreLib\src\System\Numerics\BFloat16.cs (1)
1978
/// <inheritdoc cref="ISignedNumber{TSelf}.
NegativeOne
" />
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector.cs (1)
101
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)
131
/// <summary>Gets a new vector with all elements initialized to <see cref="ISignedNumber{TSelf}.
NegativeOne
" />.</summary>
136
get => Create(T.
NegativeOne
);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector256.cs (1)
130
get => Create(T.
NegativeOne
);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector512.cs (1)
129
get => Create(T.
NegativeOne
);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector64.cs (1)
103
get => Create(T.
NegativeOne
);
src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
1300
/// <inheritdoc cref="ISignedNumber{TSelf}.
NegativeOne
" />
src\libraries\System.Private.CoreLib\src\System\Single.cs (1)
1697
/// <inheritdoc cref="ISignedNumber{TSelf}.
NegativeOne
" />
System.Private.Windows.Core.TestUtilities (2)
XUnit\TestData.cs (2)
45
T.
NegativeOne
,
50
T.Epsilon * T.
NegativeOne
System.Runtime.Numerics (2)
System\Numerics\BigInteger.cs (1)
5343
/// <inheritdoc cref="ISignedNumber{TSelf}.
NegativeOne
" />
System\Numerics\Complex.cs (1)
2253
/// <inheritdoc cref="ISignedNumber{TSelf}.
NegativeOne
" />