21 references to RemoveRef
System.Data.Common (21)
System\Data\DataColumn.cs (2)
1028_sortIndex.RemoveRef(); 1029_sortIndex.RemoveRef(); // second should remove it from index collection
System\Data\DataRelationCollection.cs (1)
836relation.ChildKey.GetSortIndex().RemoveRef();
System\Data\DataTable.cs (8)
1126index.RemoveRef(); 1696oldKey.ConstraintIndex.RemoveRef(); 1701_loadIndex.RemoveRef(); 1706_loadIndexwithOriginalAdded.RemoveRef(); 1711_loadIndexwithCurrentDeleted.RemoveRef(); 4647_loadIndex?.RemoveRef(); 4648_loadIndexwithOriginalAdded?.RemoveRef(); 4649_loadIndexwithCurrentDeleted?.RemoveRef();
System\Data\DataView.cs (5)
919findIndex.RemoveRef(); 922findIndex.RemoveRef(); // if we are reusing the index created by others, refcount is (2) 1026findIndex.RemoveRef(); 1030findIndex.RemoveRef(); // if we are reusing the index created by others, refcount is (2) 1563entry.Value.RemoveRef();
System\Data\DataViewListener.cs (2)
174if (index.RemoveRef() <= 1) 176index.RemoveRef();
System\Data\Merger.cs (2)
282ndxSearch?.RemoveRef(); 307ndxSearch?.RemoveRef();
System\Data\UniqueConstraint.cs (1)
155_constraintIndex.RemoveRef();