Exemplo n.º 1
0
        public override int GetHashCode()
        {
            var hashCode = new HashCodeCombiner();

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

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

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

            return(combiner.CombinedHash);
        }