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

#1294
@rynowak @yishaigalatzer 
I will add these.