protected XmlNode(XmlNodeType nodeType, StringHandle localName, ValueHandle value, XmlNodeFlags nodeFlags, ReadState readState, XmlAttributeTextNode attributeTextNode, int depthDelta) { this.nodeType = nodeType; this.localName = localName; this.value = value; //this.ns = NamespaceManager.EmptyNamespace; this.hasValue = (nodeFlags & XmlNodeFlags.HasValue) != XmlNodeFlags.None; this.canGetAttribute = (nodeFlags & XmlNodeFlags.CanGetAttribute) != XmlNodeFlags.None; this.canMoveToElement = (nodeFlags & XmlNodeFlags.CanMoveToElement) != XmlNodeFlags.None; this.IsAtomicValue = (nodeFlags & XmlNodeFlags.AtomicValue) != XmlNodeFlags.None; this.skipValue = (nodeFlags & XmlNodeFlags.SkipValue) != XmlNodeFlags.None; this.hasContent = (nodeFlags & XmlNodeFlags.HasContent) != XmlNodeFlags.None; this.readState = readState; this.attributeTextNode = attributeTextNode; this.exitScope = nodeType == XmlNodeType.EndElement; this.depthDelta = depthDelta; this.isEmptyElement = false; this.quoteChar = '"'; }
protected XmlTextNode(XmlNodeType nodeType, StringHandle localName, ValueHandle value, XmlNodeFlags nodeFlags, ReadState readState, XmlAttributeTextNode attributeTextNode, int depthDelta) : base(nodeType, localName, value, nodeFlags, readState, attributeTextNode, depthDelta) { }