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

#1294
@rynowak @yishaigalatzer 
methodInfo.DeclaringType isn't same as using methodInfo.ReflectedType. I tried using DeclaringType but it didn't work. Shared a thread I had with CLR folks about this.