1 write to namespaceUri
System.Private.Xml (1)
System\Xml\Core\XmlWellFormedWriterHelpers.cs (1)
89this.namespaceUri = namespaceUri;
14 references to namespaceUri
System.Private.Xml (14)
System\Xml\Core\XmlWellFormedWriter.cs (10)
1234if (_nsStack[i].namespaceUri == ns) 1599if (_nsStack[existingNsIndex].namespaceUri != ns) 1601throw new XmlException(SR.Xml_RedefinePrefix, new string[] { prefix, _nsStack[existingNsIndex].namespaceUri, ns }); 1614if (ns != _nsStack[existingNsIndex].namespaceUri) 1632kind = (_nsStack[existingNsIndex].namespaceUri == ns) ? NamespaceKind.Implied : NamespaceKind.NeedToWrite; 1679if (_nsStack[existingNsIndex].namespaceUri != ns) 1681throw new XmlException(SR.Xml_RedefinePrefix, new string?[] { prefix, _nsStack[existingNsIndex].namespaceUri, ns }); 1702if (_nsStack[existingNsIndex].namespaceUri == ns && _omitDuplNamespaces) 1993return _nsStack[i].namespaceUri; 2005return _nsStack[i].namespaceUri;
System\Xml\Core\XmlWellFormedWriterHelpers.cs (2)
99rawWriter.WriteNamespaceDeclaration(prefix, namespaceUri); 112writer.WriteString(namespaceUri);
System\Xml\Core\XmlWellFormedWriterHelpersAsync.cs (2)
34await rawWriter.WriteNamespaceDeclarationAsync(prefix, namespaceUri).ConfigureAwait(false); 46await writer.WriteStringAsync(namespaceUri).ConfigureAwait(false);