[Mono-list] Serialisation of nullable

Atsushi Eno atsushi at ximian.com
Thu Apr 27 14:24:24 EDT 2006


Oops, yeah I missed Nullable<T> one. Will try to update that
generic stuff then.

Atsushi Eno

David Waite wrote:
> 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