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)
1231if (_nsStack[i].namespaceUri == ns) 1596if (_nsStack[existingNsIndex].namespaceUri != ns) 1598throw new XmlException(SR.Xml_RedefinePrefix, new string[] { prefix, _nsStack[existingNsIndex].namespaceUri, ns }); 1611if (ns != _nsStack[existingNsIndex].namespaceUri) 1629kind = (_nsStack[existingNsIndex].namespaceUri == ns) ? NamespaceKind.Implied : NamespaceKind.NeedToWrite; 1676if (_nsStack[existingNsIndex].namespaceUri != ns) 1678throw new XmlException(SR.Xml_RedefinePrefix, new string?[] { prefix, _nsStack[existingNsIndex].namespaceUri, ns }); 1699if (_nsStack[existingNsIndex].namespaceUri == ns && _omitDuplNamespaces) 1990return _nsStack[i].namespaceUri; 2002return _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);