13 instantiations of ResXFileRef
System.Windows.Forms (6)
System\Resources\ResXDataNode.cs (4)
180? new ResXFileRef(FileRefFullPath, FileRefType!) 181: new ResXFileRef(FileRefFullPath, FileRefType!, Encoding.GetEncoding(FileRefTextEncoding)); 614? new ResXFileRef(FileRefFullPath, FileRefType, Encoding.GetEncoding(FileRefTextEncoding)) 615: new ResXFileRef(FileRefFullPath, FileRefType);
System\Resources\ResXFileRef.cs (2)
40=> TextFileEncoding is null ? new(FileName, TypeName) : new(FileName, TypeName, TextFileEncoding);
System.Windows.Forms.Design.Tests (4)
System\Resources\Tools\StronglyTypedResourceBuilderTests.cs (4)
352ResXFileRef fileRef = new(@"Resources\Image1.png", $"System.Byte[], {TypeAssembly}"); 432ResXFileRef fileRef = new(@"Resources\Icon1.ico", $"System.Byte[], {TypeAssembly}"); 485ResXFileRef fileRef = new( 537ResXFileRef fileRef = new(@"Resources\Audio1.wav", $"System.IO.MemoryStream, {TypeAssembly}");
System.Windows.Forms.Tests (3)
System\Resources\ResxDataNodeTests.cs (1)
19ResXFileRef fileRef = new(string.Empty, string.Empty);
System\Resources\ResXFileRefTests.cs (2)
17ResXFileRef fileRef = new(fileName, typeName); 31ResXFileRef fileRef = new(fileName, typeName, encoding);
30 references to ResXFileRef
System.Windows.Forms (13)
System\Resources\ResXDataNode.cs (8)
35private ResXFileRef? _fileRef; 102public ResXDataNode(string name, ResXFileRef fileRef) : this(name, fileRef, typeNameConverter: null) 106public ResXDataNode(string name, ResXFileRef fileRef, Func<Type?, string>? typeNameConverter) 128if (nodeType is not null && nodeType.Equals(typeof(ResXFileRef))) 131string[] fileRefDetails = ResXFileRef.Converter.ParseResxFileRefString(_nodeInfo.ValueData); 168public ResXFileRef? FileRef 493_nodeInfo.TypeName = MultitargetUtil.GetAssemblyQualifiedName(typeof(ResXFileRef), _typeNameConverter); 616return TypeDescriptor.GetConverter(typeof(ResXFileRef)).ConvertFrom(_fileRef.ToString());
System\Resources\ResxFileRef.Converter.cs (1)
29if (destinationType == typeof(string) && value is ResXFileRef fileRef)
System\Resources\ResXFileRef.cs (1)
39internal ResXFileRef Clone()
System\Resources\ResXResourceWriter.cs (3)
98/// A path that, if prepended to the relative file path specified in a <see cref="ResXFileRef"/> object, 307ResXFileRef? fileRef = nodeClone.FileRef; 348case ResXFileRef fileRef:
System.Windows.Forms.Design.Tests (4)
System\Resources\Tools\StronglyTypedResourceBuilderTests.cs (4)
352ResXFileRef fileRef = new(@"Resources\Image1.png", $"System.Byte[], {TypeAssembly}"); 432ResXFileRef fileRef = new(@"Resources\Icon1.ico", $"System.Byte[], {TypeAssembly}"); 485ResXFileRef fileRef = new( 537ResXFileRef fileRef = new(@"Resources\Audio1.wav", $"System.IO.MemoryStream, {TypeAssembly}");
System.Windows.Forms.Tests (13)
System\Resources\ResxDataNodeTests.cs (1)
19ResXFileRef fileRef = new(string.Empty, string.Empty);
System\Resources\ResXFileRef.ConverterTests.cs (10)
25string[] parts = ResXFileRef.Converter.ParseResxFileRefString(resxFileRefString); 35Assert.Throws<ArgumentException>(() => ResXFileRef.Converter.ParseResxFileRefString(resxFileRefString)); 42ResXFileRef.Converter converter = new(); 54ResXFileRef.Converter converter = new(); 66ResXFileRef.Converter converter = new(); 78ResXFileRef.Converter converter = new(); 90ResXFileRef.Converter converter = new(); 101ResXFileRef.Converter converter = new(); 114ResXFileRef.Converter converter = new(); 126ResXFileRef.Converter converter = new();
System\Resources\ResXFileRefTests.cs (2)
17ResXFileRef fileRef = new(fileName, typeName); 31ResXFileRef fileRef = new(fileName, typeName, encoding);