Implemented interface member:
5 references to CompareTo
Microsoft.Build (4)
Utilities\SimpleVersion.cs (4)
100public static bool operator <(SimpleVersion a, SimpleVersion b) => a.CompareTo(b) < 0; 101public static bool operator <=(SimpleVersion a, SimpleVersion b) => a.CompareTo(b) <= 0; 102public static bool operator >(SimpleVersion a, SimpleVersion b) => a.CompareTo(b) > 0; 103public static bool operator >=(SimpleVersion a, SimpleVersion b) => a.CompareTo(b) >= 0;
Microsoft.Build.Engine.UnitTests (1)
Evaluation\SimpleVersion_Tests.cs (1)
129Assert.Equal(expectedSign, Math.Sign(version1.CompareTo(version2)));