Error message Invalid token

Sep 23, 2010 at 1:02 PM
my scheme includes the line
<xs:element name="callStateMessage" type="CallStateMessage"/>

If I select the option GenerateXmlAttributes I get an error message in the created class "Invalid token 'typeof' in class, struct, or interface member declaration" on the line listed below and I do not know how to fix that, please help.

All the lines with typeof have an error

public partial class ImmMessage : EntityBase<ImmMessage> {

Avraham Tuvy