我有以下C ++ / CLI代码来声明两个枚举类,并使用vs2015生成一个xml文档文件。但是第二枚举的xml节点不正确。我在做错什么吗?
c ++:
namespace EnumTest {
/// <summary>
/// Enum1
/// </summary>
public enum class Enum1
{
/// <summary>
/// Member
/// </summary>
Member = 0
};
/// <summary>
/// Enum2
/// </summary>
public enum class Enum2 : Byte
{
/// <summary>
/// Member
/// </summary>
Member = (Byte)'0'
};
};
xml:
<member name="T:EnumTest.Enum1">
<summary>
Enum1
</summary>
</member>
<member name="F:EnumTest.Enum1.Member">
<summary>
Member
</summary>
</member>
<member name="T:EnumTest.Enum2">
<summary>
Enum2
</summary>
</member>
<member name="F:<unknown type>.Member">
<summary>
Member
</summary>
</member>