public int CompareTo()

in TeamCity.VSTest.TestLogger/TeamCityVersion.cs [51:62]


    public int CompareTo(TeamCityVersion other)
    {
        var result = Major.CompareTo(other.Major);
        if (result != 0)
            return result;

        result = Minor.CompareTo(other.Minor);
        if (result != 0)
            return result;

        return Patch.CompareTo(other.Patch);
    }