public override int GetHashCode() { int result = ProtocolType.GetHashCode(); result = 31 * result + (this.CSharpType != null ? CSharpType.GetHashCode() : 0); return(result); }
public override int GetHashCode() { unchecked { int hashCode = (CSharpType != null ? CSharpType.GetHashCode() : 0); hashCode = (hashCode * 397) ^ MaxWidthForStrings.GetHashCode(); hashCode = (hashCode * 397) ^ (DecimalPlacesBeforeAndAfter != null ? DecimalPlacesBeforeAndAfter.GetHashCode() : 0); return(hashCode); } }