public virtual IFieldVisitor VisitField(FieldInstance field) { if (Log.DebugEnabled && !State.OriginalType.Name.Contains("Member")) { Log.Debug("Implement field: " + field.ToString()); } FieldBuilder fb = tb.DefineField(field.Name, field.Type.Type, field.Access); ((BytecodeBehaviorState)State).FieldImplemented(new FieldInstance(fb)); return(new FieldVisitor(fb)); }