12 references to Count
System.Windows.Forms.Design (6)
System\Windows\Forms\Design\ImageListDesigner.cs (2)
36
private bool ShouldSerializeColorDepth() => Images.
Count
== 0;
68
private bool ShouldSerializeImageSize() => Images.
Count
== 0;
System\Windows\Forms\Design\ImageListDesigner.OriginalImageCollection.cs (4)
53
ArgumentOutOfRangeException.ThrowIfGreaterThanOrEqual(index,
Count
);
60
ArgumentOutOfRangeException.ThrowIfGreaterThanOrEqual(index,
Count
);
181
ArgumentOutOfRangeException.ThrowIfGreaterThanOrEqual(index,
Count
);
188
int ICollection.Count =>
Count
;
System.Windows.Forms.Design.Tests (6)
System\Windows\Forms\Design\ImageListDesignerOriginalImageCollectionTests.cs (6)
31
_originalImageCollection.
Count
.Should().Be(0);
80
_originalImageCollection.
Count
.Should().Be(3);
88
_originalImageCollection.
Count
.Should().Be(2);
96
_originalImageCollection.
Count
.Should().Be(0);
125
_originalImageCollection.
Count
.Should().Be(0);
133
_originalImageCollection.
Count
.Should().Be(2);