1 write to prefix
System.Xml (1)
System\Xml\Core\XmlWellFormedWriterHelpers.cs (1)
82
this.
prefix
= prefix;
15 references to prefix
System.Xml (15)
System\Xml\Core\XmlWellFormedWriter.cs (9)
1097
string prefix = nsStack[i].
prefix
;
1099
if (nsStack[i].
prefix
== prefix) {
1546
string prefix = nsStack[namespaceIndex].
prefix
;
1563
if (nsStack[i].
prefix
== prefix) {
1575
Debug.Assert(nsHashtable.ContainsKey(nsStack[i].
prefix
));
1577
nsHashtable.Remove(nsStack[i].
prefix
);
1580
nsHashtable[nsStack[i].
prefix
] = nsStack[i].prevNsIndex;
1740
if (nsStack[i].
prefix
== prefix) {
1749
if (nsStack[i].
prefix
== prefix) {
System\Xml\Core\XmlWellFormedWriterHelpers.cs (3)
91
rawWriter.WriteNamespaceDeclaration(
prefix
, namespaceUri);
94
if (
prefix
.Length == 0) {
98
writer.WriteStartAttribute("xmlns",
prefix
, XmlReservedNs.NsXmlNs);
System\Xml\Core\XmlWellFormedWriterHelpersAsync.cs (3)
29
await rawWriter.WriteNamespaceDeclarationAsync(
prefix
, namespaceUri).ConfigureAwait(false);
32
if (
prefix
.Length == 0) {
36
await writer.WriteStartAttributeAsync("xmlns",
prefix
, XmlReservedNs.NsXmlNs).ConfigureAwait(false);