8 writes to curDeclPrefix
System.Xml (8)
System\Xml\Core\XmlWellFormedWriter.cs (4)
597
curDeclPrefix
= String.Empty;
614
curDeclPrefix
= localName;
694
curDeclPrefix
= null;
721
curDeclPrefix
= null;
System\Xml\Core\XmlWellFormedWriterAsync.cs (4)
414
curDeclPrefix
= String.Empty;
431
curDeclPrefix
= localName;
549
curDeclPrefix
= null;
576
curDeclPrefix
= null;
10 references to curDeclPrefix
System.Xml (10)
System\Xml\Core\XmlWellFormedWriter.cs (5)
701
if (value == XmlReservedNs.NsXmlNs || (value == XmlReservedNs.NsXml &&
curDeclPrefix
!= "xml")) {
704
if (PushNamespaceExplicit(
curDeclPrefix
, value)) { // returns true if the namespace declaration should be written out
707
rawWriter.WriteStartNamespaceDeclaration(
curDeclPrefix
);
712
rawWriter.WriteNamespaceDeclaration(
curDeclPrefix
, value);
716
writer.WriteStartAttribute("xmlns",
curDeclPrefix
, XmlReservedNs.NsXmlNs);
System\Xml\Core\XmlWellFormedWriterAsync.cs (5)
556
if (value == XmlReservedNs.NsXmlNs || (value == XmlReservedNs.NsXml &&
curDeclPrefix
!= "xml")) {
559
if (PushNamespaceExplicit(
curDeclPrefix
, value)) { // returns true if the namespace declaration should be written out
562
await rawWriter.WriteStartNamespaceDeclarationAsync(
curDeclPrefix
).ConfigureAwait(false);
567
await rawWriter.WriteNamespaceDeclarationAsync(
curDeclPrefix
, value).ConfigureAwait(false);
571
await writer.WriteStartAttributeAsync("xmlns",
curDeclPrefix
, XmlReservedNs.NsXmlNs).ConfigureAwait(false);