Make sure to clear compiled items. Fixes regressions appeared in WCF land.
authorAtsushi Eno <atsushi@ximian.com>
Tue, 1 Feb 2011 12:23:44 +0000 (21:23 +0900)
committerAtsushi Eno <atsushi@ximian.com>
Tue, 1 Feb 2011 12:23:44 +0000 (21:23 +0900)
mcs/class/System.XML/System.Xml.Schema/XmlSchema.cs

index 109ba906efc0836e80d0e6b5d6ce9c4105861326..13b8b9f6a71cbac42a00b7a410e5229d77c83013 100644 (file)
@@ -328,6 +328,7 @@ namespace System.Xml.Schema
                        groups.Clear ();
                        notations.Clear ();
                        schemaTypes.Clear ();
+                       compilationItems.Clear ();
 
                        //1. Union and List are not allowed in block default
                        if (BlockDefault != XmlSchemaDerivationMethod.All) {