12 references to RefCount
System.Data.Common (12)
System\Data\DataColumn.cs (1)
1028Debug.Assert(2 <= _sortIndex.RefCount, "bad sortIndex refcount");
System\Data\DataTable.cs (9)
1129if (index.RefCount <= 1) 1636Debug.Assert(2 <= primayKeyConstraint.ConstraintIndex.RefCount, "bad primaryKey index RefCount"); 3772if (0 < ndx.RefCount) 3798if (0 < ndx.RefCount) 3819if (0 < ndx.RefCount) 3842if (0 < ndx.RefCount) 4076if (0 < ndx.RefCount) 4695Debug.Assert(2 <= _loadIndex.RefCount, "bad loadIndex.RefCount"); 4775Debug.Assert(2 <= indextoUse!.RefCount, "bad indextoUse.RefCount");
System\Data\DataView.cs (2)
920if (findIndex.RefCount == 1) 1027if (findIndex.RefCount == 1)