26 references to IsNegative
System.Runtime.Numerics (26)
System\Numerics\BigInteger.cs (26)
3231if (IsNegative(value)) 3920if (IsNegative(value)) 4149return compareResult < 0 || (compareResult == 0 && IsNegative(x)) ? x : y; 4662actualResult = IsNegative(value) ? byte.MinValue : byte.MaxValue; 4679actualResult = IsNegative(value) ? char.MinValue : char.MaxValue; 4721actualResult = IsNegative(value) ? short.MinValue : short.MaxValue; 4738actualResult = IsNegative(value) ? int.MinValue : int.MaxValue; 4782actualResult = IsNegative(value) ? sbyte.MinValue : sbyte.MaxValue; 4805actualResult = IsNegative(value) ? ushort.MinValue : ushort.MaxValue; 4819IsNegative(value) ? uint.MinValue : (uint)value; 4826IsNegative(value) ? ulong.MinValue : (ulong)value; 4833IsNegative(value) ? UInt128.MinValue : (UInt128)value; 4840IsNegative(value) ? nuint.MinValue : (nuint)value; 4863if (IsNegative(value)) 4886if (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]; 4983if (IsNegative(value)) 5040if (IsNegative(value)) 5063if (IsNegative(value)) 5090actualResult = IsNegative(value) ? (sbyte)(~value._bits[0] + 1) : (sbyte)value._bits[0]; 5114if (IsNegative(value)) 5137if (IsNegative(value)) 5177if (IsNegative(value)) 5234if (IsNegative(value)) 5257if (IsNegative(value))