35 references to _list
System.Data.Common (35)
System\Data\DataTableCollection.cs (35)
45protected override ArrayList List => _list; 59return (DataTable)_list[index]!; 84return (index < 0) ? null : (DataTable)_list[index]!; 102return (index < 0) ? null : (DataTable)_list[index]!; 109for (int i = 0; i < _list.Count; i++) 111DataTable table = (DataTable)_list[i]!; 126for (int i = 0; i < _list.Count; i++) 128DataTable table = (DataTable)_list[i]!; 255private void ArrayAdd(DataTable table) => _list.Add(table); 354_list.Add(newArray[newCur]); 371_list.Remove(table); 465int oldLength = _list.Count; 466DataTable[] tables = new DataTable[_list.Count]; 467_list.CopyTo(tables, 0); 477_list.Clear(); 515int count = _list.Count; 518DataTable table = (DataTable)_list[i]!; 537int count = _list.Count; 540DataTable table = (DataTable)_list[i]!; 559if (array.Length - index < _list.Count) 563for (int i = 0; i < _list.Count; ++i) 565array[index + i] = (DataTable)_list[i]!; 574int tableCount = _list.Count; 577if (table == (DataTable)_list[i]!) 618Debug.Assert(_list.Count == tableList.Count, "Both lists should have equal numbers of tables"); 619_list.Clear(); 620_list.AddRange(tableList); 633int count = _list.Count; 637DataTable table = (DataTable)_list[i]!; 646DataTable dupTable = (DataTable)_list[j]!; 670int count = _list.Count; 674DataTable table = (DataTable)_list[i]!; 740int tableCount = _list.Count; 743DataTable table = (DataTable)_list[i]!; 746throw ExceptionBuilder.DuplicateTableName(((DataTable)_list[i]!).TableName);