public EmitInstruction Emit(IEmitOpCodeMethod opCode, EmitMethod method) { var instruction = new EmitInstruction(opCode, method); AddInstruction(instruction); return(instruction); }
public EmitProperty( EmitType declaringType, string name, EmitType propertyType, Func <EmitProperty, IReadOnlyList <EmitParameter> > parameters, EmitMethod getMethod, EmitMethod setMethod ) : base(declaringType, name) { PropertyType = propertyType; Parameters = parameters(this); GetMethod = getMethod; SetMethod = setMethod; }