35 references to _mainNode
System.Private.Xml (35)
System\Xml\Xsl\XsltOld\RecordBuilder.cs (35)
85get { return _mainNode; } 147_mainNode.htmlProps = htmlProps as HtmlElementProps; 148_mainNode.search = search; 214if ((state & StateMachine.EmptyTag) != 0 && _mainNode.IsEmptyTag) 347else if (Ref.Equal(_mainNode.NamespaceURI, _atoms.Empty)) 419_currentInfo = _mainNode; 476Debug.Assert(_mainNode != null); 480_mainNode.IsEmptyTag = false; 487Debug.Assert(_mainNode.NodeType == XmlNodeType.Element); 512Debug.Assert(_mainNode.NodeType == XmlNodeType.Element); 514if (Ref.Equal(_mainNode.NamespaceURI, _atoms.Empty)) 516_mainNode.Prefix = _atoms.Empty; 519if (Ref.Equal(_mainNode.Prefix, _atoms.Empty)) 521if (Ref.Equal(_mainNode.NamespaceURI, _scopeManager.DefaultNamespace)) 527DeclareNamespace(_mainNode.NamespaceURI, _mainNode.Prefix); 533string? nspace = _scopeManager.ResolveNamespace(_mainNode.Prefix, out thisScope); 536if (!Ref.Equal(_mainNode.NamespaceURI, nspace)) 540_mainNode.Prefix = GetPrefixForNamespace(_mainNode.NamespaceURI); 544DeclareNamespace(_mainNode.NamespaceURI, _mainNode.Prefix); 550DeclareNamespace(_mainNode.NamespaceURI, _mainNode.Prefix); 555elementScope.Prefix = _mainNode.Prefix; 614Debug.Assert(_mainNode.NodeType == XmlNodeType.Comment); 615Debug.Assert((object?)_currentInfo == (object)_mainNode); 618string comment = _mainNode.Value; 657_mainNode.Value = newComment.ToString(); 661_mainNode.ValueAppend(" ", false); 667Debug.Assert(_mainNode.NodeType == XmlNodeType.ProcessingInstruction || _mainNode.NodeType == XmlNodeType.XmlDeclaration); 671string pi = _mainNode.Value; 710_mainNode.Value = newPI.ToString(); 716switch (_mainNode.NodeType)