12 references to RefCount
System.Data (12)
fx\src\data\System\Data\DataColumn.cs (1)
1048Debug.Assert(2 <= sortIndex.RefCount, "bad sortIndex refcount");
fx\src\data\System\Data\DataTable.cs (9)
1010if (index.RefCount <= 1) { 1533Debug.Assert(2 <= primaryKey.ConstraintIndex.RefCount, "bad primaryKey index RefCount"); 3419if (0 < ndx.RefCount) { 3440if (0 < ndx.RefCount) { 3457if (0 < ndx.RefCount) { 3476if (0 < ndx.RefCount) { 3675if (0 < ndx.RefCount) { 4217Debug.Assert(2 <= loadIndex.RefCount, "bad loadIndex.RefCount"); 4283Debug.Assert(2 <= indextoUse.RefCount, "bad indextoUse.RefCount");
fx\src\data\System\Data\DataView.cs (2)
967if (findIndex.RefCount == 1) { // if we have created it and we are removing it, refCount is (1) 1105if (findIndex.RefCount == 1) { // if we have created it and we are removing it, refCount is (1)