internal ByRefMethodInfoCallInstruction(MethodInfo target, int argumentCount, ByRefUpdater[] byrefArgs) { _target = target; _argumentCount = argumentCount; _byrefArgs = byrefArgs; }
internal ByRefMethodInfoCallInstruction(MethodInfo target, int argumentCount, ByRefUpdater[] byrefArgs) : base(target, argumentCount) { _byrefArgs = byrefArgs; }
public void EmitByRefCall(MethodInfo method, ParameterInfo[] parameters, ByRefUpdater[] byrefArgs) { Emit(new ByRefMethodInfoCallInstruction(method, method.IsStatic ? parameters.Length : parameters.Length + 1, byrefArgs)); }
internal ByRefNewInstruction(ConstructorInfo target, int argumentCount, ByRefUpdater[] byrefArgs) : base(target, argumentCount) { _byrefArgs = byrefArgs; }
public void EmitByRefNew(ConstructorInfo constructorInfo, ByRefUpdater[] updaters) { Emit(new ByRefNewInstruction(constructorInfo, updaters)); }