public override int GetHashCode() { unchecked { return((UnderlyingType?.GetHashCode() ?? 0) * 397); } }
public override int GetHashCode() { unchecked { var hashCode = UnderlyingType.GetHashCode(); hashCode = (hashCode * 397) ^ (Name != null ? Name.GetHashCode() : 0); hashCode = (hashCode * 397) ^ Definitions.GetHashCode(); return(hashCode); } }
public override int GetHashCode() { unchecked { int hash = UnderlyingType.GetHashCode(); foreach (string name in ElementNames) { hash *= 31; hash += name != null?name.GetHashCode() : 0; } return(hash); } }
public override int GetHashCode() { if (UnderlyingType != null) { return(UnderlyingType.GetHashCode()); } int x = Name.GetHashCode() << 7 + PreferredXamlNamespace.GetHashCode(); if (TypeArguments != null) { foreach (var t in TypeArguments) { x = t.GetHashCode() + x << 5; } } return(x); }
public override int GetHashCode() { return(Projector.GetHashCode() ^ UnderlyingType.GetHashCode()); }
public override int GetHashCode() { return(UnderlyingType.GetHashCode()); }