9 writes to ns
System.Private.Xml (9)
System\Xml\Core\XmlTextReaderImpl.cs (7)
4965_curNode.ns = _xmlContext.defaultNamespace; 4969_curNode.ns = LookupNamespace(_curNode); 4980at.ns = LookupNamespace(at); 5031attr.ns = _nameTable.Add(XmlReservedNs.NsXmlNs); 9280attr.ns = ns; 9301_nodes[_index].ns = _xmlContext.defaultNamespace; 9322_nodes[i].ns = _namespaceManager.LookupNamespace(pref);
System\Xml\Core\XmlTextReaderImplHelpers.cs (2)
495ns = string.Empty; 544this.ns = string.Empty;
14 references to ns
System.Private.Xml (14)
System\Xml\Core\XmlTextReaderImpl.cs (8)
888return _curNode.ns ?? string.Empty; 1055if (Ref.Equal(_nodes[i].localName, localNameAtomized) && Ref.Equal(_nodes[i].ns, namespaceURI)) 1110Ref.Equal(_nodes[i].ns, namespaceURIAtomized)) 4994if (Ref.Equal(attr1.localName, _nodes[j].localName) && Ref.Equal(attr1.ns, _nodes[j].ns)) 5014if (Ref.Equal(attr1.localName, attr2.localName) && Ref.Equal(attr1.ns, attr2.ns)) 9256(((object?)_nodes[i].prefix == (object?)prefix) || ((object?)_nodes[i].ns == (object?)ns && ns != null)))
System\Xml\Core\XmlTextReaderImplHelpers.cs (6)
476[MemberNotNull(nameof(ns))] 489[MemberNotNull(nameof(ns))] 687if (Ref.Equal(ns, other.ns)) 693return string.CompareOrdinal(ns, other.ns);