4 writes to xmlTextWriter
System.Windows.Forms (4)
winforms\Managed\System\Resources\ResXResourceWriter.cs (4)
308
xmlTextWriter
= new XmlTextWriter(textWriter);
311
xmlTextWriter
= new XmlTextWriter(stream, System.Text.Encoding.UTF8);
315
xmlTextWriter
= new XmlTextWriter(fileName, System.Text.Encoding.UTF8);
660
xmlTextWriter
= null;
34 references to xmlTextWriter
System.Windows.Forms (34)
winforms\Managed\System\Resources\ResXResourceWriter.cs (34)
299
if (
xmlTextWriter
== null) {
317
xmlTextWriter
.Formatting = Formatting.Indented;
318
xmlTextWriter
.Indentation = 2;
321
xmlTextWriter
.WriteStartDocument(); // writes <?xml version="1.0" encoding="utf-8"?>
325
xmlTextWriter
.WriteStartDocument();
328
xmlTextWriter
.WriteStartElement("root");
331
xmlTextWriter
.WriteNode(reader, true);
333
xmlTextWriter
.WriteStartElement(ResHeaderStr); {
334
xmlTextWriter
.WriteAttributeString(NameStr, ResMimeTypeStr);
335
xmlTextWriter
.WriteStartElement(ValueStr); {
336
xmlTextWriter
.WriteString(ResMimeType);
338
xmlTextWriter
.WriteEndElement();
340
xmlTextWriter
.WriteEndElement();
341
xmlTextWriter
.WriteStartElement(ResHeaderStr); {
342
xmlTextWriter
.WriteAttributeString(NameStr, VersionStr);
343
xmlTextWriter
.WriteStartElement(ValueStr); {
344
xmlTextWriter
.WriteString(Version);
346
xmlTextWriter
.WriteEndElement();
348
xmlTextWriter
.WriteEndElement();
349
xmlTextWriter
.WriteStartElement(ResHeaderStr); {
350
xmlTextWriter
.WriteAttributeString(NameStr, ReaderStr);
351
xmlTextWriter
.WriteStartElement(ValueStr); {
352
xmlTextWriter
.WriteString(MultitargetUtil.GetAssemblyQualifiedName(typeof(ResXResourceReader), this.typeNameConverter));
354
xmlTextWriter
.WriteEndElement();
356
xmlTextWriter
.WriteEndElement();
357
xmlTextWriter
.WriteStartElement(ResHeaderStr); {
358
xmlTextWriter
.WriteAttributeString(NameStr, WriterStr);
359
xmlTextWriter
.WriteStartElement(ValueStr); {
360
xmlTextWriter
.WriteString(MultitargetUtil.GetAssemblyQualifiedName(typeof(ResXResourceWriter), this.typeNameConverter));
362
xmlTextWriter
.WriteEndElement();
364
xmlTextWriter
.WriteEndElement();
374
return
xmlTextWriter
;
658
if (
xmlTextWriter
!= null) {
659
xmlTextWriter
.Close();