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

            if (_comments != null)
            {
                hashCode ^= _comments.GetHashCode();
            }
            if (_assembly != null)
            {
                hashCode ^= _assembly.GetHashCode();
            }

            return(hashCode);
        }
Exemplo n.º 2
0
        public override int GetHashCode()
        {
            int hashCode = 41;

            if (_sourcePath != null)
            {
                hashCode ^= _sourcePath.GetHashCode();
            }
            if (_includeSet != null)
            {
                hashCode ^= _includeSet.GetHashCode();
            }

            return(hashCode);
        }
Exemplo n.º 3
0
        public override int GetHashCode()
        {
            int hashCode = 53;

            if (_name != null)
            {
                hashCode ^= _name.GetHashCode();
            }
            if (_path != null)
            {
                hashCode ^= _path.GetHashCode();
            }

            return(hashCode);
        }
Exemplo n.º 4
0
        public override int GetHashCode()
        {
            int hashCode = 17;

            if (_itemId != null)
            {
                hashCode ^= _itemId.GetHashCode();
            }
            if (_itemPath != null)
            {
                hashCode ^= _itemPath.GetHashCode();
            }
            if (_altText != null)
            {
                hashCode ^= _altText.GetHashCode();
            }
            hashCode ^= (int)_itemType;

            return(hashCode);
        }
Exemplo n.º 5
0
        public override int GetHashCode()
        {
            int hashCode = 29;

            if (_name != null)
            {
                hashCode ^= _name.GetHashCode();
            }
            if (_transformFile != null)
            {
                hashCode ^= _transformFile.GetHashCode();
            }
            if (_tag != null)
            {
                hashCode ^= _tag.GetHashCode();
            }
            if (_description != null)
            {
                hashCode ^= _description.GetHashCode();
            }

            return(hashCode);
        }
Exemplo n.º 6
0
        public override int GetHashCode()
        {
            int hashCode = 67;

            if (_name != null)
            {
                hashCode ^= _name.GetHashCode();
            }
            hashCode ^= _scriptFile.GetHashCode();
            if (_description != null)
            {
                hashCode ^= _description.GetHashCode();
            }
            if (_tag != null)
            {
                hashCode ^= _tag.GetHashCode();
            }
            if (_condition != null)
            {
                hashCode ^= _condition.GetHashCode();
            }

            return(hashCode);
        }