get { return validatedTypes; }
}
+ internal override void SetParent (XmlSchemaObject parent)
+ {
+ base.SetParent (parent);
+ foreach (XmlSchemaObject obj in BaseTypes)
+ obj.SetParent (this);
+ }
+
/// <remarks>
/// 1. Circular union type definition is disallowed. (WTH is this?)
/// 2. id must be a valid ID
if (CompilationId == schema.CompilationId)
return 0;
-#if NET_2_0
- foreach (XmlSchemaObject obj in BaseTypes)
- obj.Parent = this;
-#endif
-
errorCount = 0;
int count = BaseTypes.Count;