C28351
Note
This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here
warning C28351: The annotation <annotation> describes where a dynamic value (a variable) cannot be used in the condition.
This warning is reported when an annotation is applied where the C/C++ type is being inspected.
The expression in the _When_
should evaluate to a constant. The _When_
is ignored.