21 references to RemoveRef
System.Data (21)
fx\src\data\System\Data\DataColumn.cs (2)
1049
sortIndex.
RemoveRef
();
1050
sortIndex.
RemoveRef
(); // second should remove it from index collection
fx\src\data\System\Data\DataRelationCollection.cs (1)
750
relation.ChildKey.GetSortIndex().
RemoveRef
();
fx\src\data\System\Data\DataTable.cs (8)
1011
index.
RemoveRef
();
1582
oldKey.ConstraintIndex.
RemoveRef
();
1586
loadIndex.
RemoveRef
();
1590
loadIndexwithOriginalAdded.
RemoveRef
();
1594
loadIndexwithCurrentDeleted.
RemoveRef
();
4177
loadIndex.
RemoveRef
();
4180
loadIndexwithOriginalAdded.
RemoveRef
();
4183
loadIndexwithCurrentDeleted.
RemoveRef
();
fx\src\data\System\Data\DataView.cs (5)
966
findIndex.
RemoveRef
();
968
findIndex.
RemoveRef
(); // if we are reusing the index created by others, refcount is (2)
1104
findIndex.
RemoveRef
();
1106
findIndex.
RemoveRef
(); // if we are reusing the index created by others, refcount is (2)
1566
entry.Value.
RemoveRef
();
fx\src\data\System\Data\DataViewListener.cs (2)
153
if (index.
RemoveRef
() <= 1) {
154
index.
RemoveRef
();
fx\src\data\System\Data\Merger.cs (2)
241
ndxSearch.
RemoveRef
();
264
ndxSearch.
RemoveRef
();
fx\src\data\System\Data\UniqueConstraint.cs (1)
153
_constraintIndex.
RemoveRef
();