4 references to new
System.Drawing.Common.Tests (3)
System\Drawing\IconTests.cs (3)
136
using Icon icon =
new
(stream, size);
147
AssertExtensions.Throws<ArgumentNullException, ArgumentException>("stream", null, () => new
Icon
((Stream)null, new Size(32, 32)));
751
using Icon icon =
new
(stream, new Size(32, 32));
System.Windows.Forms.Primitives (1)
System\Windows\Forms\Internals\ScaleHelper.cs (1)
350
using Icon icon =
new
(resourceStream, size.IsEmpty ? SystemIconSize : size);