11 references to new
System.Drawing.Common.Tests (6)
System\Drawing\IconTests.cs (6)
98
Icon icon =
new
(stream);
108
Icon icon =
new
(stream);
145
AssertExtensions.Throws<ArgumentNullException, ArgumentException>("stream", null, () => new
Icon
((Stream)null));
215
Assert.Throws(exceptionType, () => new
Icon
(stream));
630
return new
Icon
(stream);
720
using Icon loaded =
new
(outputStream);
System.Windows.Forms (1)
System\Resources\ResxFileRef.Converter.cs (1)
141
Icon ico =
new
(memoryStream);
System.Windows.Forms.Design (2)
System\Drawing\Design\IconEditor.cs (1)
107
protected virtual Icon LoadFromStream(Stream stream) =>
new
(stream);
System\Windows\Forms\Design\ImageListImage.cs (1)
54
return new ImageListImage((new
Icon
(stream)).ToBitmap());
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\EmbeddedResourceTests.cs (1)
95
using Icon icon =
new
(stream);
System.Windows.Forms.Tests (1)
System\Windows\Forms\EmbeddedResourceTests.cs (1)
207
using Icon icon =
new
(stream);