This has bothered me ever since I started using mono.

In CodeReader
handler.TryEnd = GetInstruction (handler.TryStart.Offset + read_length
());
Should be in a sense
handler.TryEnd = GetInstruction (handler.TryStart.Offset + read_length
()).Previous;

It bugs me so much. Why is TryEnd the next instruction? It makes it
such a pain when dealing with Handlers because of this. TryEnd should
be the actual instruction it ends on. Not the next one.

-- 
--
mono-cecil

Reply via email to