private XMLInstruction(ILManager manager, MethodDefinition workingMethod, IList <T> workingInstructionList, Func <IList <T>, Instruction, int> indexFinder) { this.manager = manager; this.workingMethod = workingMethod; this.workingInstructionList = workingInstructionList; this.indexFinder = indexFinder; postinitbrs = new List <PostInitData>(); initType = XMLIType.Unknown; }
public XMLInstruction(ILManager manager, MethodDefinition workingMethod) : this(manager, workingMethod, null, null) { initType = XMLIType.ReadOnly; }
public XMLInstruction(ILManager manager, IList <T> workingInstructionList, Func <IList <T>, Instruction, int> indexFinder) : this(manager, null, workingInstructionList, indexFinder) { initType = XMLIType.WriteOnly; }