Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
IComparisonOperators.cs
Go to the documentation of this file.
2
3namespace System;
4
5[RequiresPreviewFeatures("Generic Math is in preview.", Url = "https://aka.ms/dotnet-warnings/generic-math-preview")]
6public interface IComparisonOperators<TSelf, TOther> : IComparable, IComparable<TOther>, IEqualityOperators<TSelf, TOther>, IEquatable<TOther> where TSelf : IComparisonOperators<TSelf, TOther>
7{
8 static abstract bool operator <(TSelf left, TOther right);
9
10 static abstract bool operator <=(TSelf left, TOther right);
11
12 static abstract bool operator >(TSelf left, TOther right);
13
14 static abstract bool operator >=(TSelf left, TOther right);
15}
static bool operator<(TSelf left, TOther right)
static bool operator<=(TSelf left, TOther right)
static bool operator>(TSelf left, TOther right)
static bool operator>=(TSelf left, TOther right)