25 references to IsNegative
System.Runtime.Numerics (25)
System\Numerics\BigInteger.cs (25)
3923if (IsNegative(value)) 4185return compareResult < 0 || (compareResult == 0 && IsNegative(x)) ? x : y; 4674actualResult = IsNegative(value) ? byte.MinValue : byte.MaxValue; 4691actualResult = IsNegative(value) ? char.MinValue : char.MaxValue; 4727actualResult = IsNegative(value) ? short.MinValue : short.MaxValue; 4744actualResult = IsNegative(value) ? int.MinValue : int.MaxValue; 4788actualResult = IsNegative(value) ? sbyte.MinValue : sbyte.MaxValue; 4811actualResult = IsNegative(value) ? ushort.MinValue : ushort.MaxValue; 4825IsNegative(value) ? uint.MinValue : (uint)value; 4832IsNegative(value) ? ulong.MinValue : (ulong)value; 4839IsNegative(value) ? UInt128.MinValue : (UInt128)value; 4846IsNegative(value) ? nuint.MinValue : (nuint)value; 4869if (IsNegative(value)) 4892if (IsNegative(value)) 4932actualResult = IsNegative(value) ? (short)(~value._bits[0] + 1) : (short)value._bits[0]; 4948actualResult = IsNegative(value) ? (int)(~value._bits[0] + 1) : (int)value._bits[0]; 4974if (IsNegative(value)) 5019if (IsNegative(value)) 5050if (IsNegative(value)) 5077actualResult = IsNegative(value) ? (sbyte)(~value._bits[0] + 1) : (sbyte)value._bits[0]; 5101if (IsNegative(value)) 5124if (IsNegative(value)) 5155if (IsNegative(value)) 5200if (IsNegative(value)) 5231if (IsNegative(value))