9 writes to ns
System.Private.Xml (9)
System\Xml\Core\XmlTextReaderImpl.cs (7)
4982_curNode.ns = _xmlContext.defaultNamespace; 4986_curNode.ns = LookupNamespace(_curNode); 4997at.ns = LookupNamespace(at); 5041attr.ns = _nameTable.Add(XmlReservedNs.NsXmlNs); 9290attr.ns = ns; 9311_nodes[_index].ns = _xmlContext.defaultNamespace; 9332_nodes[i].ns = _namespaceManager.LookupNamespace(pref);
System\Xml\Core\XmlTextReaderImplHelpers.cs (2)
496ns = string.Empty; 545this.ns = string.Empty;
15 references to ns
System.Private.Xml (15)
System\Xml\Core\XmlTextReaderImpl.cs (6)
888return _curNode.ns ?? string.Empty; 1055if (Ref.Equal(_nodes[i].localName, localNameAtomized) && Ref.Equal(_nodes[i].ns, namespaceURI)) 1110Ref.Equal(_nodes[i].ns, namespaceURIAtomized)) 5011if (Ref.Equal(attr1.localName, _nodes[j].localName) && Ref.Equal(attr1.ns, _nodes[j].ns)) 9266(((object?)_nodes[i].prefix == (object?)prefix) || ((object?)_nodes[i].ns == (object?)ns && ns != null)))
System\Xml\Core\XmlTextReaderImplHelpers.cs (9)
477[MemberNotNull(nameof(ns))] 490[MemberNotNull(nameof(ns))] 688if (Ref.Equal(ns, other.ns)) 694return string.CompareOrdinal(ns, other.ns); 723&& Ref.Equal(x.ns, y.ns); 730RuntimeHelpers.GetHashCode(node.ns));