70 references to NsXmlNs
System.Private.Xml (70)
System\Xml\BinaryXml\XmlBinaryReader.cs (1)
335_nsxmlns = _xnt.Add(XmlReservedNs.NsXmlNs);
System\Xml\Cache\XPathDocumentBuilder.cs (1)
495Debug.Assert(!prefix.Equals("xmlns") && !namespaceName.Equals(XmlReservedNs.NsXmlNs));
System\Xml\Core\XmlEventCache.cs (1)
221writer.WriteAttributeString("xmlns", page[idxEvent].String1!, XmlReservedNs.NsXmlNs, page[idxEvent].String2);
System\Xml\Core\XmlSubtreeReader.cs (1)
105_xmlnsUri = reader.NameTable.Add(XmlReservedNs.NsXmlNs);
System\Xml\Core\XmlTextReaderImpl.cs (2)
5031attr.ns = _nameTable.Add(XmlReservedNs.NsXmlNs); 7777if (uri == XmlReservedNs.NsXmlNs)
System\Xml\Core\XmlTextWriter.cs (4)
584if (ns == XmlReservedNs.NsXmlNs && prefix == null && localName != "xmlns") 608if (XmlReservedNs.NsXmlNs != ns && ns != null) 628if (XmlReservedNs.NsXmlNs != ns && ns != null) 1461if (XmlReservedNs.NsXmlNs == ns)
System\Xml\Core\XmlWellFormedWriter.cs (9)
263_nsStack[0].Set("xmlns", XmlReservedNs.NsXmlNs, NamespaceKind.Special); 627if (!(localName == "xmlns" && namespaceName == XmlReservedNs.NsXmlNs)) 646if (namespaceName.Length > 0 && namespaceName != XmlReservedNs.NsXmlNs) 669if (namespaceName.Length > 0 && namespaceName != XmlReservedNs.NsXmlNs) 767_writer.WriteStartAttribute(string.Empty, "xmlns", XmlReservedNs.NsXmlNs); 780if (value == XmlReservedNs.NsXmlNs || (value == XmlReservedNs.NsXml && _curDeclPrefix != "xml")) 804_writer.WriteStartAttribute("xmlns", _curDeclPrefix, XmlReservedNs.NsXmlNs); 1641(ns == XmlReservedNs.NsXmlNs && prefix != "xmlns")) 1725(ns == XmlReservedNs.NsXmlNs && prefix != "xmlns"))
System\Xml\Core\XmlWellFormedWriterAsync.cs (6)
485if (!(localName == "xmlns" && namespaceName == XmlReservedNs.NsXmlNs)) 504if (namespaceName.Length > 0 && namespaceName != XmlReservedNs.NsXmlNs) 527if (namespaceName.Length > 0 && namespaceName != XmlReservedNs.NsXmlNs) 671await _writer.WriteStartAttributeAsync(string.Empty, "xmlns", XmlReservedNs.NsXmlNs).ConfigureAwait(false); 685if (value == XmlReservedNs.NsXmlNs || (value == XmlReservedNs.NsXml && _curDeclPrefix != "xml")) 708await _writer.WriteStartAttributeAsync("xmlns", _curDeclPrefix, XmlReservedNs.NsXmlNs).ConfigureAwait(false);
System\Xml\Core\XmlWellFormedWriterHelpers.cs (2)
105writer.WriteStartAttribute(string.Empty, "xmlns", XmlReservedNs.NsXmlNs); 109writer.WriteStartAttribute("xmlns", prefix, XmlReservedNs.NsXmlNs);
System\Xml\Core\XmlWellFormedWriterHelpersAsync.cs (2)
40await writer.WriteStartAttributeAsync(string.Empty, "xmlns", XmlReservedNs.NsXmlNs).ConfigureAwait(false); 44await writer.WriteStartAttributeAsync("xmlns", prefix, XmlReservedNs.NsXmlNs).ConfigureAwait(false);
System\Xml\Core\XmlWriter.cs (2)
601WriteAttributeString(string.Empty, "xmlns", XmlReservedNs.NsXmlNs, ns); 605WriteAttributeString("xmlns", prefix, XmlReservedNs.NsXmlNs, ns);
System\Xml\Core\XmlWriterAsync.cs (2)
569await WriteAttributeStringAsync(string.Empty, "xmlns", XmlReservedNs.NsXmlNs, ns).ConfigureAwait(false); 573await WriteAttributeStringAsync("xmlns", prefix, XmlReservedNs.NsXmlNs, ns).ConfigureAwait(false);
System\Xml\Core\XsdValidatingReader.cs (1)
151_nsXmlNs = _coreReaderNameTable.Add(XmlReservedNs.NsXmlNs);
System\Xml\Dom\DocumentSchemaValidator.cs (1)
73_nsXmlNs = _nameTable.Add(XmlReservedNs.NsXmlNs);
System\Xml\Dom\XmlDocument.cs (4)
70(XmlReservedNs.NsXmlNs, System.Xml.NameTable.ComputeHash32(XmlReservedNs.NsXmlNs)), 151strReservedXmlns = XmlReservedNs.NsXmlNs; 193strReservedXmlns = customNameTable.Add(XmlReservedNs.NsXmlNs);
System\Xml\Dom\XmlNodeReader.cs (3)
858return _nameTable.Add(XmlReservedNs.NsXmlNs); 907return _nameTable.Add(XmlReservedNs.NsXmlNs); 927if (namespaceName == XmlReservedNs.NsXmlNs)
System\Xml\Schema\Inference\Infer.cs (1)
1210if (_xtr.NamespaceURI == XmlReservedNs.NsXmlNs)
System\Xml\Schema\Parser.cs (2)
405attr = _dummyDocument.CreateAttribute(string.Empty, _xmlns!, XmlReservedNs.NsXmlNs); 409attr = _dummyDocument.CreateAttribute(_xmlns, prefix, XmlReservedNs.NsXmlNs);
System\Xml\Schema\SchemaNames.cs (1)
165NsXmlNs = nameTable.Add(XmlReservedNs.NsXmlNs);
System\Xml\Schema\XmlSchemaValidator.cs (1)
224_nsXmlNs = _nameTable.Add(XmlReservedNs.NsXmlNs);
System\Xml\Schema\XsdValidator.cs (1)
86_nsXmlNs = NameTable.Add(XmlReservedNs.NsXmlNs);
System\Xml\ValidateNames.cs (1)
421return s.Equals(XmlReservedNs.NsXml) || s.Equals(XmlReservedNs.NsXmlNs);
System\Xml\XmlNamespacemanager.cs (1)
66_nsdecls[1].Set(_xmlNs, nameTable.Add(XmlReservedNs.NsXmlNs), -1, -1);
System\Xml\XPath\Internal\AttributeQuery.cs (1)
48Debug.Assert(!currentNode.NamespaceURI.Equals(XmlReservedNs.NsXmlNs));
System\Xml\XPath\XPathDocument.cs (1)
179xmlnsUri = _nameTable.Get(XmlReservedNs.NsXmlNs);
System\Xml\XPath\XPathNavigator.cs (4)
426return XmlReservedNs.NsXmlNs; 463else if (namespaceURI == XmlReservedNs.NsXmlNs) 631return XmlReservedNs.NsXmlNs; 2025string xmlnsUri = XmlReservedNs.NsXmlNs; // http://www.w3.org/2000/xmlns/
System\Xml\XPath\XPathNavigatorReader.cs (3)
204return this.NameTable.Add(XmlReservedNs.NsXmlNs); 478if (namespaceURI == XmlReservedNs.NsXmlNs) 566if (namespaceName == XmlReservedNs.NsXmlNs)
System\Xml\Xsl\Runtime\XmlQueryRuntime.cs (1)
421ns = XmlReservedNs.NsXmlNs;
System\Xml\Xsl\Runtime\XmlRawWriterWrapper.cs (2)
227_wrapped.WriteAttributeString(string.Empty, "xmlns", XmlReservedNs.NsXmlNs, ns); 229_wrapped.WriteAttributeString("xmlns", prefix, XmlReservedNs.NsXmlNs, ns);
System\Xml\Xsl\Xslt\XsltLoader.cs (2)
2062CheckError(ns == XmlReservedNs.NsXmlNs, /*[XT_024]*/SR.Xslt_ReservedNS, ns); 2096CheckError(ns == XmlReservedNs.NsXmlNs, /*[XT_024]*/SR.Xslt_ReservedNS, ns);
System\Xml\Xsl\XsltOld\AttributeAction.cs (2)
29if (nsUri == XmlReservedNs.NsXmlNs) 54if (qname.Namespace == XmlReservedNs.NsXmlNs)
System\Xml\Xsl\XsltOld\ElementAction.cs (1)
28if (nsUri == XmlReservedNs.NsXmlNs)
System\Xml\Xsl\XsltOld\InputScopeManager.cs (1)
103return XmlReservedNs.NsXmlNs;
System\Xml\Xsl\XsltOld\NavigatorOutput.cs (1)
42if (attrInfo.NamespaceURI == XmlReservedNs.NsXmlNs)
System\Xml\Xsl\XsltOld\OutKeywords.cs (1)
28_AtomXmlnsNamespace = nameTable.Add(XmlReservedNs.NsXmlNs);