Redigera

Dela via


Compiler Warning (level 3) C4636

XML document comment applied to 'construct': tag requires non-empty '' attribute.

A tag, such as cref, did not have a value.

Example

The following sample generates C4636.

// C4636.cpp
// compile with: /clr /doc /W3 /c
/// <see cref=''/>
// /// <see cref='System::Exception'/>
ref struct A {   // C4636
   void f(int);
};

// OK
/// <see cref='System::Exception'/>
ref struct B {
   void f(int);
};