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