35 references to SharedList
System.Windows.Forms (35)
System\Windows\Forms\Controls\DataGridView\DataGridViewRowCollection.cs (35)
112public DataGridViewRow SharedRow(int rowIndex) => SharedList[rowIndex]; 126if (SharedList.LastIndexOf(dataGridViewRow) == index && SharedList.IndexOf(dataGridViewRow) == index) 141SharedList[index] = newDataGridViewRow; 252SharedList.Add(dataGridViewRow); 253int index = SharedList.Count - 1; 438SharedList.Add(dataGridViewRow); 439int index = SharedList.Count - 1; 442Debug.Assert(_rowStates.Count == SharedList.Count); 507SharedList.Add(rowTemplate); 508index = SharedList.Count - 1; 590SharedList.Add(rowTemplate); 594SharedList.Add(rowTemplate); 595index = SharedList.Count - 1; 623SharedList.Add(rowTemplate2); 627SharedList.Add(rowTemplate2); 628index = SharedList.Count - 1; 706SharedList.Add(dataGridViewRow); 708return SharedList.Count - 1; 764SharedList.Add(dataGridViewRow); 765int index = SharedList.Count - 1; 778Debug.Assert(_rowStates.Count == SharedList.Count); 821SharedList.Clear(); 1540SharedList.Insert(rowIndex, dataGridViewRow); 1543Debug.Assert(_rowStates.Count == SharedList.Count); 1621SharedList.Insert(indexDestination + i, rowTemplate); 1640SharedList.Insert(indexDestination, rowTemplate); 1654Debug.Assert(_rowStates.Count == SharedList.Count); 1665SharedList.Insert(indexDestination + i, rowTemplate2); 1683Debug.Assert(_rowStates.Count == SharedList.Count); 1734SharedList.Insert(indexDestination, dataGridViewRow); 1736Debug.Assert(_rowStates.Count == SharedList.Count); 1814SharedList.Insert(rowIndexInserted, dataGridViewRow); 1817Debug.Assert(_rowStates.Count == SharedList.Count); 2030SharedList.RemoveAt(rowIndex);