public EmitFieldBuilder DefineField(string name, EmitType type, EmitVisibility visibility = EmitVisibility.Public, bool isStatic = false, bool isReadonly = false, bool isVolatile = false) { var field = new EmitFieldBuilder(this, name, type, visibility, isStatic, isReadonly); memberBuilders.Add(new EmitFieldReference(() => field)); return field; }
public EmitFieldBuilder DefineField(string name, EmitType type, EmitVisibility visibility = EmitVisibility.Public, bool isStatic = false, bool isReadonly = false, bool isVolatile = false) { var field = new EmitFieldBuilder(this, name, type, visibility, isStatic, isReadonly); memberBuilders.Add(new EmitFieldReference(() => field)); return(field); }