C26466 NO_STATIC_DOWNCAST_POLYMORPHIC

Don't use static_cast downcasts. A cast from a polymorphic type should use dynamic_cast. See C++ Core Guidelines Type.2.