CodeQL library for C#
codeql/csharp-all 0.9.1 (changelog, source)
Search

Member predicate Version::compareTo

Compares two versions and returns

  • 0 if this version equals other. Note that 4.0 and 4.0.0.0 are considered to be equal.
  • -1 if this version is before other
  • 1 if this version is after other
int compareTo(Version other)