示例#1
0
        public override int GetHashCode()
        {
            var hash = CssEqualityComparer <string> .Default.GetHashCode(_name);

            hash = HashUtility.Hash(hash, _prelude.GetHashCode());
            if (_block != null)
            {
                hash = HashUtility.Hash(hash, _block.GetHashCode());
            }
            return(hash);
        }
示例#2
0
 public override int GetHashCode()
 {
     return(HashUtility.Hash(_prelude.GetHashCode(), _block.GetHashCode()));
 }