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
Depends on:
Reported: 2013-02-02 15:16 UTC by David McFarland
Modified: 2013-03-18 13:09 UTC (History)
2 users (show)

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

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]

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.