Bug 9996 - [patch] [System.Runtime.Serialization] exception thrown when a type with [XmlSchemaProvider(MethodName=null)] is added to KnownTypeCollection
Summary: [patch] [System.Runtime.Serialization] exception thrown when a type with [Xml...
Status: NEW
Alias: None
Product: Class Libraries
Classification: Mono
Component: System (show other bugs)
Version: master
Hardware: PC Linux
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2013-02-02 15:16 UTC by David McFarland
Modified: 2013-03-18 13:09 UTC (History)
2 users (show)

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


Attachments
patch (1.23 KB, patch)
2013-02-02 15:16 UTC, David McFarland
Details | Diff

Description David McFarland 2013-02-02 15:16:24 UTC
Created attachment 3325 [details]
patch

Some types like System.Linq.Xml.XElement have [XmlSchemaProvider(MethodName=null)], which causes an exception when the attribute is handled in serialization (see patch).

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