[Mono-list] Serialisation of nullable

David Waite dwaite at gmail.com
Thu Apr 27 14:09:21 EDT 2006


type declarations from msdn2:

C#
[SerializableAttribute]
public struct Nullable<T> where T : struct

and

C#
[ComVisibleAttribute(true)]
public static class Nullable

On 4/27/06, Atsushi Eno <atsushi at ximian.com> wrote:
> Nullable is not Serializable. I might be wrong since I just checked
> MSDN doc and corcompare result though.
>
> Atsushi Eno
>
> Colin JN Breame wrote:
> > Currently Nullable is not marked as Serializable which is quite irritating.
> >
> > Are there any plans in the future to mark it as Serializable?  and are there
> > any work arounds that don't involve writing custom serialisation?
> >
> > Also, correct me if I'm wrong, but doesn't this imply that Nullable cannot
> > cross an AppDomain?
> >
> >  -- Colin
> > _______________________________________________
> > Mono-list maillist  -  Mono-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-list
> >
>
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>


More information about the Mono-list mailing list