Errore del compilatore CS0527

Aggiornamento: novembre 2007

Messaggio di errore

Il tipo 'tipo' nell'elenco delle interfacce non è un'interfaccia.
Type 'type' in interface list is not an interface

Una struttura o un'interfaccia può ereditare da un'altra interfaccia, ma non da un altro tipo.

Il seguente codice di esempio genera l'errore CS0527:

// CS0527.cs
// compile with: /target:library
public struct clx : int {}   // CS0527 int not an interface