2 instantiations of ImageListStreamer
System.Windows.Forms (2)
System\Windows\Forms\Controls\ImageList\ImageList.cs (1)
195
return new
ImageListStreamer
(this);
System\Windows\Forms\Nrbf\WinFormsSerializationRecordExtensions.cs (1)
32
imageListStreamer = new
ImageListStreamer
(data.GetArray());
42 references to ImageListStreamer
System.Windows.Forms (6)
System\Windows\Forms\BinaryFormat\WinFormsBinaryFormatWriter.cs (3)
38
public static void WriteImageListStreamer(Stream stream,
ImageListStreamer
streamer)
46
new ClassInfo(1, typeof(
ImageListStreamer
).FullName!, s_dataMemberName),
65
if (value is
ImageListStreamer
streamer)
System\Windows\Forms\Controls\ImageList\ImageList.cs (1)
184
public
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)
87
private
ImageListStreamer
? ImageStream
System.Windows.Forms.Tests (30)
SerializableAttributeTests.cs (1)
19
{ typeof(
ImageListStreamer
).FullName },
SerializableTypesTests.cs (2)
92
using
ImageListStreamer
result = BinarySerialization.EnsureDeserialize<
ImageListStreamer
>(blob);
System\Windows\Forms\BinaryFormat\WinFormsBinaryFormattedObjectTests.cs (7)
76
using
ImageListStreamer
stream = sourceList.ImageStream!;
80
root.TypeName.FullName.Should().Be(typeof(
ImageListStreamer
).FullName);
85
using
ImageListStreamer
deserialized = result.Should().BeOfType<
ImageListStreamer
>().Which;
99
using
ImageListStreamer
stream = sourceList.ImageStream!;
107
using
ImageListStreamer
deserialized = result.Should().BeOfType<
ImageListStreamer
>().Which;
System\Windows\Forms\BinaryFormatUtilitiesTests.cs (6)
250
using
ImageListStreamer
value = sourceList.ImageStream!;
252
var
result = RoundTripObject(value).Should().BeOfType<
ImageListStreamer
>().Which;
265
using
ImageListStreamer
value = sourceList.ImageStream!;
267
var
result = RoundTripObject_RestrictedFormat(value).Should().BeOfType<
ImageListStreamer
>().Which;
System\Windows\Forms\ImageList.NativeImageListTests.cs (2)
14
using
ImageListStreamer
result = BinarySerialization.EnsureDeserialize<
ImageListStreamer
>(ClassicImageListStreamer);
System\Windows\Forms\ImageListStreamerTests.cs (6)
16
using
ImageListStreamer
streamerFromBf = BinarySerialization.EnsureDeserialize<
ImageListStreamer
>(ClassicBfImageListStreamer);
27
using
ImageListStreamer
streamerFromMs = new(ms.GetBuffer());
49
using
ImageListStreamer
streamerFromMs = new(bytes);
54
using
ImageListStreamer
streamerFromBf = BinarySerialization.EnsureDeserialize<
ImageListStreamer
>(ClassicBfImageListStreamer);
System\Windows\Forms\ImageListTests.cs (6)
463
using
ImageListStreamer
stream = RoundtripSerialize(sourceList.ImageStream);
500
ImageListStreamer
stream = RoundtripSerialize(sourceList.ImageStream);
528
ImageListStreamer
stream = sourceList.ImageStream;
553
ImageListStreamer
stream = sourceList.ImageStream;
577
ImageListStreamer
stream = sourceList.ImageStream;
601
ImageListStreamer
stream = sourceList.ImageStream;
System.Windows.Forms.UI.IntegrationTests (1)
ImageListTests.cs (1)
126
private static
ImageListStreamer
DeserializeStreamer(string base64String)
TrimTestBinaryDeserialization (1)
Form1.Designer.cs (1)
41
imageList1.ImageStream = (
ImageListStreamer
)resources.GetObject("imageList1.ImageStream");
WinFormsControlsTest (3)
ListViewTest.Designer.cs (2)
51
this.imageList1.ImageStream = (System.Windows.Forms.
ImageListStreamer
)(resources.GetObject("imageList1.ImageStream"));
102
this.imageList2.ImageStream = (System.Windows.Forms.
ImageListStreamer
)(resources.GetObject("imageList2.ImageStream"));
TreeViewTest.Designer.cs (1)
55
this.imageList1.ImageStream = ((System.Windows.Forms.
ImageListStreamer
)(resources.GetObject("imageList1.ImageStream")));