更新:2007 年 11 月
错误消息
继承接口“interface1”在“interface2”的接口层次结构中导致一个循环
interface 的继承列表包括对自身的直接或间接引用。接口不能从自身继承。
下面的示例生成 CS0529:
// CS0529.cs
namespace x
{
   public interface a
   {
   }
   public interface b : a, c
   {
   }
   public interface c : b   // CS0529, b inherits from c
   {
   }
}