Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Compiler Error CS0528
Collapse the table of content
Expand the table of content

Compiler Error CS0528

'interface' is already listed in interface list

An interface-inheritance list includes a duplicate. An interface can only be specified once in the inheritance list.

The following sample generates CS0528:

// CS0528.cs
namespace x
{
   public interface a
   {
   }

   public class b : a, a   // CS0528
   {
      public void Main()
      {
      }
   }
}
Show:
© 2015 Microsoft