25 instantiations of ResXDataNode
System.Windows.Forms (5)
System\Resources\ResXDataNode.cs (1)
55return new ResXDataNode()
System\Resources\ResXResourceReader.cs (1)
612ResXDataNode dataNode = new(nodeInfo, BasePath);
System\Resources\ResXResourceWriter.cs (2)
350ResXDataNode node = new(name, fileRef, _typeNameConverter); 358ResXDataNode node = new(name, value, _typeNameConverter);
System\Resources\ResXSerializationBinder.cs (1)
32/// constructors on <see cref="ResXDataNode"/> such as <see cref="ResXDataNode(string, object?, Func{Type?, string}?)"/>
System.Windows.Forms.Design.Tests (13)
System\Resources\Tools\StronglyTypedResourceBuilderTests.cs (13)
177{ "TestName", new ResXDataNode("WrongName", "TestValue") } 272{ "TestName", new ResXDataNode("TestName", "TestValue") } 328ResXDataNode node = new("Image1", converter.ConvertTo(bitmap, typeof(byte[]))); 355{ "Image1", new ResXDataNode("Image1", fileRef) } 368resxWriter.AddResource(new ResXDataNode("Image1", fileRef)); 408ResXDataNode node = new("Icon1", converter.ConvertTo(icon, typeof(byte[]))); 435{ "Icon1", new ResXDataNode("Icon1", fileRef) } 448resxWriter.AddResource(new ResXDataNode("Icon1", fileRef)); 491{ "TextFile1", new ResXDataNode("TextFile1", fileRef) } 504resxWriter.AddResource(new ResXDataNode("TextFile1", fileRef)); 540{ "Audio1", new ResXDataNode("Audio1", fileRef) } 553resxWriter.AddResource(new ResXDataNode("Audio1", fileRef)); 620ResXDataNode node = new("MediaPlayer1", converter.ConvertTo(mediaPlayer.OcxState, typeof(byte[])));
System.Windows.Forms.Tests (7)
System\Resources\ResxDataNodeTests.cs (6)
20ResXDataNode dataNode = new(nodeName, fileRef); 31ResXDataNode temp = new("test", converter.ConvertTo(bitmap, typeof(byte[]))); 45ResXDataNode temp = new("test", converter.ConvertTo(bitmap, typeof(byte[]))); 58ResXDataNode temp = new("test", value: null); 69ResXDataNode temp = new("testName", "test"); 82ResXDataNode dataNode = new("Test", value);
System\Resources\ResXResourceWriterTests.cs (1)
252ResXDataNode dataNode = new(_testString1, _testDateTime);
30 references to ResXDataNode
System.Windows.Forms (8)
System\Resources\ResXDataNode.cs (1)
53internal ResXDataNode DeepClone()
System\Resources\ResXResourceReader.cs (1)
612ResXDataNode dataNode = new(nodeInfo, BasePath);
System\Resources\ResXResourceWriter.cs (5)
285if (value is ResXDataNode node) 303public void AddResource(ResXDataNode node) 306ResXDataNode nodeClone = node.DeepClone(); 350ResXDataNode node = new(name, fileRef, _typeNameConverter); 358ResXDataNode node = new(name, value, _typeNameConverter);
System\Resources\ResXSerializationBinder.cs (1)
32/// constructors on <see cref="ResXDataNode"/> such as <see cref="ResXDataNode(string, object?, Func{Type?, string}?)"/>
System.Windows.Forms.Design (7)
System\Resources\Tools\StronglyTypedResourceBuilder.cs (7)
97/// <paramref name="resourceList"/> contains <see cref="ResXDataNode"/> values where the key does not 98/// match <see cref="ResXDataNode.Name"/>. 150/// <paramref name="resourceList"/> contains <see cref="ResXDataNode"/> values where the key does not 151/// match <see cref="ResXDataNode.Name"/>. 169if (entry.Value is ResXDataNode node) 277ResXDataNode node = (ResXDataNode)entry.Value!;
System.Windows.Forms.Design.Tests (3)
System\Resources\Tools\StronglyTypedResourceBuilderTests.cs (3)
328ResXDataNode node = new("Image1", converter.ConvertTo(bitmap, typeof(byte[]))); 408ResXDataNode node = new("Icon1", converter.ConvertTo(icon, typeof(byte[]))); 620ResXDataNode node = new("MediaPlayer1", converter.ConvertTo(mediaPlayer.OcxState, typeof(byte[])));
System.Windows.Forms.Tests (12)
System\Resources\ResxDataNodeTests.cs (11)
20ResXDataNode dataNode = new(nodeName, fileRef); 31ResXDataNode temp = new("test", converter.ConvertTo(bitmap, typeof(byte[]))); 33ResXDataNode dataNode = new(dataNodeInfo, basePath: null); 45ResXDataNode temp = new("test", converter.ConvertTo(bitmap, typeof(byte[]))); 48ResXDataNode dataNode = new(dataNodeInfo, basePath: null); 58ResXDataNode temp = new("test", value: null); 60ResXDataNode dataNode = new(dataNodeInfo, basePath: null); 69ResXDataNode temp = new("testName", "test"); 71ResXDataNode dataNode = new(dataNodeInfo, basePath: null); 82ResXDataNode dataNode = new("Test", value); 85ResXDataNode deserializedDataNode = new(nodeInfo, basePath: null);
System\Resources\ResXResourceWriterTests.cs (1)
252ResXDataNode dataNode = new(_testString1, _testDateTime);