コード例 #1
0
 public override int GetHashCode() =>
 Scheme.GetHashCode() ^
 Method.GetHashCode() ^
 Host.GetHashCode() ^
 PathBase.GetHashCode() ^
 Path.GetHashCode() ^
 QueryString.GetHashCode();
コード例 #2
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = Scheme.GetHashCode();
         hashCode = (hashCode * 397) ^ Host.GetHashCode();
         hashCode = (hashCode * 397) ^ PathBase.GetHashCode();
         return(hashCode);
     }
 }