GetHashCode() public method

public GetHashCode ( ) : int
return int
Example #1
0
 public bool Equals(Document obj)
 {
     if (obj == null)
     {
         return(false);
     }
     if (orderedKeys.Count != obj.orderedKeys.Count)
     {
         return(false);
     }
     return(this.GetHashCode() == obj.GetHashCode());
 }
Example #2
0
 public bool Equals(Document obj)
 {
     if (obj == null)
         return false;
     if (orderedKeys.Count != obj.orderedKeys.Count)
         return false;
     return this.GetHashCode() == obj.GetHashCode();
 }