mono/mono — pull request #1198 by chriswebb (2014-08-06 21:05:50+00:00)
Title: Fixed issue where XmlReflectionImporter unable to handle XmlEnums with colons

XmlReflectionImporter would fail to call ImportElementInfo on elements with an enumeration that was fully qualified. In this scenario: "urn:oasis:names:tc:SAML:2.0:assertion:AuthnContextClassRef" and "urn:oasis:names:tc:SAML:2.0:assertion:AuthnContextDeclRef" when going against the saml 2.0 schema at urn:oasis:names:tc:SAML:2.0:assertion. Simple fix to add the namespace to the EnumMap lookup if the first simple check fails. The business logic works on .Net 4.0 under Visual Studio 2010 and the classes were imported using xsd.exe. This patch is to allow mono to support the same feature. Tested and working with the latest commit.

As per [previous PR](https://github.com/mono/mono/pull/1194) Fixed potential null reference error, checked coding styles, and added a unit test to MonoTests.System.XmlSerialization.XmlReflectionImporterTests.

Tested as working on windows and patch. Not working in current build of master.