更新:2007 年 11 月
错误消息
“member”:结构中已声明新的保护成员
示例
下面的示例生成 CS0666:
// CS0666.cs
class M
{
    static void Main()
    {
    }
}
struct S
{
    protected int x;   // CS0666
} | |
更新:2007 年 11 月
下面的示例生成 CS0666:
// CS0666.cs
class M
{
    static void Main()
    {
    }
}
struct S
{
    protected int x;   // CS0666
} | |