Fody/MethodTimer

Edge case might throw ArgumentNullException (stopwatch.Stop where stopwatch is null)

GeertvanHorrik opened this issue · 4 comments

We just found it in one of our apps (but we use MethodTimer a lot, so this must be an edge case). I will try to repro + fix.

I can't reproduce on my machine, need to check tomorrow with one of the other developers to see if their machine generates different IL.

Only happens with VS 2013 (non-roslyn). That explains why I can't reproduce.

pushed. sorry for the delay

Np, I know you are very busy, thanks for accepting!