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)
780if (value == XmlReservedNs.NsXmlNs || (value == XmlReservedNs.NsXml && _curDeclPrefix != "xml")) 785Debug.Assert(_curDeclPrefix != null); 787if (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)
685if (value == XmlReservedNs.NsXmlNs || (value == XmlReservedNs.NsXml && _curDeclPrefix != "xml")) 690Debug.Assert(_curDeclPrefix != null); 691if (PushNamespaceExplicit(_curDeclPrefix, value)) 697await _rawWriter.WriteStartNamespaceDeclarationAsync(_curDeclPrefix).ConfigureAwait(false); 703await _rawWriter.WriteNamespaceDeclarationAsync(_curDeclPrefix, value).ConfigureAwait(false); 708await _writer.WriteStartAttributeAsync("xmlns", _curDeclPrefix, XmlReservedNs.NsXmlNs).ConfigureAwait(false);