12 references to RefCount
System.Data.Common (12)
System\Data\DataColumn.cs (1)
1027Debug.Assert(2 <= _sortIndex.RefCount, "bad sortIndex refcount");
System\Data\DataTable.cs (9)
1124if (index.RefCount <= 1) 1631Debug.Assert(2 <= primayKeyConstraint.ConstraintIndex.RefCount, "bad primaryKey index RefCount"); 3767if (0 < ndx.RefCount) 3793if (0 < ndx.RefCount) 3814if (0 < ndx.RefCount) 3837if (0 < ndx.RefCount) 4071if (0 < ndx.RefCount) 4690Debug.Assert(2 <= _loadIndex.RefCount, "bad loadIndex.RefCount"); 4770Debug.Assert(2 <= indextoUse!.RefCount, "bad indextoUse.RefCount");
System\Data\DataView.cs (2)
920if (findIndex.RefCount == 1) 1027if (findIndex.RefCount == 1)