30 references to Size
System.Drawing.Common.Tests (23)
System\Drawing\IconTests.cs (23)
43
Assert.Equal(new Size(32, 32), icon.
Size
);
73
Assert.Equal(expectedSize, icon.
Size
);
83
Assert.Equal(expectedSize, icon.
Size
);
101
Assert.Equal(new Size(32, 32), icon.
Size
);
111
Assert.Equal(new Size(32, 32), icon.
Size
);
128
Assert.Equal(expectedSize, icon.
Size
);
139
Assert.Equal(expectedSize, icon.
Size
);
226
Assert.Equal(expectedSize, icon.
Size
);
238
Assert.Equal(expectedSize, icon.
Size
);
287
Assert.Equal(new Size(32, 32), clone.
Size
);
299
Assert.Equal(SystemIcons.Hand.
Size
, clone.
Size
);
340
Assert.Equal(new Size(size, size), icon.
Size
);
639
Assert.Equal(icon1.
Size
, icon2.
Size
);
650
Assert.Equal(icon1.
Size
, icon2.
Size
);
656
Assert.Equal(icon1.
Size
, icon3.
Size
);
671
Assert.Equal(new Size(16, 16), icon2.
Size
);
687
Assert.Equal(new Size(16, 16), icon2.
Size
);
693
Assert.Equal(new Size(16, 16), icon3.
Size
);
711
Assert.Throws<ObjectDisposedException>(() => icon.
Size
);
System.Windows.Forms (2)
System\Windows\Forms\ErrorProvider\ErrorProvider.IconRegion.cs (2)
42
Size size = _icon.
Size
;
81
public Size Size => _icon.
Size
;
System.Windows.Forms.Design.Tests (3)
System\Resources\Tools\StronglyTypedResourceBuilderTests.cs (2)
685
Assert.Equal(expected.
Size
, resourceIcon.
Size
);
System\Windows\Forms\Design\ImageListImageTests.cs (1)
86
result.Image.Size.Should().Be(icon.
Size
);
System.Windows.Forms.Tests (2)
System\Resources\ResXFileRef.ConverterTests.cs (2)
106
Assert.False(result.
Size
.IsEmpty);
119
Assert.Equal(iconResult.
Size
, bitmapResult.Size);