12 writes to _keycomparer
mscorlib (12)
system\collections\hashtable.cs (12)
190
_keycomparer
= new CompatibleComparer(keyComparer.Comparer, value);
193
_keycomparer
= new CompatibleComparer((IComparer)null, value);
221
_keycomparer
= new CompatibleComparer(value, keyComparer.HashCodeProvider);
224
_keycomparer
= new CompatibleComparer(value, (IHashCodeProvider)null);
317
this.
_keycomparer
= null;
320
this.
_keycomparer
= new CompatibleComparer(comparer,hcp);
325
this.
_keycomparer
= equalityComparer;
943
_keycomparer
= HashHelpers.GetRandomizedEqualityComparer(_keycomparer);
980
_keycomparer
= HashHelpers.GetRandomizedEqualityComparer(_keycomparer);
1029
_keycomparer
= HashHelpers.GetRandomizedEqualityComparer(_keycomparer);
1246
_keycomparer
= (IEqualityComparer)siInfo.GetValue(KeyComparerName, typeof(IEqualityComparer));
1269
_keycomparer
= new CompatibleComparer(c,hcp);
32 references to _keycomparer
mscorlib (32)
system\collections\hashtable.cs (32)
176
if(
_keycomparer
is CompatibleComparer) {
177
return ((CompatibleComparer)
_keycomparer
).HashCodeProvider;
179
else if(
_keycomparer
== null) {
188
if (
_keycomparer
is CompatibleComparer) {
189
CompatibleComparer keyComparer = (CompatibleComparer)
_keycomparer
;
192
else if(
_keycomparer
== null) {
207
if(
_keycomparer
is CompatibleComparer) {
208
return ((CompatibleComparer)
_keycomparer
).Comparer;
210
else if(
_keycomparer
== null) {
219
if (
_keycomparer
is CompatibleComparer) {
220
CompatibleComparer keyComparer = (CompatibleComparer)
_keycomparer
;
223
else if(
_keycomparer
== null) {
236
return
_keycomparer
;
477
Hashtable ht = new Hashtable(count,
_keycomparer
);
798
if (
_keycomparer
!= null)
799
return
_keycomparer
.GetHashCode(key);
831
if (
_keycomparer
!= null)
832
return
_keycomparer
.Equals(item, key);
937
if(ntry > HashHelpers.HashCollisionThreshold && HashHelpers.IsWellKnownEqualityComparer(
_keycomparer
))
941
if(
_keycomparer
== null || !(
_keycomparer
is System.Collections.Generic.RandomizedObjectEqualityComparer))
943
_keycomparer = HashHelpers.GetRandomizedEqualityComparer(
_keycomparer
);
974
if(ntry > HashHelpers.HashCollisionThreshold && HashHelpers.IsWellKnownEqualityComparer(
_keycomparer
))
978
if(
_keycomparer
== null || !(
_keycomparer
is System.Collections.Generic.RandomizedObjectEqualityComparer))
980
_keycomparer = HashHelpers.GetRandomizedEqualityComparer(
_keycomparer
);
1023
if(buckets.Length > HashHelpers.HashCollisionThreshold && HashHelpers.IsWellKnownEqualityComparer(
_keycomparer
))
1027
if(
_keycomparer
== null || !(
_keycomparer
is System.Collections.Generic.RandomizedObjectEqualityComparer))
1029
_keycomparer = HashHelpers.GetRandomizedEqualityComparer(
_keycomparer
);
1173
IEqualityComparer keyComparerForSerilization = (IEqualityComparer) HashHelpers.GetEqualityComparerForSerialization(
_keycomparer
);
1268
if ( (
_keycomparer
== null) && ( (c != null) || (hcp != null) ) ){