public override int GetHashCode()
        {
            var hashCode = new HashCodeCombiner();

            hashCode.AddObject(Name);
            hashCode.AddSequence(RestoreContexts);

            return(hashCode.CombinedHash);
        }
Example #2
0
        public override int GetHashCode()
        {
            var combiner = new HashCodeCombiner();

            combiner.AddObject(RuntimeIdentifier);
            combiner.AddSequence(InheritedRuntimes);
            combiner.AddDictionary(RuntimeDependencySets);

            return(combiner.CombinedHash);
        }