1 write to prefix
System.Private.Xml (1)
System\Xml\Core\XmlWellFormedWriterHelpers.cs (1)
88this.prefix = prefix;
15 references to prefix
System.Private.Xml (15)
System\Xml\Core\XmlWellFormedWriter.cs (9)
1236string prefix = _nsStack[i].prefix; 1239if (_nsStack[i].prefix == prefix) 1781string prefix = _nsStack[namespaceIndex].prefix; 1806if (_nsStack[i].prefix == prefix) 1822Debug.Assert(_nsHashtable.ContainsKey(_nsStack[i].prefix)); 1825_nsHashtable.Remove(_nsStack[i].prefix); 1829_nsHashtable[_nsStack[i].prefix] = _nsStack[i].prevNsIndex; 1991if (_nsStack[i].prefix == prefix) 2003if (_nsStack[i].prefix == prefix)
System\Xml\Core\XmlWellFormedWriterHelpers.cs (3)
99rawWriter.WriteNamespaceDeclaration(prefix, namespaceUri); 103if (prefix.Length == 0) 109writer.WriteStartAttribute("xmlns", prefix, XmlReservedNs.NsXmlNs);
System\Xml\Core\XmlWellFormedWriterHelpersAsync.cs (3)
34await rawWriter.WriteNamespaceDeclarationAsync(prefix, namespaceUri).ConfigureAwait(false); 38if (prefix.Length == 0) 44await writer.WriteStartAttributeAsync("xmlns", prefix, XmlReservedNs.NsXmlNs).ConfigureAwait(false);