2 writes to _xmlWriter
WindowsBase (2)
Base\MS\Internal\IO\Packaging\PartBasedPackageProperties.cs (2)
776_xmlWriter = new XmlTextWriter(writerStream, System.Text.Encoding.UTF8); 934_xmlWriter = null;
19 references to _xmlWriter
WindowsBase (19)
Base\MS\Internal\IO\Packaging\PartBasedPackageProperties.cs (19)
373if (_package.InStreamingCreation && _xmlWriter != null) 375_xmlWriter.Flush(); 392if (_package.InStreamingCreation && _xmlWriter != null) 762Invariant.Assert(_xmlWriter == null); 764if (_xmlWriter != null) 827_xmlWriter.WriteStartDocument(); 830_xmlWriter.WriteStartElement(PackageXmlStringTable.GetXmlString(PackageXmlEnum.CoreProperties), // local name 834_xmlWriter.WriteAttributeString(PackageXmlStringTable.GetXmlString(PackageXmlEnum.XmlNamespacePrefix), 840_xmlWriter.WriteAttributeString(PackageXmlStringTable.GetXmlString(PackageXmlEnum.XmlNamespacePrefix), 845_xmlWriter.WriteAttributeString(PackageXmlStringTable.GetXmlString(PackageXmlEnum.XmlNamespacePrefix), 877_xmlWriter.WriteStartElement(PackageXmlStringTable.GetXmlString(entry.Key), 885_xmlWriter.WriteStartAttribute(PackageXmlStringTable.GetXmlString(PackageXmlEnum.Type), 889_xmlWriter.WriteQualifiedName(_w3cdtf, 892_xmlWriter.WriteEndAttribute(); 897_xmlWriter.WriteString(XmlConvert.ToString(((Nullable<DateTime>)entry.Value).Value.ToUniversalTime(), "yyyy-MM-ddTHH:mm:ss.fffffffZ")); 902_xmlWriter.WriteString(entry.Value.ToString()); 905_xmlWriter.WriteEndElement(); 928_xmlWriter.WriteEndElement(); 931_xmlWriter.Close();