Expand Minimize
This topic has not yet been rated - Rate this topic

Compiler Error CS0527 

Error Message

Type 'type' in interface list is not an interface

It is possible for a struct or interface to inherit from another interface but not from any other type.

The following sample generates CS0527:

// CS0527.cs
// compile with: /target:library
public struct clx : int {}   // CS0527 int not an interface
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.