35 references to mainNode
System.Data.SqlXml (35)
System\Xml\Xsl\XsltOld\RecordBuilder.cs (35)
85get { return this.mainNode; } 137this.mainNode.htmlProps = htmlProps as HtmlElementProps; 138this.mainNode.search = search; 198if ((state & StateMachine.EmptyTag) != 0 && this.mainNode.IsEmptyTag == true) { 311else if (Ref.Equal(this.mainNode.NamespaceURI, this.atoms.Empty)) { 370this.currentInfo = this.mainNode; 418Debug.Assert(this.mainNode != null); 421this.mainNode.IsEmptyTag = false; 427Debug.Assert(this.mainNode.NodeType == XmlNodeType.Element); 447Debug.Assert(this.mainNode.NodeType == XmlNodeType.Element); 449if (Ref.Equal(this.mainNode.NamespaceURI, this.atoms.Empty)) { 450this.mainNode.Prefix = this.atoms.Empty; 453if (Ref.Equal(this.mainNode.Prefix, this.atoms.Empty)) { 454if (Ref.Equal(this.mainNode.NamespaceURI, this.scopeManager.DefaultNamespace)) { 458DeclareNamespace(this.mainNode.NamespaceURI, this.mainNode.Prefix); 463string nspace = this.scopeManager.ResolveNamespace(this.mainNode.Prefix, out thisScope); 465if (! Ref.Equal(this.mainNode.NamespaceURI, nspace)) { 467this.mainNode.Prefix = GetPrefixForNamespace(this.mainNode.NamespaceURI); 470DeclareNamespace(this.mainNode.NamespaceURI, this.mainNode.Prefix); 475DeclareNamespace(this.mainNode.NamespaceURI, this.mainNode.Prefix); 480elementScope.Prefix = this.mainNode.Prefix; 525Debug.Assert(this.mainNode.NodeType == XmlNodeType.Comment); 526Debug.Assert((object) this.currentInfo == (object) this.mainNode); 529string comment = this.mainNode.Value; 560this.mainNode.Value = newComment.ToString(); 563this.mainNode.ValueAppend(s_Space, false); 568Debug.Assert(this.mainNode.NodeType == XmlNodeType.ProcessingInstruction || this.mainNode.NodeType == XmlNodeType.XmlDeclaration); 572string pi = this.mainNode.Value; 604this.mainNode.Value = newPI.ToString(); 609switch (this.mainNode.NodeType) {