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)
352
ResXFileRef fileRef =
new
(@"Resources\Image1.png", $"System.Byte[], {TypeAssembly}");
432
ResXFileRef fileRef =
new
(@"Resources\Icon1.ico", $"System.Byte[], {TypeAssembly}");
485
ResXFileRef fileRef =
new
(
537
ResXFileRef fileRef =
new
(@"Resources\Audio1.wav", $"System.IO.MemoryStream, {TypeAssembly}");
System.Windows.Forms.Tests (3)
System\Resources\ResxDataNodeTests.cs (1)
19
ResXFileRef fileRef =
new
(string.Empty, string.Empty);
System\Resources\ResXFileRefTests.cs (2)
17
ResXFileRef fileRef =
new
(fileName, typeName);
31
ResXFileRef fileRef =
new
(fileName, typeName, encoding);
30 references to ResXFileRef
System.Windows.Forms (13)
System\Resources\ResXDataNode.cs (8)
35
private
ResXFileRef
? _fileRef;
102
public ResXDataNode(string name,
ResXFileRef
fileRef) : this(name, fileRef, typeNameConverter: null)
106
public ResXDataNode(string name,
ResXFileRef
fileRef, Func<Type?, string>? typeNameConverter)
128
if (nodeType is not null && nodeType.Equals(typeof(
ResXFileRef
)))
131
string[] fileRefDetails =
ResXFileRef
.Converter.ParseResxFileRefString(_nodeInfo.ValueData);
168
public
ResXFileRef
? FileRef
493
_nodeInfo.TypeName = MultitargetUtil.GetAssemblyQualifiedName(typeof(
ResXFileRef
), _typeNameConverter);
616
return TypeDescriptor.GetConverter(typeof(
ResXFileRef
)).ConvertFrom(_fileRef.ToString());
System\Resources\ResxFileRef.Converter.cs (1)
29
if (destinationType == typeof(string) && value is
ResXFileRef
fileRef)
System\Resources\ResXFileRef.cs (1)
39
internal
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,
307
ResXFileRef
? fileRef = nodeClone.FileRef;
348
case
ResXFileRef
fileRef:
System.Windows.Forms.Design.Tests (4)
System\Resources\Tools\StronglyTypedResourceBuilderTests.cs (4)
352
ResXFileRef
fileRef = new(@"Resources\Image1.png", $"System.Byte[], {TypeAssembly}");
432
ResXFileRef
fileRef = new(@"Resources\Icon1.ico", $"System.Byte[], {TypeAssembly}");
485
ResXFileRef
fileRef = new(
537
ResXFileRef
fileRef = new(@"Resources\Audio1.wav", $"System.IO.MemoryStream, {TypeAssembly}");
System.Windows.Forms.Tests (13)
System\Resources\ResxDataNodeTests.cs (1)
19
ResXFileRef
fileRef = new(string.Empty, string.Empty);
System\Resources\ResXFileRef.ConverterTests.cs (10)
25
string[] parts =
ResXFileRef
.Converter.ParseResxFileRefString(resxFileRefString);
35
Assert.Throws<ArgumentException>(() =>
ResXFileRef
.Converter.ParseResxFileRefString(resxFileRefString));
42
ResXFileRef
.Converter converter = new();
54
ResXFileRef
.Converter converter = new();
66
ResXFileRef
.Converter converter = new();
78
ResXFileRef
.Converter converter = new();
90
ResXFileRef
.Converter converter = new();
101
ResXFileRef
.Converter converter = new();
114
ResXFileRef
.Converter converter = new();
126
ResXFileRef
.Converter converter = new();
System\Resources\ResXFileRefTests.cs (2)
17
ResXFileRef
fileRef = new(fileName, typeName);
31
ResXFileRef
fileRef = new(fileName, typeName, encoding);