Fix to special case Dispose method to be treated as non-action

#1294
@rynowak @yishaigalatzer 
The current check protects you against all Dispose methods that IDisposable could have in the future but I don't think it matters as much. Given that, @rynowak I like your recommendation as it addresses the case mentioned by @yishaigalatzer as well and its explicit.