public FieldBuilder DefineField(string fieldName, Type type, Type[] requiredCustomModifiers, Type[] optionalCustomModifiers, FieldAttributes attributes) { FieldBuilder fb = new FieldBuilder(this, fieldName, type, requiredCustomModifiers, optionalCustomModifiers, attributes); fields.Add(fb); return fb; }
public FieldBuilder __DefineField(string fieldName, Type type, CustomModifiers customModifiers, FieldAttributes attributes) { FieldBuilder fb = new FieldBuilder(this, fieldName, type, customModifiers, attributes); fields.Add(fb); return fb; }
internal EnumBuilder(TypeBuilder typeBuilder, FieldBuilder fieldBuilder) : base(typeBuilder) { this.typeBuilder = typeBuilder; this.fieldBuilder = fieldBuilder; }