Bug 11278 - DataContractSerializer uses the wrong namespace for nullable types
Summary: DataContractSerializer uses the wrong namespace for nullable types
Status: NEW
Alias: None
Product: Class Libraries
Classification: Mono
Component: WCF assemblies (show other bugs)
Version: 2.10.x
Hardware: PC Linux
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2013-03-19 21:40 UTC by Matt Clay
Modified: 2013-03-20 03:30 UTC (History)
2 users (show)

See Also:
Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
This program demonstrates the difference between the Mono and .NET DataContractSerializer when serializing nullable types. (492 bytes, text/plain)
2013-03-19 21:40 UTC, Matt Clay
Details

Description Matt Clay 2013-03-19 21:40:14 UTC
Created attachment 3661 [details]
This program demonstrates the difference between the Mono and .NET DataContractSerializer when serializing nullable types.

DataContractSerializer uses the wrong namespace for nullable types.

Mono serializes Nullable<T> using the System namespace.
Microsoft .NET serializes Nullable<T> using the namespace of T.

Note You need to log in before you can comment on or make changes to this bug.