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

Member predicate Version::getMajor

Gets the major version, for example 1 in 1.2.3.4.

int getMajor()