2 instantiations of ImageListStreamer
System.Windows.Forms (2)
System\Windows\Forms\Controls\ImageList\ImageList.cs (1)
195return new ImageListStreamer(this);
System\Windows\Forms\Nrbf\WinFormsSerializationRecordExtensions.cs (1)
37imageListStreamer = new ImageListStreamer(data.GetArray());
45 references to ImageListStreamer
System.Windows.Forms (8)
System\Windows\Forms\BinaryFormat\WinFormsBinaryFormatWriter.cs (3)
39public static void WriteImageListStreamer(Stream stream, ImageListStreamer streamer) 47new ClassInfo(1, typeof(ImageListStreamer).FullName!, s_dataMemberName), 80if (value is ImageListStreamer streamer)
System\Windows\Forms\Controls\ImageList\ImageList.cs (1)
184public ImageListStreamer? ImageStream
System\Windows\Forms\Nrbf\WinFormsSerializationRecordExtensions.cs (2)
17/// Tries to get this object as a binary formatted <see cref="ImageListStreamer"/>. 30|| !types.TypeNameMatches(typeof(ImageListStreamer))
System\Windows\Forms\OLE\DataObject.Composition.Binder.cs (2)
95typeof(ImageListStreamer), 217|| typeof(T) == typeof(ImageListStreamer)
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ImageListDesigner.cs (1)
87private ImageListStreamer? ImageStream
System.Windows.Forms.Tests (31)
SerializableAttributeTests.cs (1)
23{ typeof(ImageListStreamer).FullName },
SerializableTypesTests.cs (2)
92using ImageListStreamer result = BinarySerialization.EnsureDeserialize<ImageListStreamer>(blob);
System\Windows\Forms\BinaryFormat\WinFormsBinaryFormattedObjectTests.cs (7)
167using ImageListStreamer stream = sourceList.ImageStream!; 171root.TypeName.FullName.Should().Be(typeof(ImageListStreamer).FullName); 176using ImageListStreamer deserialized = result.Should().BeOfType<ImageListStreamer>().Which; 190using ImageListStreamer stream = sourceList.ImageStream!; 198using ImageListStreamer deserialized = result.Should().BeOfType<ImageListStreamer>().Which;
System\Windows\Forms\BinaryFormatUtilitiesTests.cs (7)
306using ImageListStreamer value = sourceList.ImageStream!; 308var result = RoundTripObject(value).Should().BeOfType<ImageListStreamer>().Which; 321using ImageListStreamer value = sourceList.ImageStream!; 323var result = RoundTripObject_RestrictedFormat(value).Should().BeOfType<ImageListStreamer>().Which; 910public ImageListStreamer ImageList = new(new ImageList());
System\Windows\Forms\ImageList.NativeImageListTests.cs (2)
14using ImageListStreamer result = BinarySerialization.EnsureDeserialize<ImageListStreamer>(ClassicImageListStreamer);
System\Windows\Forms\ImageListStreamerTests.cs (6)
16using ImageListStreamer streamerFromBf = BinarySerialization.EnsureDeserialize<ImageListStreamer>(ClassicBfImageListStreamer); 27using ImageListStreamer streamerFromMs = new(ms.GetBuffer()); 49using ImageListStreamer streamerFromMs = new(bytes); 54using ImageListStreamer streamerFromBf = BinarySerialization.EnsureDeserialize<ImageListStreamer>(ClassicBfImageListStreamer);
System\Windows\Forms\ImageListTests.cs (6)
463using ImageListStreamer stream = RoundtripSerialize(sourceList.ImageStream); 500ImageListStreamer stream = RoundtripSerialize(sourceList.ImageStream); 528ImageListStreamer stream = sourceList.ImageStream; 553ImageListStreamer stream = sourceList.ImageStream; 577ImageListStreamer stream = sourceList.ImageStream; 601ImageListStreamer stream = sourceList.ImageStream;
System.Windows.Forms.UI.IntegrationTests (1)
ImageListTests.cs (1)
126private static ImageListStreamer DeserializeStreamer(string base64String)
TrimTestBinaryDeserialization (1)
Form1.Designer.cs (1)
41imageList1.ImageStream = (ImageListStreamer)resources.GetObject("imageList1.ImageStream");
WinFormsControlsTest (3)
ListViewTest.Designer.cs (2)
51this.imageList1.ImageStream = (System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")); 102this.imageList2.ImageStream = (System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList2.ImageStream"));
TreeViewTest.Designer.cs (1)
55this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));