Edge case might throw ArgumentNullException (stopwatch.Stop where stopwatch is null)
GeertvanHorrik opened this issue · 4 comments
GeertvanHorrik commented
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.
GeertvanHorrik commented
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.
GeertvanHorrik commented
Only happens with VS 2013 (non-roslyn). That explains why I can't reproduce.
SimonCropp commented
pushed. sorry for the delay
GeertvanHorrik commented
Np, I know you are very busy, thanks for accepting!