public override int GetHashCode() { unchecked { int result = (XmlName != null ? XmlName.GetHashCode() : 0); result = (result * 397) ^ (Elements != null ? Elements.GetHashCode() : 0); result = (result * 397) ^ NameSuffix; return(result); } }
public override int GetHashCode() { unchecked { int result = (XmlName != null ? XmlName.GetHashCode() : 0); result = (result * 397) ^ (XmlType != null ? XmlType.GetHashCode() : 0); result = (result * 397) ^ IsList.GetHashCode(); result = (result * 397) ^ (_targetClass != null ? _targetClass.GetHashCode() : 0); return(result); } }
/// <summary> /// Returns a hash code for this instance. /// </summary> /// <returns>A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.</returns> public override int GetHashCode() { unchecked { var hashCode = (Name != null ? Name.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Type != null ? Type.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (int)XmlType; hashCode = (hashCode * 397) ^ (Namespace != null ? Namespace.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (XmlName != null ? XmlName.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { return(XmlName != null ? XmlName.GetHashCode() : 0); }
public override int GetHashCode() { return(element.GetHashCode() + name.GetHashCode()); }