更新:2007 年 11 月
错误消息
“interface”已经在接口列表中列出
接口继承列表中有重复接口。 interface 在继承列表中只能指定一次。
下面的示例生成 CS0528:
// CS0528.cs
namespace x
{
   public interface a
   {
   }
   public class b : a, a   // CS0528
   {
      public void Main()
      {
      }
   }
}
更新:2007 年 11 月
“interface”已经在接口列表中列出
接口继承列表中有重复接口。 interface 在继承列表中只能指定一次。
下面的示例生成 CS0528:
// CS0528.cs
namespace x
{
   public interface a
   {
   }
   public class b : a, a   // CS0528
   {
      public void Main()
      {
      }
   }
}