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)
32imageListStreamer = new ImageListStreamer(data.GetArray());
42 references to ImageListStreamer
System.Windows.Forms (6)
System\Windows\Forms\BinaryFormat\WinFormsBinaryFormatWriter.cs (3)
38public static void WriteImageListStreamer(Stream stream, ImageListStreamer streamer) 46new ClassInfo(1, typeof(ImageListStreamer).FullName!, s_dataMemberName), 65if (value is ImageListStreamer streamer)
System\Windows\Forms\Controls\ImageList\ImageList.cs (1)
184public ImageListStreamer? ImageStream
System\Windows\Forms\Nrbf\WinFormsSerializationRecordExtensions.cs (2)
12/// Tries to get this object as a binary formatted <see cref="ImageListStreamer"/>. 25|| !types.TypeNameMatches(typeof(ImageListStreamer))
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ImageListDesigner.cs (1)
87private ImageListStreamer? ImageStream
System.Windows.Forms.Tests (30)
SerializableAttributeTests.cs (1)
19{ typeof(ImageListStreamer).FullName },
SerializableTypesTests.cs (2)
92using ImageListStreamer result = BinarySerialization.EnsureDeserialize<ImageListStreamer>(blob);
System\Windows\Forms\BinaryFormat\WinFormsBinaryFormattedObjectTests.cs (7)
76using ImageListStreamer stream = sourceList.ImageStream!; 80root.TypeName.FullName.Should().Be(typeof(ImageListStreamer).FullName); 85using ImageListStreamer deserialized = result.Should().BeOfType<ImageListStreamer>().Which; 99using ImageListStreamer stream = sourceList.ImageStream!; 107using ImageListStreamer deserialized = result.Should().BeOfType<ImageListStreamer>().Which;
System\Windows\Forms\BinaryFormatUtilitiesTests.cs (6)
250using ImageListStreamer value = sourceList.ImageStream!; 252var result = RoundTripObject(value).Should().BeOfType<ImageListStreamer>().Which; 265using ImageListStreamer value = sourceList.ImageStream!; 267var result = RoundTripObject_RestrictedFormat(value).Should().BeOfType<ImageListStreamer>().Which;
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")));