33 instantiations of ResXResourceReader
Microsoft.Build.Tasks.Core (4)
GenerateResource.cs (2)
3005resXReader = new ResXResourceReader(filename, _typeResolver); 3009resXReader = new ResXResourceReader(filename);
ResGenDependencies.cs (1)
276using (var resxReader = new ResXResourceReader(filename))
system.design\stronglytypedresourcebuilder.cs (1)
277using (ResXResourceReader rr = new ResXResourceReader(resxFile))
System.Windows.Forms (4)
System\Resources\ResXResourceReader.cs (2)
291=> new(typeResolver) 300=> new(assemblyNames)
System\Resources\ResXResourceSet.cs (2)
14public ResXResourceSet(string fileName) : base(new ResXResourceReader(fileName)) 21public ResXResourceSet(Stream stream) : base(new ResXResourceReader(stream))
System.Windows.Forms.Design (1)
System\Resources\Tools\StronglyTypedResourceBuilder.cs (1)
272using (ResXResourceReader reader = new(resxFile))
System.Windows.Forms.Design.Tests (11)
System\Resources\Tools\StronglyTypedResourceBuilderTests.cs (11)
315using ResXResourceReader reader = new(temp.Path); 344using ResXResourceReader reader = new(temp.Path); 371using ResXResourceReader reader = new(resxStream); 396using ResXResourceReader reader = new(temp.Path); 424using ResXResourceReader reader = new(temp.Path); 451using ResXResourceReader reader = new(resxStream); 477using ResXResourceReader reader = new(temp.Path); 507using ResXResourceReader reader = new(resxStream); 530using ResXResourceReader reader = new(temp.Path); 556using ResXResourceReader reader = new(resxStream); 636using ResXResourceReader reader = new(temp.Path);
System.Windows.Forms.Tests (13)
System\Resources\ResXResourceReaderTests.cs (5)
24using ResXResourceReader resxReader = new(resxPath); 49using ResXResourceReader resxReader = new(resxPath); 58using ResXResourceReader resXReader = new(tempFile.Path); 67using ResXResourceReader resXReader = new(textReader); 77using ResXResourceReader resXReader = new(resxStream);
System\Resources\ResXResourceWriterTests.cs (8)
31using ResXResourceReader reader = new(new MemoryStream(buffer)); 134using ResXResourceReader reader = new(_resxFileName); 155using ResXResourceReader reader = new(_resxFileName); 176using ResXResourceReader reader = new(_resxFileName); 197using ResXResourceReader reader = new(_resxFileName); 218using ResXResourceReader reader = new(_resxFileName); 239using ResXResourceReader reader = new(_resxFileName); 261using ResXResourceReader reader = new(_resxFileName);
47 references to ResXResourceReader
Microsoft.Build.Tasks.Core (3)
GenerateResource.cs (1)
3002ResXResourceReader resXReader = null;
ResGenDependencies.cs (1)
276using (var resxReader = new ResXResourceReader(filename))
system.design\stronglytypedresourcebuilder.cs (1)
277using (ResXResourceReader rr = new ResXResourceReader(resxFile))
System.Windows.Forms (6)
System\Resources\ResXResourceReader.cs (4)
284public static ResXResourceReader FromFileContents(string fileContents) 290public static ResXResourceReader FromFileContents(string fileContents, ITypeResolutionService? typeResolver) 299public static ResXResourceReader FromFileContents(string fileContents, AssemblyName[] assemblyNames) 421Type readerType = typeof(ResXResourceReader);
System\Resources\ResXResourceSet.cs (1)
28public 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)
329if (reader is ResXResourceReader resxReader)
System\Resources\Tools\StronglyTypedResourceBuilder.cs (1)
272using (ResXResourceReader reader = new(resxFile))
System.Windows.Forms.Design.Tests (11)
System\Resources\Tools\StronglyTypedResourceBuilderTests.cs (11)
315using ResXResourceReader reader = new(temp.Path); 344using ResXResourceReader reader = new(temp.Path); 371using ResXResourceReader reader = new(resxStream); 396using ResXResourceReader reader = new(temp.Path); 424using ResXResourceReader reader = new(temp.Path); 451using ResXResourceReader reader = new(resxStream); 477using ResXResourceReader reader = new(temp.Path); 507using ResXResourceReader reader = new(resxStream); 530using ResXResourceReader reader = new(temp.Path); 556using ResXResourceReader reader = new(resxStream); 636using ResXResourceReader reader = new(temp.Path);
System.Windows.Forms.Tests (25)
System\Resources\ResXResourceReaderTests.cs (17)
24using ResXResourceReader resxReader = new(resxPath); 49using ResXResourceReader resxReader = new(resxPath); 58using ResXResourceReader resXReader = new(tempFile.Path); 67using ResXResourceReader resXReader = new(textReader); 77using ResXResourceReader resXReader = new(resxStream); 85using var resXReader = ResXResourceReader.FromFileContents(ResxHelper.CreateResx()); 110using var resXReader = ResXResourceReader.FromFileContents(ResxHelper.CreateResx(data)); 138using var resXReader = ResXResourceReader.FromFileContents(ResxHelper.CreateResx(data)); 165using ResXResourceReader resXReader = ResXResourceReader.FromFileContents(ResxHelper.CreateResx(metadata)); 189using var resXReader = ResXResourceReader.FromFileContents(ResxHelper.CreateResx(data)); 211using var resXReader = ResXResourceReader.FromFileContents(ResxHelper.CreateResx(data));
System\Resources\ResXResourceWriterTests.cs (8)
31using ResXResourceReader reader = new(new MemoryStream(buffer)); 134using ResXResourceReader reader = new(_resxFileName); 155using ResXResourceReader reader = new(_resxFileName); 176using ResXResourceReader reader = new(_resxFileName); 197using ResXResourceReader reader = new(_resxFileName); 218using ResXResourceReader reader = new(_resxFileName); 239using ResXResourceReader reader = new(_resxFileName); 261using ResXResourceReader reader = new(_resxFileName);