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)
495
Debug.Assert(!prefix.Equals("xmlns") && !namespaceName.Equals(XmlReservedNs.
NsXmlNs
));
System\Xml\Core\XmlEventCache.cs (1)
221
writer.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)
5031
attr.ns = _nameTable.Add(XmlReservedNs.
NsXmlNs
);
7777
if (uri == XmlReservedNs.
NsXmlNs
)
System\Xml\Core\XmlTextWriter.cs (4)
584
if (ns == XmlReservedNs.
NsXmlNs
&& prefix == null && localName != "xmlns")
608
if (XmlReservedNs.
NsXmlNs
!= ns && ns != null)
628
if (XmlReservedNs.
NsXmlNs
!= ns && ns != null)
1461
if (XmlReservedNs.
NsXmlNs
== ns)
System\Xml\Core\XmlWellFormedWriter.cs (9)
263
_nsStack[0].Set("xmlns", XmlReservedNs.
NsXmlNs
, NamespaceKind.Special);
627
if (!(localName == "xmlns" && namespaceName == XmlReservedNs.
NsXmlNs
))
646
if (namespaceName.Length > 0 && namespaceName != XmlReservedNs.
NsXmlNs
)
669
if (namespaceName.Length > 0 && namespaceName != XmlReservedNs.
NsXmlNs
)
767
_writer.WriteStartAttribute(string.Empty, "xmlns", XmlReservedNs.
NsXmlNs
);
780
if (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)
485
if (!(localName == "xmlns" && namespaceName == XmlReservedNs.
NsXmlNs
))
504
if (namespaceName.Length > 0 && namespaceName != XmlReservedNs.
NsXmlNs
)
527
if (namespaceName.Length > 0 && namespaceName != XmlReservedNs.
NsXmlNs
)
671
await _writer.WriteStartAttributeAsync(string.Empty, "xmlns", XmlReservedNs.
NsXmlNs
).ConfigureAwait(false);
685
if (value == XmlReservedNs.
NsXmlNs
|| (value == XmlReservedNs.NsXml && _curDeclPrefix != "xml"))
708
await _writer.WriteStartAttributeAsync("xmlns", _curDeclPrefix, XmlReservedNs.
NsXmlNs
).ConfigureAwait(false);
System\Xml\Core\XmlWellFormedWriterHelpers.cs (2)
105
writer.WriteStartAttribute(string.Empty, "xmlns", XmlReservedNs.
NsXmlNs
);
109
writer.WriteStartAttribute("xmlns", prefix, XmlReservedNs.
NsXmlNs
);
System\Xml\Core\XmlWellFormedWriterHelpersAsync.cs (2)
40
await writer.WriteStartAttributeAsync(string.Empty, "xmlns", XmlReservedNs.
NsXmlNs
).ConfigureAwait(false);
44
await writer.WriteStartAttributeAsync("xmlns", prefix, XmlReservedNs.
NsXmlNs
).ConfigureAwait(false);
System\Xml\Core\XmlWriter.cs (2)
601
WriteAttributeString(string.Empty, "xmlns", XmlReservedNs.
NsXmlNs
, ns);
605
WriteAttributeString("xmlns", prefix, XmlReservedNs.
NsXmlNs
, ns);
System\Xml\Core\XmlWriterAsync.cs (2)
569
await WriteAttributeStringAsync(string.Empty, "xmlns", XmlReservedNs.
NsXmlNs
, ns).ConfigureAwait(false);
573
await 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
)),
151
strReservedXmlns = XmlReservedNs.
NsXmlNs
;
193
strReservedXmlns = customNameTable.Add(XmlReservedNs.
NsXmlNs
);
System\Xml\Dom\XmlNodeReader.cs (3)
858
return _nameTable.Add(XmlReservedNs.
NsXmlNs
);
907
return _nameTable.Add(XmlReservedNs.
NsXmlNs
);
927
if (namespaceName == XmlReservedNs.
NsXmlNs
)
System\Xml\Schema\Inference\Infer.cs (1)
1210
if (_xtr.NamespaceURI == XmlReservedNs.
NsXmlNs
)
System\Xml\Schema\Parser.cs (2)
405
attr = _dummyDocument.CreateAttribute(string.Empty, _xmlns!, XmlReservedNs.
NsXmlNs
);
409
attr = _dummyDocument.CreateAttribute(_xmlns, prefix, XmlReservedNs.
NsXmlNs
);
System\Xml\Schema\SchemaNames.cs (1)
165
NsXmlNs = 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)
421
return 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)
48
Debug.Assert(!currentNode.NamespaceURI.Equals(XmlReservedNs.
NsXmlNs
));
System\Xml\XPath\XPathDocument.cs (1)
179
xmlnsUri = _nameTable.Get(XmlReservedNs.
NsXmlNs
);
System\Xml\XPath\XPathNavigator.cs (4)
426
return XmlReservedNs.
NsXmlNs
;
463
else if (namespaceURI == XmlReservedNs.
NsXmlNs
)
631
return XmlReservedNs.
NsXmlNs
;
2025
string xmlnsUri = XmlReservedNs.
NsXmlNs
; // http://www.w3.org/2000/xmlns/
System\Xml\XPath\XPathNavigatorReader.cs (3)
204
return this.NameTable.Add(XmlReservedNs.
NsXmlNs
);
478
if (namespaceURI == XmlReservedNs.
NsXmlNs
)
566
if (namespaceName == XmlReservedNs.
NsXmlNs
)
System\Xml\Xsl\Runtime\XmlQueryRuntime.cs (1)
421
ns = 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)
2062
CheckError(ns == XmlReservedNs.
NsXmlNs
, /*[XT_024]*/SR.Xslt_ReservedNS, ns);
2096
CheckError(ns == XmlReservedNs.
NsXmlNs
, /*[XT_024]*/SR.Xslt_ReservedNS, ns);
System\Xml\Xsl\XsltOld\AttributeAction.cs (2)
29
if (nsUri == XmlReservedNs.
NsXmlNs
)
54
if (qname.Namespace == XmlReservedNs.
NsXmlNs
)
System\Xml\Xsl\XsltOld\ElementAction.cs (1)
28
if (nsUri == XmlReservedNs.
NsXmlNs
)
System\Xml\Xsl\XsltOld\InputScopeManager.cs (1)
103
return XmlReservedNs.
NsXmlNs
;
System\Xml\Xsl\XsltOld\NavigatorOutput.cs (1)
42
if (attrInfo.NamespaceURI == XmlReservedNs.
NsXmlNs
)
System\Xml\Xsl\XsltOld\OutKeywords.cs (1)
28
_AtomXmlnsNamespace = nameTable.Add(XmlReservedNs.
NsXmlNs
);