3 writes to addNewRow
System.Data (3)
fx\src\data\System\Data\DataView.cs (3)
619addNewRow = table.NewRow(); 857addNewRow = null; 1341addNewRow = null;
27 references to addNewRow
System.Data (27)
fx\src\data\System\Data\DataRowView.cs (1)
241return (_row == dataView.addNewRow);
fx\src\data\System\Data\DataView.cs (26)
301return (((null != index) ? index.RecordCount : 0) + ((null != addNewRow) ? 1 : 0)); 613if (addNewRow != null) { 614rowViewCache[addNewRow].EndEdit(); 617Debug.Assert(null == addNewRow, "AddNew addNewRow is not null"); 620DataRowView drv = new DataRowView(this, addNewRow); 621rowViewCache.Add(addNewRow, drv); 698if (null != addNewRow) { 699array.SetValue(rowViewCache[addNewRow], index); 713if (null != addNewRow) { 714array[index] = rowViewCache[addNewRow]; 731if (row == addNewRow) { 836Debug.Assert(null != addNewRow, "null addNewRow"); 839DataRow newRow = addNewRow; 853if (newRow == addNewRow) { 855bool flag = rowViewCache.Remove(addNewRow); 919if (Object.ReferenceEquals(addNewRow, rowview.Row)) { 1267return addNewRow.GetDefaultRecord(); 1277if ((index == (count - 1)) && (addNewRow != null)) { 1280return addNewRow; 1297if (addNewRow != null && index.RecordCount == 0) { // Microsoft : 83032 Clear the newly added row as the underlying index is reset. 1336if (row == addNewRow) { 1338int index = IndexOfDataRowView(rowViewCache[addNewRow]); 1353Debug.Assert(row != addNewRow, "addNewRow being deleted"); 1493if (null != addNewRow) { 1494rowViewCache.TryGetValue(addNewRow, out drv); 1496rvc.Add(addNewRow, drv);