set{ content = value; }
}
+ internal override void SetParent (XmlSchemaObject parent)
+ {
+ base.SetParent (parent);
+ if (Content != null)
+ Content.SetParent (this);
+ }
+
///<remarks>
/// 1. Content must be present and one of restriction or extention
///</remarks>
}
else
{
-#if NET_2_0
- Content.Parent = this;
-#endif
if(Content is XmlSchemaSimpleContentRestriction)
{
XmlSchemaSimpleContentRestriction xscr = (XmlSchemaSimpleContentRestriction) Content;