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

#1294
@rynowak @yishaigalatzer 
Good point, the detection would be more complex here if we want to handle these cases.