public void Emit(OpCode opCode, MethodInfo param) { _forbidenInstructions.Emit(_ilGenerator, opCode, param); }
public void Emit(OpCode opCode, ConstructorInfo param) { _sourceCodeWriter.MarkAndWriteLine(_ilGenerator, $"{opCode} ctor {param.DeclaringType.ToSimpleName()}({FormatParams(param.GetParameters())})"); _forbidenInstructions.Emit(_ilGenerator, opCode, param); }