Click or drag to resize

CaseInsensitiveComparison Class



Case-insensitive operations (mostly comparison) on unicode strings.
Inheritance Hierarchy
SystemObject
  Microsoft.CodeAnalysisCaseInsensitiveComparison

Namespace:  Microsoft.CodeAnalysis
Assembly:  Microsoft.CodeAnalysis (in Microsoft.CodeAnalysis.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
Syntax
public static class CaseInsensitiveComparison

The CaseInsensitiveComparison type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberComparer
Returns a StringComparer that compares strings according the VB identifier comparison rules.
Top
Methods
  NameDescription
Public methodStatic memberCompare
Compares two VB identifiers according to the VB identifier comparison rules.
Public methodStatic memberEndsWith
Determines if the string 'value' end with string 'possibleEnd'.
Public methodStatic memberEquals
Determines if two VB identifiers are equal according to the VB identifier comparison rules.
Public methodStatic memberGetHashCode
Gets a case-insensitive hash code for VB identifiers.
Public methodStatic memberStartsWith
Determines if the string 'value' starts with string 'possibleStart'.
Public methodStatic memberToLower(Char)
ToLower implements the Unicode lowercase mapping as described in ftp://ftp.unicode.org/Public/UNIDATA/UnicodeData.txt. VB uses these mappings for case-insensitive comparison.
Public methodStatic memberToLower(String)
Convert a string to lower case per Unicode
Public methodStatic memberToLower(StringBuilder)
In-place convert string in StringBuilder to lower case per Unicode rules
Top
See Also