Example #1
0
 public static bool operator <=(TestStruct x, TestStruct y) =>
 RecordType <TestStruct> .Compare(x, y) <= 0;
Example #2
0
 public int Compare(A x, A y) =>
 RecordType <A> .Compare(x, y);
Example #3
0
 public int CompareTo(TestStruct other) =>
 RecordType <TestStruct> .Compare(this, other);
Example #4
0
 public override int CompareTo(Id other)
 => RecordType <Id> .Compare(this, other);