We recommend using Visual Studio 2017

C28291

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at C28291.

warning C28291: Post null/notnull at deref level 0 is meaningless for function <x> at param <number>

The Code Analysis tool reports this warning when the post condition of a dereference level-zero parameter is specified to have a null/non-null property. This error occurs because a value at dereference level zero cannot change.

Show: