16 references to AddRef
System.Data.Common (16)
System\Data\DataColumn.cs (1)
1078
_sortIndex.
AddRef
();
System\Data\DataRelationCollection.cs (1)
800
relation.ChildKey.GetSortIndex().
AddRef
();
System\Data\DataTable.cs (5)
1736
key!.ConstraintIndex.
AddRef
();
3204
ndx.
AddRef
();
4623
_loadIndex?.
AddRef
();
4759
_loadIndexwithCurrentDeleted?.
AddRef
();
4770
_loadIndexwithOriginalAdded?.
AddRef
();
System\Data\DataView.cs (3)
932
findIndex.
AddRef
();
1012
findIndex.
AddRef
();
1592
newIndex.
AddRef
();
System\Data\DataViewListener.cs (1)
158
index.
AddRef
();
System\Data\Merger.cs (2)
284
ndxSearch.
AddRef
(); // need to addref twice, otherwise it will be collected
285
ndxSearch.
AddRef
(); // in past first adref was done in const
System\Data\Select.cs (2)
323
_index.
AddRef
();
395
_index.
AddRef
();
System\Data\UniqueConstraint.cs (1)
165
_constraintIndex.
AddRef
();