56 references to NsXmlNs
System.Xml (56)
System\Xml\BinaryXml\XmlBinaryReader.cs (1)
327
this.nsxmlns = this.xnt.Add(XmlReservedNs.
NsXmlNs
);
System\Xml\Cache\XPathDocumentBuilder.cs (1)
444
Debug.Assert(!prefix.Equals("xmlns") && !namespaceName.Equals(XmlReservedNs.
NsXmlNs
));
System\Xml\Core\XmlEventCache.cs (1)
217
writer.WriteAttributeString("xmlns", page[idxEvent].String1, XmlReservedNs.
NsXmlNs
, page[idxEvent].String2);
System\Xml\Core\XmlSubtreeReader.cs (1)
99
xmlnsUri = reader.NameTable.Add(XmlReservedNs.
NsXmlNs
);
System\Xml\Core\XmlTextReaderImpl.cs (2)
4601
attr.ns = nameTable.Add( XmlReservedNs.
NsXmlNs
);
7013
if ( uri == XmlReservedNs.
NsXmlNs
) {
System\Xml\Core\XmlTextWriter.cs (4)
498
if (ns == XmlReservedNs.
NsXmlNs
&& prefix == null && localName != "xmlns") {
518
if (XmlReservedNs.
NsXmlNs
!= ns && ns != null) {
532
if (XmlReservedNs.
NsXmlNs
!= ns && ns != null) {
1190
if (XmlReservedNs.
NsXmlNs
== ns) {
System\Xml\Core\XmlWellFormedWriter.cs (9)
272
nsStack[0].Set("xmlns", XmlReservedNs.
NsXmlNs
, NamespaceKind.Special);
576
if (!(localName == "xmlns" && namespaceName == XmlReservedNs.
NsXmlNs
))
594
if (namespaceName.Length > 0 && namespaceName != XmlReservedNs.
NsXmlNs
) {
611
if (namespaceName.Length > 0 && namespaceName != XmlReservedNs.
NsXmlNs
) {
689
writer.WriteStartAttribute(string.Empty, "xmlns", XmlReservedNs.
NsXmlNs
);
701
if (value == XmlReservedNs.
NsXmlNs
|| (value == XmlReservedNs.NsXml && curDeclPrefix != "xml")) {
716
writer.WriteStartAttribute("xmlns", curDeclPrefix, XmlReservedNs.
NsXmlNs
);
1433
(ns == XmlReservedNs.
NsXmlNs
&& prefix != "xmlns")) {
1503
(ns == XmlReservedNs.
NsXmlNs
&& prefix != "xmlns")) {
System\Xml\Core\XmlWellFormedWriterAsync.cs (6)
393
if (!(localName == "xmlns" && namespaceName == XmlReservedNs.
NsXmlNs
))
411
if (namespaceName.Length > 0 && namespaceName != XmlReservedNs.
NsXmlNs
) {
428
if (namespaceName.Length > 0 && namespaceName != XmlReservedNs.
NsXmlNs
) {
544
await writer.WriteStartAttributeAsync(string.Empty, "xmlns", XmlReservedNs.
NsXmlNs
).ConfigureAwait(false);
556
if (value == XmlReservedNs.
NsXmlNs
|| (value == XmlReservedNs.NsXml && curDeclPrefix != "xml")) {
571
await writer.WriteStartAttributeAsync("xmlns", curDeclPrefix, XmlReservedNs.
NsXmlNs
).ConfigureAwait(false);
System\Xml\Core\XmlWellFormedWriterHelpers.cs (2)
95
writer.WriteStartAttribute(string.Empty, "xmlns", XmlReservedNs.
NsXmlNs
);
98
writer.WriteStartAttribute("xmlns", prefix, XmlReservedNs.
NsXmlNs
);
System\Xml\Core\XmlWellFormedWriterHelpersAsync.cs (2)
33
await writer.WriteStartAttributeAsync(string.Empty, "xmlns", XmlReservedNs.
NsXmlNs
).ConfigureAwait(false);
36
await writer.WriteStartAttributeAsync("xmlns", prefix, XmlReservedNs.
NsXmlNs
).ConfigureAwait(false);
System\Xml\Core\XmlWriter.cs (2)
588
WriteAttributeString(string.Empty, "xmlns", XmlReservedNs.
NsXmlNs
, ns);
591
WriteAttributeString("xmlns", prefix, XmlReservedNs.
NsXmlNs
, ns);
System\Xml\Core\XmlWriterAsync.cs (2)
515
await WriteAttributeStringAsync(string.Empty, "xmlns", XmlReservedNs.
NsXmlNs
, ns).ConfigureAwait(false);
518
await WriteAttributeStringAsync("xmlns", prefix, XmlReservedNs.
NsXmlNs
, ns).ConfigureAwait(false);
System\Xml\Core\XsdValidatingReader.cs (1)
160
NsXmlNs = coreReaderNameTable.Add(XmlReservedNs.
NsXmlNs
);
System\Xml\Dom\DocumentSchemaValidator.cs (1)
77
NsXmlNs = nameTable.Add(XmlReservedNs.
NsXmlNs
);
System\Xml\Dom\XmlDocument.cs (1)
114
strReservedXmlns = nt.Add( XmlReservedNs.
NsXmlNs
);
System\Xml\Dom\XmlNodeReader.cs (3)
737
return nameTable.Add( XmlReservedNs.
NsXmlNs
);
779
return nameTable.Add( XmlReservedNs.
NsXmlNs
);
795
if ( namespaceName == XmlReservedNs.
NsXmlNs
) {
System\Xml\Schema\Inference\Infer.cs (1)
1224
if (xtr.NamespaceURI == XmlReservedNs.
NsXmlNs
)
System\Xml\Schema\Parser.cs (2)
353
attr = dummyDocument.CreateAttribute(string.Empty, xmlns, XmlReservedNs.
NsXmlNs
);
356
attr = dummyDocument.CreateAttribute(xmlns, prefix, XmlReservedNs.
NsXmlNs
);
System\Xml\Schema\SchemaNames.cs (1)
171
NsXmlNs = nameTable.Add(XmlReservedNs.
NsXmlNs
);
System\Xml\Schema\XmlSchemaValidator.cs (1)
215
NsXmlNs = nameTable.Add(XmlReservedNs.
NsXmlNs
);
System\Xml\Schema\XsdValidator.cs (1)
72
NsXmlNs = NameTable.Add(XmlReservedNs.
NsXmlNs
);
System\Xml\ValidateNames.cs (1)
444
return s.Equals(XmlReservedNs.NsXml) || s.Equals(XmlReservedNs.
NsXmlNs
);
System\Xml\XmlNamespacemanager.cs (1)
83
nsdecls[1].Set( xmlNs, nameTable.Add( XmlReservedNs.
NsXmlNs
), -1, -1 );
System\Xml\XPath\Internal\AttributeQuery.cs (1)
42
Debug.Assert(! currentNode.NamespaceURI.Equals(XmlReservedNs.
NsXmlNs
));
System\Xml\XPath\XPathDocument.cs (1)
170
xmlnsUri = this.nameTable.Get(XmlReservedNs.
NsXmlNs
);
System\Xml\XPath\XPathNavigator.cs (4)
382
return XmlReservedNs.
NsXmlNs
;
414
else if (namespaceURI == XmlReservedNs.
NsXmlNs
)
565
return XmlReservedNs.
NsXmlNs
;
1782
string xmlnsUri = XmlReservedNs.
NsXmlNs
; // http://www.w3.org/2000/xmlns/
System\Xml\XPath\XPathNavigatorReader.cs (3)
184
return this.NameTable.Add(XmlReservedNs.
NsXmlNs
);
418
if( namespaceURI == XmlReservedNs.
NsXmlNs
) {
492
if ( namespaceName == XmlReservedNs.
NsXmlNs
) {