Exemplo n.º 1
0
        public override int GetHashCode()
        {
            unchecked
            {
                var hashCode = Name != null?Name.GetHashCode() : 0;

                hashCode = (hashCode * 397) ^ (ProjectPath != null ? ProjectPath.GetHashCode() : 0);
                hashCode = (hashCode * 397) ^ (LastOpened == null ? LastOpened.GetHashCode() : 0);
                return(hashCode);
            }
        }
Exemplo n.º 2
0
 public override int GetHashCode()
 {
     return((File.GetHashCode() * 397) ^ Position.GetHashCode());
 }