52 references to ResXResourceWriter
System.Windows.Forms (52)
winforms\Managed\System\Resources\ResXDataNode.cs (8)
407
nodeInfo.MimeType =
ResXResourceWriter
.ByteArraySerializedObjectMimeType;
426
nodeInfo.MimeType =
ResXResourceWriter
.DefaultSerializedObjectMimeType;
440
if (String.Equals(mimeTypeName,
ResXResourceWriter
.BinSerializedObjectMimeType)
441
|| String.Equals(mimeTypeName,
ResXResourceWriter
.Beta2CompatSerializedObjectMimeType)
442
|| String.Equals(mimeTypeName,
ResXResourceWriter
.CompatBinSerializedObjectMimeType)) {
460
else if (String.Equals(mimeTypeName,
ResXResourceWriter
.SoapSerializedObjectMimeType)
461
|| String.Equals(mimeTypeName,
ResXResourceWriter
.CompatSoapSerializedObjectMimeType)) {
480
else if (String.Equals(mimeTypeName,
ResXResourceWriter
.ByteArraySerializedObjectMimeType)) {
winforms\Managed\System\Resources\ResXResourceReader.cs (42)
249
reader.NameTable.Add(
ResXResourceWriter
.TypeStr);
250
reader.NameTable.Add(
ResXResourceWriter
.NameStr);
251
reader.NameTable.Add(
ResXResourceWriter
.DataStr);
252
reader.NameTable.Add(
ResXResourceWriter
.MetadataStr);
253
reader.NameTable.Add(
ResXResourceWriter
.MimeTypeStr);
254
reader.NameTable.Add(
ResXResourceWriter
.ValueStr);
255
reader.NameTable.Add(
ResXResourceWriter
.ResHeaderStr);
256
reader.NameTable.Add(
ResXResourceWriter
.VersionStr);
257
reader.NameTable.Add(
ResXResourceWriter
.ResMimeTypeStr);
258
reader.NameTable.Add(
ResXResourceWriter
.ReaderStr);
259
reader.NameTable.Add(
ResXResourceWriter
.WriterStr);
260
reader.NameTable.Add(
ResXResourceWriter
.BinSerializedObjectMimeType);
261
reader.NameTable.Add(
ResXResourceWriter
.SoapSerializedObjectMimeType);
262
reader.NameTable.Add(
ResXResourceWriter
.AssemblyStr);
263
reader.NameTable.Add(
ResXResourceWriter
.AliasStr);
388
if (reader.LocalName.Equals(
ResXResourceWriter
.AssemblyStr)) {
391
else if (reader.LocalName.Equals(
ResXResourceWriter
.DataStr)) {
394
else if (reader.LocalName.Equals(
ResXResourceWriter
.ResHeaderStr)) {
397
else if (reader.LocalName.Equals(
ResXResourceWriter
.MetadataStr)) {
407
string newMessage = SR.GetString(SR.SerializationException, reader[
ResXResourceWriter
.TypeStr], pt.Y, pt.X, se.Message);
415
string newMessage = SR.GetString(SR.InvocationException, reader[
ResXResourceWriter
.TypeStr], pt.Y, pt.X, tie.InnerException.Message);
443
if (object.Equals(resHeaderMimeType,
ResXResourceWriter
.ResMimeType)) {
446
Type writerType = typeof(
ResXResourceWriter
);
479
string name = reader[
ResXResourceWriter
.NameStr];
489
if (object.Equals(name,
ResXResourceWriter
.VersionStr)) {
497
else if (object.Equals(name,
ResXResourceWriter
.ResMimeTypeStr)) {
505
else if (object.Equals(name,
ResXResourceWriter
.ReaderStr)) {
513
else if (object.Equals(name,
ResXResourceWriter
.WriterStr)) {
523
case
ResXResourceWriter
.VersionStr:
531
case
ResXResourceWriter
.ResMimeTypeStr:
539
case
ResXResourceWriter
.ReaderStr:
547
case
ResXResourceWriter
.WriterStr:
569
string alias = reader[
ResXResourceWriter
.AliasStr];
570
string typeName = reader[
ResXResourceWriter
.NameStr];
584
nodeInfo.Name = reader[
ResXResourceWriter
.NameStr];
585
string typeName = reader[
ResXResourceWriter
.TypeStr];
601
nodeInfo.TypeName = reader[
ResXResourceWriter
.TypeStr];
604
nodeInfo.MimeType = reader[
ResXResourceWriter
.MimeTypeStr];
609
if(reader.NodeType == XmlNodeType.EndElement && ( reader.LocalName.Equals(
ResXResourceWriter
.DataStr) || reader.LocalName.Equals(
ResXResourceWriter
.MetadataStr) )) {
615
if (reader.Name.Equals(
ResXResourceWriter
.ValueStr)) {
632
} else if (reader.Name.Equals(
ResXResourceWriter
.CommentStr)) {
winforms\Managed\System\Resources\ResXResourceSet.cs (1)
71
return typeof(
ResXResourceWriter
);
winforms\Managed\System\Resources\ResXResourceWriter.cs (1)
360
xmlTextWriter.WriteString(MultitargetUtil.GetAssemblyQualifiedName(typeof(
ResXResourceWriter
), this.typeNameConverter));