Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.