X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FSystem.XML%2FSystem.Xml.Schema%2FXmlSchemaComplexContentExtension.cs;h=75b2a86e01776b46a498e07df84406fda11863f3;hb=018c4be8c5ef6e23ccd9bf798513a6178631e1ea;hp=3f1196739f8b5e0bb262dbfa1c4942002f45c3b8;hpb=8fa6e766ddb07ea066f5fc86c1b2759b068761aa;p=mono.git diff --git a/mcs/class/System.XML/System.Xml.Schema/XmlSchemaComplexContentExtension.cs b/mcs/class/System.XML/System.Xml.Schema/XmlSchemaComplexContentExtension.cs index 3f1196739f8..75b2a86e017 100755 --- a/mcs/class/System.XML/System.Xml.Schema/XmlSchemaComplexContentExtension.cs +++ b/mcs/class/System.XML/System.Xml.Schema/XmlSchemaComplexContentExtension.cs @@ -93,6 +93,15 @@ namespace System.Xml.Schema if (this.IsComplied (schema.CompilationId)) return 0; +#if NET_2_0 + if (Particle != null) + Particle.Parent = this; + if (AnyAttribute != null) + AnyAttribute.Parent = this; + foreach (XmlSchemaObject obj in Attributes) + obj.Parent = this; +#endif + if (this.isRedefinedComponent) { if (Annotation != null) Annotation.isRedefinedComponent = true;