29 instantiations of ResXResourceReader
System.Windows.Forms (4)
System\Resources\ResXResourceReader.cs (2)
292
=>
new
(typeResolver)
301
=>
new
(assemblyNames)
System\Resources\ResXResourceSet.cs (2)
14
public ResXResourceSet(string fileName) : base(new
ResXResourceReader
(fileName))
21
public ResXResourceSet(Stream stream) : base(new
ResXResourceReader
(stream))
System.Windows.Forms.Design (1)
System\Resources\Tools\StronglyTypedResourceBuilder.cs (1)
272
using (ResXResourceReader reader =
new
(resxFile))
System.Windows.Forms.Design.Tests (11)
System\Resources\Tools\StronglyTypedResourceBuilderTests.cs (11)
315
using ResXResourceReader reader =
new
(temp.Path);
344
using ResXResourceReader reader =
new
(temp.Path);
371
using ResXResourceReader reader =
new
(resxStream);
396
using ResXResourceReader reader =
new
(temp.Path);
424
using ResXResourceReader reader =
new
(temp.Path);
451
using ResXResourceReader reader =
new
(resxStream);
477
using ResXResourceReader reader =
new
(temp.Path);
507
using ResXResourceReader reader =
new
(resxStream);
530
using ResXResourceReader reader =
new
(temp.Path);
556
using ResXResourceReader reader =
new
(resxStream);
636
using ResXResourceReader reader =
new
(temp.Path);
System.Windows.Forms.Tests (13)
System\Resources\ResXResourceReaderTests.cs (5)
24
using ResXResourceReader resxReader =
new
(resxPath);
49
using ResXResourceReader resxReader =
new
(resxPath);
58
using ResXResourceReader resXReader =
new
(tempFile.Path);
67
using ResXResourceReader resXReader =
new
(textReader);
77
using ResXResourceReader resXReader =
new
(resxStream);
System\Resources\ResXResourceWriterTests.cs (8)
31
using ResXResourceReader reader =
new
(new MemoryStream(buffer));
134
using ResXResourceReader reader =
new
(_resxFileName);
155
using ResXResourceReader reader =
new
(_resxFileName);
176
using ResXResourceReader reader =
new
(_resxFileName);
197
using ResXResourceReader reader =
new
(_resxFileName);
218
using ResXResourceReader reader =
new
(_resxFileName);
239
using ResXResourceReader reader =
new
(_resxFileName);
261
using ResXResourceReader reader =
new
(_resxFileName);
44 references to ResXResourceReader
System.Windows.Forms (6)
System\Resources\ResXResourceReader.cs (4)
285
public static
ResXResourceReader
FromFileContents(string fileContents)
291
public static
ResXResourceReader
FromFileContents(string fileContents, ITypeResolutionService? typeResolver)
300
public static
ResXResourceReader
FromFileContents(string fileContents, AssemblyName[] assemblyNames)
422
Type readerType = typeof(
ResXResourceReader
);
System\Resources\ResXResourceSet.cs (1)
28
public override Type GetDefaultReader() => typeof(
ResXResourceReader
);
System\Resources\ResXResourceWriter.cs (1)
215
_xmlTextWriter.WriteString(MultitargetUtil.GetAssemblyQualifiedName(typeof(
ResXResourceReader
), _typeNameConverter));
System.Windows.Forms.Design (2)
System\ComponentModel\Design\Serialization\ResourceCodeDomSerializer.SerializationResourceManager.cs (1)
329
if (reader is
ResXResourceReader
resxReader)
System\Resources\Tools\StronglyTypedResourceBuilder.cs (1)
272
using (
ResXResourceReader
reader = new(resxFile))
System.Windows.Forms.Design.Tests (11)
System\Resources\Tools\StronglyTypedResourceBuilderTests.cs (11)
315
using
ResXResourceReader
reader = new(temp.Path);
344
using
ResXResourceReader
reader = new(temp.Path);
371
using
ResXResourceReader
reader = new(resxStream);
396
using
ResXResourceReader
reader = new(temp.Path);
424
using
ResXResourceReader
reader = new(temp.Path);
451
using
ResXResourceReader
reader = new(resxStream);
477
using
ResXResourceReader
reader = new(temp.Path);
507
using
ResXResourceReader
reader = new(resxStream);
530
using
ResXResourceReader
reader = new(temp.Path);
556
using
ResXResourceReader
reader = new(resxStream);
636
using
ResXResourceReader
reader = new(temp.Path);
System.Windows.Forms.Tests (25)
System\Resources\ResXResourceReaderTests.cs (17)
24
using
ResXResourceReader
resxReader = new(resxPath);
49
using
ResXResourceReader
resxReader = new(resxPath);
58
using
ResXResourceReader
resXReader = new(tempFile.Path);
67
using
ResXResourceReader
resXReader = new(textReader);
77
using
ResXResourceReader
resXReader = new(resxStream);
85
using
var
resXReader =
ResXResourceReader
.FromFileContents(ResxHelper.CreateResx());
110
using
var
resXReader =
ResXResourceReader
.FromFileContents(ResxHelper.CreateResx(data));
138
using
var
resXReader =
ResXResourceReader
.FromFileContents(ResxHelper.CreateResx(data));
165
using
ResXResourceReader
resXReader =
ResXResourceReader
.FromFileContents(ResxHelper.CreateResx(metadata));
189
using
var
resXReader =
ResXResourceReader
.FromFileContents(ResxHelper.CreateResx(data));
211
using
var
resXReader =
ResXResourceReader
.FromFileContents(ResxHelper.CreateResx(data));
System\Resources\ResXResourceWriterTests.cs (8)
31
using
ResXResourceReader
reader = new(new MemoryStream(buffer));
134
using
ResXResourceReader
reader = new(_resxFileName);
155
using
ResXResourceReader
reader = new(_resxFileName);
176
using
ResXResourceReader
reader = new(_resxFileName);
197
using
ResXResourceReader
reader = new(_resxFileName);
218
using
ResXResourceReader
reader = new(_resxFileName);
239
using
ResXResourceReader
reader = new(_resxFileName);
261
using
ResXResourceReader
reader = new(_resxFileName);