26 references to IsNegative
System.Runtime.Numerics (26)
System\Numerics\BigInteger.cs (26)
3939if (IsNegative(value)) 4631if (IsNegative(value)) 4860return compareResult < 0 || (compareResult == 0 && IsNegative(x)) ? x : y; 5373actualResult = IsNegative(value) ? byte.MinValue : byte.MaxValue; 5390actualResult = IsNegative(value) ? char.MinValue : char.MaxValue; 5432actualResult = IsNegative(value) ? short.MinValue : short.MaxValue; 5449actualResult = IsNegative(value) ? int.MinValue : int.MaxValue; 5493actualResult = IsNegative(value) ? sbyte.MinValue : sbyte.MaxValue; 5516actualResult = IsNegative(value) ? ushort.MinValue : ushort.MaxValue; 5530IsNegative(value) ? uint.MinValue : (uint)value; 5537IsNegative(value) ? ulong.MinValue : (ulong)value; 5544IsNegative(value) ? UInt128.MinValue : (UInt128)value; 5551IsNegative(value) ? nuint.MinValue : (nuint)value; 5574if (IsNegative(value)) 5597if (IsNegative(value)) 5643actualResult = IsNegative(value) ? (short)(~value._bits[0] + 1) : (short)value._bits[0]; 5659actualResult = IsNegative(value) ? (int)(~value._bits[0] + 1) : (int)value._bits[0]; 5694if (IsNegative(value)) 5751if (IsNegative(value)) 5774if (IsNegative(value)) 5801actualResult = IsNegative(value) ? (sbyte)(~value._bits[0] + 1) : (sbyte)value._bits[0]; 5825if (IsNegative(value)) 5848if (IsNegative(value)) 5888if (IsNegative(value)) 5945if (IsNegative(value)) 5968if (IsNegative(value))