2 writes to _selectedBandSnapshotIndexes
System.Windows.Forms (2)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (2)
19941_selectedBandSnapshotIndexes = new DataGridViewIntLinkedList(_selectedBandIndexes); 20037_selectedBandSnapshotIndexes = null;
25 references to _selectedBandSnapshotIndexes
System.Windows.Forms (25)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (25)
13231_selectedBandSnapshotIndexes?.Clear(); 15496if (_selectedBandSnapshotIndexes is not null) 15498columnEntries = _selectedBandSnapshotIndexes.Count; 15502int columnIndex = _selectedBandSnapshotIndexes[columnEntry]; 15505_selectedBandSnapshotIndexes[columnEntry] = columnIndex + 1; 15586if (_selectedBandSnapshotIndexes is not null) 15588rowEntries = _selectedBandSnapshotIndexes.Count; 15592int rowIndex = _selectedBandSnapshotIndexes[rowEntry]; 15595_selectedBandSnapshotIndexes[rowEntry] = rowIndex + insertionCount; 15646if (_selectedBandSnapshotIndexes is not null) 15648rowEntries = _selectedBandSnapshotIndexes.Count; 15652int rowIndex = _selectedBandSnapshotIndexes[rowEntry]; 15655_selectedBandSnapshotIndexes[rowEntry] = rowIndex + dataGridViewRows.Length; 17340if (_selectedBandSnapshotIndexes is not null) 17342rowEntries = _selectedBandSnapshotIndexes.Count; 17346int rowIndex = _selectedBandSnapshotIndexes[rowEntry]; 17349_selectedBandSnapshotIndexes.RemoveAt(rowEntry); 17356_selectedBandSnapshotIndexes[rowEntry] = rowIndex - 1; 19942while (_selectedBandSnapshotIndexes.Count > remainingSelectedRows) 19944int rowIndex = _selectedBandSnapshotIndexes[remainingSelectedRows]; 28374if (_selectedBandSnapshotIndexes is not null) 28376row1Selected = _selectedBandSnapshotIndexes.IndexOf(rowIndex1); 28377row2Selected = _selectedBandSnapshotIndexes.IndexOf(rowIndex2); 28380_selectedBandSnapshotIndexes[row1Selected] = rowIndex2; 28384_selectedBandSnapshotIndexes[row2Selected] = rowIndex1;