public static List<Instruction> GetInstructions(MethodBase method) { var reader = new MethodBodyReader (method); reader.ReadInstructions (); return reader.instructions; }