C26491 NO_STATIC_DOWNCAST

Don't use static_cast downcasts. See C++ Core Guidelines Type.2.