C28351

 

For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.

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.

Show: