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