public FieldDefinition(FieldInfo fieldInfo) { // ... if (this.wsField.xmlField == null) this.wsField.xmlField = fieldInfo.Name; }