C28311

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 28311: The <annotation_name> annotation on <function> <parameter> is an obsolescent version of SAL.

The annotation is an old version and should be updated to the equivalent SAL2. This warning is not emitted if a prior inconsistent annotation warning has been emitted, and is reported only once per declaration. Inspect the rest of the declaration for more obsolete SAL.

See Also

Using SAL Annotations to Reduce C/C++ Code Defects