1 write to _rowViewCache
System.Data.Common (1)
System\Data\DataView.cs (1)
1475
_rowViewCache
= rvc;
16 references to _rowViewCache
System.Data.Common (16)
System\Data\DataView.cs (16)
275
Debug.Assert(
_rowViewCache
.Count == CountFromIndex, "DataView.Count mismatch");
276
return
_rowViewCache
.Count;
546
_rowViewCache
[_addNewRow].EndEdit();
554
_rowViewCache
.Add(_addNewRow, drv);
651
array.SetValue(
_rowViewCache
[_addNewRow], index);
671
array[index] =
_rowViewCache
[_addNewRow];
807
bool flag =
_rowViewCache
.Remove(_addNewRow);
871
if (
_rowViewCache
.TryGetValue(rowview.Row, out cached) && cached == (object)rowview)
1242
private DataRowView GetRowView(DataRow dr) =>
_rowViewCache
[dr];
1304
int index = IndexOfDataRowView(
_rowViewCache
[_addNewRow]);
1310
else if (!
_rowViewCache
.ContainsKey(row))
1312
_rowViewCache
.Add(row, buffer ?? new DataRowView(this, row));
1326
_rowViewCache
.TryGetValue(row, out buffer);
1336
if (!
_rowViewCache
.Remove(row))
1461
if (!
_rowViewCache
.TryGetValue(row, out drv))
1470
_rowViewCache
.TryGetValue(_addNewRow, out drv);