Warning C28254

dynamic_cast<>() is not supported in annotations

The C++ dynamic_cast operator can't be used in annotations.