revert mono-specific XmlSchemas changes that is not necessary anymore.
authorAtsushi Eno <atsushieno@gmail.com>
Mon, 2 Feb 2015 10:26:47 +0000 (18:26 +0800)
committerMarek Safar <marek.safar@gmail.com>
Mon, 2 May 2016 22:07:55 +0000 (00:07 +0200)
mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSchemas.cs

index 1896703f555f77940db1ea08a9f2b2b0377d4ced..eef8682e72710c7653c96659c248a9b5234d0a09 100644 (file)
@@ -276,13 +276,9 @@ namespace System.Xml.Serialization {
         }
         internal object Find(XmlQualifiedName name, Type type, bool checkCache) {
             if (!IsCompiled) {
-#if MONO_HYBRID_SYSTEM_XML
-                 Compile (null, true);
-#else
                  foreach (XmlSchema schema in List) {
                     Preprocess(schema);
                 }
-#endif
             }
             IList values = (IList)SchemaSet.Schemas(name.Namespace);
             if (values == null) return null;