public void GetHashCodeWithOverriddenTypeId () { //check for not throwing stack overflow exception AttributeWithTypeId a = new AttributeWithTypeId (); a.GetHashCode (); }