mono/mono — pull request #1194 by chriswebb (2014-08-06 09:13:45+00:00)
Title: Fixed issue where XmlReflectionImporter unable to handle XmlEnums with full names

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:protocol.

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.