src\libraries\System.Private.CoreLib\src\System\Decimal.cs (14)
410return DecCalc.VarDecCmp(in d1, in d2);
427return DecCalc.VarDecCmp(in this, in other);
432return DecCalc.VarDecCmp(in this, in value);
449DecCalc.VarDecCmp(in this, in other) == 0;
452DecCalc.VarDecCmp(in this, in value) == 0;
463return DecCalc.VarDecCmp(in d1, in d2) == 0;
1009public static bool operator ==(decimal d1, decimal d2) => DecCalc.VarDecCmp(in d1, in d2) == 0;
1012public static bool operator !=(decimal d1, decimal d2) => DecCalc.VarDecCmp(in d1, in d2) != 0;
1015public static bool operator <(decimal d1, decimal d2) => DecCalc.VarDecCmp(in d1, in d2) < 0;
1018public static bool operator <=(decimal d1, decimal d2) => DecCalc.VarDecCmp(in d1, in d2) <= 0;
1021public static bool operator >(decimal d1, decimal d2) => DecCalc.VarDecCmp(in d1, in d2) > 0;
1024public static bool operator >=(decimal d1, decimal d2) => DecCalc.VarDecCmp(in d1, in d2) >= 0;
1277return DecCalc.VarDecCmp(in x, in y) >= 0 ? x : y;
1286return DecCalc.VarDecCmp(in x, in y) < 0 ? x : y;