public static Instruction[] FindInstrSeq(this CilBody body, ILProcessor p, OpCode[] instrs, int amt) { Instruction[] result = new Instruction[amt]; for (int i = 0; i < result.Length; i++) { result[i] = i == 0 ? body.FindInstrSeqStart(instrs) : result[i - 1] != null ? result[i - 1].Next(p) : null; } return(result); }