1 write to Major
Microsoft.Build (1)
Utilities\SimpleVersion.cs (1)
71
Major
= major;
9 references to Major
Microsoft.Build (8)
Utilities\SimpleVersion.cs (8)
79
return
Major
== other.
Major
&&
87
return
Major
!= other.
Major
? (
Major
> other.
Major
? 1 : -1) :
95
public override int GetHashCode() => (
Major
, Minor, Build, Revision).GetHashCode();
96
public override string ToString() => FormattableString.Invariant($"{
Major
}.{Minor}.{Build}.{Revision}");
Microsoft.Build.Engine.UnitTests (1)
Evaluation\SimpleVersion_Tests.cs (1)
302
Assert.Equal(major, version.
Major
);