private static NRefactory.ConstructorDeclaration ResolveConstructor(NRefactory.ConstructorDeclaration constructorDeclaration, Type baseType, ILGenerator iLGenerator, List<Cil.Instruction> instructions) { ConstructorEmitterVisitor constructorEmitter = null; constructorDeclaration = FiltertConstructorStatements(constructorDeclaration, baseType); constructorEmitter = new ConstructorEmitterVisitor(constructorDeclaration, new InstructionsIndexer(instructions)); constructorDeclaration.AcceptVisitor(constructorEmitter, iLGenerator); return constructorDeclaration; }
private static NRefactory.ConstructorDeclaration ResolveConstructor(NRefactory.ConstructorDeclaration constructorDeclaration, Type baseType, ILGenerator iLGenerator, List <Cil.Instruction> instructions) { ConstructorEmitterVisitor constructorEmitter = null; constructorDeclaration = FiltertConstructorStatements(constructorDeclaration, baseType); constructorEmitter = new ConstructorEmitterVisitor(constructorDeclaration, new InstructionsIndexer(instructions)); constructorDeclaration.AcceptVisitor(constructorEmitter, iLGenerator); return(constructorDeclaration); }