public YAXErrorIfMissedAttribute(YAXExceptionTypes treatAs) { this.TreatAs = treatAs; this.DefaultValue = null; }