7 writes to _keyComparer
System (7)
compmod\system\collections\specialized\nameobjectcollectionbase.cs (7)
64
_keyComparer
= (equalityComparer == null) ? defaultComparer : equalityComparer;
83
_keyComparer
= new CompatibleComparer( comparer, hashProvider);
96
_keyComparer
= new CompatibleComparer( comparer, hashProvider);
107
_keyComparer
= StringComparer.InvariantCultureIgnoreCase;
217
_keyComparer
= (IEqualityComparer)info.GetValue(KeyComparerName, typeof(IEqualityComparer));
242
_keyComparer
= new CompatibleComparer(comparer, hashProvider);
293
_keyComparer
= value;
11 references to _keyComparer
System (11)
compmod\system\collections\specialized\nameobjectcollectionbase.cs (11)
140
if(
_keyComparer
== defaultComparer) {
144
else if(
_keyComparer
== null) {
148
else if(
_keyComparer
is CompatibleComparer) {
149
CompatibleComparer c = (CompatibleComparer)
_keyComparer
;
154
info.AddValue(KeyComparerName,
_keyComparer
, typeof(IEqualityComparer));
179
if (
_keyComparer
!= null) {
235
if(
_keyComparer
== null) {
266
_entriesTable = new Hashtable(
_keyComparer
);
273
_entriesTable = new Hashtable(capacity,
_keyComparer
);
289
return
_keyComparer
;
359
if (
_keyComparer
.Equals(name, BaseGetKey(i)))