编译器警告(等级 3)C4636
应用于“construct”: 标记的 XML 文档注释需要非空 '' 特性。
标记(如 cref
)没有值。
示例
以下示例生成 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);
};
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈