1 write to _listeners
System.Data.Common (1)
System\Data\Selection.cs (1)
1062
_listeners
= new List<TElem?>();
13 references to _listeners
System.Data.Common (13)
System\Data\Selection.cs (13)
1068
internal bool HasListeners => (0 <
_listeners
.Count);
1074
Debug.Assert(!Index.ContainsReference(
_listeners
, listener), "already contains reference");
1075
_listeners
.Add(listener);
1080
return Index.IndexOfReference(
_listeners
, listener);
1090
_listeners
[index] = null;
1094
_listeners
.RemoveAt(index);
1095
_listeners
.TrimExcess();
1107
int count =
_listeners
.Count;
1120
TElem? listener =
_listeners
[i];
1129
_listeners
[i] = null;
1147
Debug.Assert((-1 == nullIndex) || (null ==
_listeners
[nullIndex]), "non-null listener");
1151
if (null ==
_listeners
[i])
1153
_listeners
.RemoveAt(i);