private bool MixWithoutRef(HugeValueType left, HugeValueType right)
 {
     return(left.CompareTo(right) > 0);
 }
 private bool OperatorWithoutRef(HugeValueType left, HugeValueType right)
 {
     return(left > right);
 }
 private bool MixWithRef(ref HugeValueType left, ref HugeValueType right)
 {
     return(left.CompareTo(right) > 0);
 }
 private int CompareWithoutRef(HugeValueType left, HugeValueType right)
 {
     return(left.CompareTo(right));
 }
 private bool OperatorWithRef(ref HugeValueType left, ref HugeValueType right)
 {
     return(left > right);
 }
 private bool OperatorWithRef(ref HugeValueType left, ref HugeValueType right)
 {
     return left > right;
 }
 private int CompareWithRef(ref HugeValueType left, ref HugeValueType right)
 {
     return(left.CompareTo(right));
 }
 private bool MixWithRef(ref HugeValueType left, ref HugeValueType right)
 {
     return left.CompareTo(right) > 0;
 }
 private bool OperatorWithoutRef(HugeValueType left, HugeValueType right)
 {
     return left > right;
 }
 private int CompareWithRef(ref HugeValueType left, ref HugeValueType right)
 {
     return left.CompareTo(right);
 }
 private bool MixWithoutRef(HugeValueType left, HugeValueType right)
 {
     return left.CompareTo(right) > 0;
 }
 private int CompareWithoutRef(HugeValueType left, HugeValueType right)
 {
     return left.CompareTo(right);
 }
Example #13
0
 private int SendParametersAsCopy(HugeValueType x, HugeValueType y)
 {
     return(x.Integer + y.Integer);
 }
Example #14
0
 private int SendParametersAsReference(ref HugeValueType x, ref HugeValueType y)
 {
     return(x.Integer + y.Integer);
 }
 private int SendParametersAsReference(ref HugeValueType x, ref HugeValueType y)
 {
     return x.Integer + y.Integer;
 }
 private int SendParametersAsCopy(HugeValueType x, HugeValueType y)
 {
     return x.Integer + y.Integer;
 }