[Gtk-sharp-list] NonSerialized attribute and events

Mads LindstrÝm mads_lindstroem@yahoo.dk
Sat, 22 Jan 2005 12:20:08 +0100


Hi

I am trying to use the NonSerialized attrbute for an event, but I get:

> Attribute 'NonSerialized' is not valid on this declaration type. It is
valid on 'field' 'property'  declarations only.

I have been investigating the problem a little bit and found on this
homepage:
http://weblogs.asp.net/rosherove/archive/2004/12/29/343659.aspx
that I should try [field:NonSerialized]. But I get the same results as
above.

Anybody, have a solution? workaround? Is it an error in Mono?

Greetings,

Mads LindstrÝm