public XmlDocument GetXmlDocument() { ArrayProperty property1 = base.GetParent() as ArrayProperty; XmlElementProperty property2 = null; if (property1 != null) { property2 = property1.GetParent() as XmlElementProperty; } if (property2 == null) { return(xmlAttribute.OwnerDocument); } return(property2.GetXmlDocument()); }
public XmlDocument GetXmlDocument() { ArrayProperty parent = base.GetParent() as ArrayProperty; XmlElementProperty property2 = null; if (parent != null) { property2 = parent.GetParent() as XmlElementProperty; } if (property2 == null) { return(this.xmlElement.OwnerDocument); } return(property2.GetXmlDocument()); }