Example #1
0
 public static Integer32 operator +(Integer16 firstInt, Integer32 secondInt)
 {
     IntegerTools.CheckForNull(firstInt);
     return(new Integer32(firstInt.Value + secondInt.Value));
 }
Example #2
0
 public override bool Equals(object obj)
 {
     return(IntegerTools.CompareWithInteger32(this, obj));
 }
Example #3
0
 public static bool operator ==(Integer32 firstInt, object secondInt)
 {
     return(IntegerTools.CompareWithInteger32(firstInt, secondInt));
 }
Example #4
0
 public override bool Equals(object obj)
 {
     return(obj is not null && IntegerTools.CompareWithUInteger8(this, obj));
 }