CaseInsensitiveHashCodeProvider

E697492

CaseInsensitiveHashCodeProvider is a .NET class that generates hash codes for strings in a case-insensitive manner, typically used to support case-insensitive collections and lookups.

Jump to: Statements Referenced by

Statements (45)

Predicate Object
instanceOf .NET class
case-insensitive string comparer component
hash code provider
canBeSerialized true
category collections infrastructure
string comparison utilities
comparisonIsCaseInsensitive true
comparisonIsOrdinal false
cultureAffectsComparison true
defaultCulture CurrentCulture
definedInAssembly mscorlib NERFINISHED
definedInNamespace System.Collections NERFINISHED
designGoal provide culture-aware case-insensitive hash codes
documentationSource Microsoft .NET Framework Class Library NERFINISHED
hasConstructor CaseInsensitiveHashCodeProvider()
CaseInsensitiveHashCodeProvider(CultureInfo) NERFINISHED
implementsInterface IHashCodeProvider NERFINISHED
inputType object
string
introducedInFramework .NET Framework 1.0 NERFINISHED
languageBinding CLS-compliant
limitations behavior depends on culture settings
not recommended for new code in favor of StringComparer
method GetHashCode(object)
GetHashCode(string)
obsoleteStatus discouraged in new development
platform .NET NERFINISHED
.NET Framework NERFINISHED
preferredAlternative StringComparer.CurrentCultureIgnoreCase
StringComparer.OrdinalIgnoreCase
primaryUse generate hash codes for strings in a case-insensitive manner
support case-insensitive collections
support case-insensitive lookups
relatedTo CaseInsensitiveComparer NERFINISHED
IComparer NERFINISHED
StringComparer NERFINISHED
requires System.Globalization.CultureInfo for culture-specific behavior
serializationAttribute [Serializable]
supportsCaseInsensitiveComparison true
supportsNullInput may throw ArgumentNullException for null keys depending on usage context
threadSafety instance members are not guaranteed to be thread-safe
static members are thread-safe
usedWith Hashtable NERFINISHED
case-insensitive Hashtable
usesCultureInfo true

Referenced by (1)

Full triples — surface form annotated when it differs from this entity's canonical label.

System.Collections containsType CaseInsensitiveHashCodeProvider