NuGet.VersionSpec.GetHashCode C# (CSharp) Method

GetHashCode() public method

public GetHashCode ( ) : int
return int
        public override int GetHashCode()
        {
            var combiner = new HashCodeCombiner();
            combiner.AddObject(MinVersion);
            combiner.AddObject(IsMinInclusive);
            combiner.AddObject(MaxVersion);
            combiner.AddObject(IsMaxInclusive);

            return combiner.CombinedHash;
        }