Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
hcp
IHashCodeProvider? System.Collections.Hashtable.hcp
get
set
protected
inherited
Definition at line
416
of file
Hashtable.cs
.
417
{
418
get
419
{
420
if
(
_keycomparer
is
CompatibleComparer)
421
{
422
return
((CompatibleComparer)
_keycomparer
).HashCodeProvider;
423
}
424
if
(
_keycomparer
==
null
)
425
{
426
return
null
;
427
}
428
throw
new
ArgumentException
(SR.Arg_CannotMixComparisonInfrastructure);
429
}
430
set
431
{
432
if
(
_keycomparer
is
CompatibleComparer
compatibleComparer
)
433
{
434
_keycomparer
=
new
CompatibleComparer(
value
,
compatibleComparer
.Comparer);
435
return
;
436
}
437
if
(
_keycomparer
==
null
)
438
{
439
_keycomparer
=
new
CompatibleComparer(
value
,
null
);
440
return
;
441
}
442
throw
new
ArgumentException
(SR.Arg_CannotMixComparisonInfrastructure);
443
}
444
}
System.Collections.Hashtable._keycomparer
IEqualityComparer _keycomparer
Definition
Hashtable.cs:413
System.Runtime.Serialization.CollectionKind.Dictionary
@ Dictionary
System.Xml.ExceptionType.ArgumentException
@ ArgumentException
System.ExceptionArgument.value
@ value
Referenced by
System.Collections.Hashtable.Hashtable()
.
System
Runtime
Serialization
SurrogateHashtable
Generated by
1.10.0