8 writes to _curDeclPrefix
System.Private.Xml (8)
System\Xml\Core\XmlWellFormedWriter.cs (4)
650
_curDeclPrefix
= string.Empty;
673
_curDeclPrefix
= localName;
772
_curDeclPrefix
= null;
809
_curDeclPrefix
= null;
System\Xml\Core\XmlWellFormedWriterAsync.cs (4)
508
_curDeclPrefix
= string.Empty;
531
_curDeclPrefix
= localName;
677
_curDeclPrefix
= null;
713
_curDeclPrefix
= null;
12 references to _curDeclPrefix
System.Private.Xml (12)
System\Xml\Core\XmlWellFormedWriter.cs (6)
780
if (value == XmlReservedNs.NsXmlNs || (value == XmlReservedNs.NsXml &&
_curDeclPrefix
!= "xml"))
785
Debug.Assert(
_curDeclPrefix
!= null);
787
if (PushNamespaceExplicit(
_curDeclPrefix
, value))
793
_rawWriter.WriteStartNamespaceDeclaration(
_curDeclPrefix
);
799
_rawWriter.WriteNamespaceDeclaration(
_curDeclPrefix
, value);
804
_writer.WriteStartAttribute("xmlns",
_curDeclPrefix
, XmlReservedNs.NsXmlNs);
System\Xml\Core\XmlWellFormedWriterAsync.cs (6)
685
if (value == XmlReservedNs.NsXmlNs || (value == XmlReservedNs.NsXml &&
_curDeclPrefix
!= "xml"))
690
Debug.Assert(
_curDeclPrefix
!= null);
691
if (PushNamespaceExplicit(
_curDeclPrefix
, value))
697
await _rawWriter.WriteStartNamespaceDeclarationAsync(
_curDeclPrefix
).ConfigureAwait(false);
703
await _rawWriter.WriteNamespaceDeclarationAsync(
_curDeclPrefix
, value).ConfigureAwait(false);
708
await _writer.WriteStartAttributeAsync("xmlns",
_curDeclPrefix
, XmlReservedNs.NsXmlNs).ConfigureAwait(false);