[Gtk-sharp-list] NonSerialized attribute and events

Mads Lindstrøm mads_lindstroem@yahoo.dk
Sat, 22 Jan 2005 12:59:51 +0100


Hi

Sorry, this were posted to the wrong list. Please do not reply, it will
be reposted to mono-devel list.

Mads Lindstrøm wrote:
> 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
> 
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
>