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