コード例 #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (PathParts != null ? PathParts.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Formats != null ? Formats.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (FormatterName != null ? FormatterName.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Location != null ? Location.GetHashCode() : 0);
         return(hashCode);
     }
 }