26 references to IsNegative
System.Runtime.Numerics (26)
System\Numerics\BigInteger.cs (26)
3918if (IsNegative(value)) 4176return IsNegative(x) ? y : x; 4201return IsNegative(x) ? x : y; 4693actualResult = IsNegative(value) ? byte.MinValue : byte.MaxValue; 4710actualResult = IsNegative(value) ? char.MinValue : char.MaxValue; 4746actualResult = IsNegative(value) ? short.MinValue : short.MaxValue; 4763actualResult = IsNegative(value) ? int.MinValue : int.MaxValue; 4807actualResult = IsNegative(value) ? sbyte.MinValue : sbyte.MaxValue; 4830actualResult = IsNegative(value) ? ushort.MinValue : ushort.MaxValue; 4844IsNegative(value) ? uint.MinValue : (uint)value; 4851IsNegative(value) ? ulong.MinValue : (ulong)value; 4858IsNegative(value) ? UInt128.MinValue : (UInt128)value; 4865IsNegative(value) ? nuint.MinValue : (nuint)value; 4888if (IsNegative(value)) 4911if (IsNegative(value)) 4951actualResult = IsNegative(value) ? (short)(~value._bits[0] + 1) : (short)value._bits[0]; 4967actualResult = IsNegative(value) ? (int)(~value._bits[0] + 1) : (int)value._bits[0]; 4993if (IsNegative(value)) 5038if (IsNegative(value)) 5069if (IsNegative(value)) 5096actualResult = IsNegative(value) ? (sbyte)(~value._bits[0] + 1) : (sbyte)value._bits[0]; 5120if (IsNegative(value)) 5143if (IsNegative(value)) 5174if (IsNegative(value)) 5219if (IsNegative(value)) 5250if (IsNegative(value))