System\Resources\ResXResourceWriter.cs (19)
425Writer.WriteStartElement(elementName);
427Writer.WriteAttributeString(NameStr, name);
431Writer.WriteAttributeString(TypeStr, $"{GetTypeName(type)}, {alias}");
437Writer.WriteAttributeString(TypeStr, type);
443Writer.WriteAttributeString(MimeTypeStr, mimeType);
448Writer.WriteAttributeString("xml", "space", null, "preserve");
451Writer.WriteStartElement(ValueStr);
455Writer.WriteString(value);
459Writer.WriteEndElement();
463Writer.WriteStartElement(CommentStr);
465Writer.WriteString(comment);
468Writer.WriteEndElement();
472Writer.WriteEndElement();
477Writer.WriteStartElement(elementName);
481Writer.WriteAttributeString(AliasStr, alias);
486Writer.WriteAttributeString(NameStr, name);
490Writer.WriteEndElement();
589Writer.WriteEndElement();
590Writer.Flush();