1 write to _rowStates
System.Windows.Forms (1)
System\Windows\Forms\Controls\DataGridView\DataGridViewRowCollection.cs (1)
86_rowStates = [];
38 references to _rowStates
System.Windows.Forms (38)
System\Windows\Forms\Controls\DataGridView\DataGridViewRowCollection.cs (38)
255_rowStates.Add(rowState); 441_rowStates.Add(dataGridViewRow.State); 442Debug.Assert(_rowStates.Count == SharedList.Count); 503DataGridViewElementStates rowState = _rowStates[indexSource] & ~dgvesRemove; 509_rowStates.Add(rowState); 576DataGridViewElementStates rowTemplateState = _rowStates[indexSource] & ~dgvesRemove; 591_rowStates.Add(rowTemplateState); 596_rowStates.Add(rowTemplateState); 624_rowStates.Add(rowTemplateState); 629_rowStates.Add(rowTemplateState); 705_rowStates.Add(rowState); 767_rowStates.Add(dataGridViewRow.State); 778Debug.Assert(_rowStates.Count == SharedList.Count); 822_rowStates.Clear(); 1542_rowStates.Insert(rowIndex, dataGridViewRow.State); 1543Debug.Assert(_rowStates.Count == SharedList.Count); 1622_rowStates.Insert(indexDestination + i, rowTemplateState); 1641_rowStates.Insert(indexDestination, rowTemplateState); 1654Debug.Assert(_rowStates.Count == SharedList.Count); 1666_rowStates.Insert(indexDestination + i, rowTemplateState); 1683Debug.Assert(_rowStates.Count == SharedList.Count); 1735_rowStates.Insert(indexDestination, rowState); 1736Debug.Assert(_rowStates.Count == SharedList.Count); 1816_rowStates.Insert(rowIndexInserted, dataGridViewRow.State); 1817Debug.Assert(_rowStates.Count == SharedList.Count); 2029_rowStates.RemoveAt(rowIndex); 2229_rowStates[index] = dataGridViewRow.State; 2273if ((dataGridViewCell.State & ~(dataGridViewCell.CellStateFromColumnRowStates(_rowStates[index]))) != 0) 2295if (((_rowStates[rowIndex] & state) != 0) != value) 2304_rowStates[rowIndex] = _rowStates[rowIndex] | state; 2308_rowStates[rowIndex] = _rowStates[rowIndex] & ~state; 2366return _rowStates[rowIndex]; 2415(_rowStates[rowIndex1], _rowStates[rowIndex2]) = (_rowStates[rowIndex2], _rowStates[rowIndex1]);