Ejemplo n.º 1
0
 internal ConstructorEmitterVisitor(ConstructorDeclaration constructorDeclaration, IOpCodeIndexer instructionsIndexer)
 {
     _instructionsIndexer = instructionsIndexer;
     _constructorEmitter  = new ConstructorEmitter(this, instructionsIndexer, _locals);
     _root = constructorDeclaration;
 }
 protected void GetILInstructions(Mono.Cecil.MethodDefinition methodDefinition)
 {
     _instructionIndexer = new InstructionsIndexer(methodDefinition.Body.Instructions.ToList());
 }