1 write to _collection
System.Windows.Forms.Tests (1)
System\Windows\Forms\ListView.CheckedIndexCollectionTests.cs (1)
16_collection = new ListView.CheckedIndexCollection(_listView);
23 references to _collection
System.Windows.Forms.Tests (23)
System\Windows\Forms\ListView.CheckedIndexCollectionTests.cs (23)
33_collection.Count.Should().Be(0); 46_collection.Count.Should().Be(2); 59_collection[0].Should().Be(1); 60_collection[1].Should().Be(2); 69Action act = () => _ = _collection[1]; 85_collection.Contains(index).Should().Be(expected); 98_collection.IndexOf(1).Should().Be(0); 99_collection.IndexOf(2).Should().Be(1); 111_collection.IndexOf(0).Should().Be(-1); 117_collection.IsReadOnly.Should().BeTrue(); 130var indices = _collection.Cast<int>().ToArray(); 146((ICollection)_collection).CopyTo(array, 0); 159IList ilist = _collection; 183IList ilist = _collection; 191IList ilist = _collection; 200ListView.CheckedIndexCollection syncRoot = (ListView.CheckedIndexCollection)((ICollection)_collection).SyncRoot; 201syncRoot.Should().BeSameAs(_collection); 207bool isSynchronized = ((ICollection)_collection).IsSynchronized; 214bool isFixedSize = ((IList)_collection).IsFixedSize; 231IList ilist = _collection; 249IList ilist = _collection; 264IList ilist = _collection; 279IList ilist = _collection;