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