Пример #1
0
 public void EmitNewobj(IConstructorInfo constructor)
 {
     OpCodes.AddCallInstruction(constructor, "newobj");
 }
Пример #2
0
 public void EmitConstructorCall(IConstructorInfo constructorInfo)
 {
     OpCodes.AddCallInstruction(constructorInfo, "call");
 }
Пример #3
0
 public void EmitLdvirtftn(IMethodInfo method)
 {
     OpCodes.AddCallInstruction(method, "ldvirtftn");
 }
Пример #4
0
 public void EmitCallvirt(IMethodInfo methodInfo)
 {
     OpCodes.AddCallInstruction(methodInfo, "callvirt");
 }