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