public override int GetHashCode() { if (hashCode == -1) { int h1 = className.GetHashCode(); int h2 = name.GetHashCode(); int h3 = type.GetHashCode(); hashCode = h1 ^ h2 ^ h3; } return hashCode; }