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