using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System
{
/// Represents a string comparison operation that uses specific case and culture-based or ordinal comparison rules.
// Token: 0x02000142 RID: 322
[Token(Token = "0x2000142")]
[ComVisible(true)]
[Serializable]
public abstract class StringComparer : IComparer, IEqualityComparer, IComparer, IEqualityComparer
{
/// Gets a object that performs a case-sensitive string comparison using the word comparison rules of the invariant culture.
/// A new object.
// Token: 0x170000FC RID: 252
// (get) Token: 0x06000CAA RID: 3242 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170000FC")]
public static StringComparer InvariantCulture
{
[Token(Token = "0x6000CAA")]
[Address(RVA = "0xD35E00", Offset = "0xD34E00", VA = "0x180D35E00")]
get
{
return null;
}
}
/// Gets a object that performs a case-insensitive string comparison using the word comparison rules of the invariant culture.
/// A new object.
// Token: 0x170000FD RID: 253
// (get) Token: 0x06000CAB RID: 3243 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170000FD")]
public static StringComparer InvariantCultureIgnoreCase
{
[Token(Token = "0x6000CAB")]
[Address(RVA = "0xD35DA0", Offset = "0xD34DA0", VA = "0x180D35DA0")]
get
{
return null;
}
}
/// Gets a object that performs case-insensitive string comparisons using the word comparison rules of the current culture.
/// A new object for string comparison.
// Token: 0x170000FE RID: 254
// (get) Token: 0x06000CAC RID: 3244 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170000FE")]
public static StringComparer CurrentCultureIgnoreCase
{
[Token(Token = "0x6000CAC")]
[Address(RVA = "0xD35D20", Offset = "0xD34D20", VA = "0x180D35D20")]
get
{
return null;
}
}
/// Gets a object that performs a case-sensitive ordinal string comparison.
/// A object.
// Token: 0x170000FF RID: 255
// (get) Token: 0x06000CAD RID: 3245 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170000FF")]
public static StringComparer Ordinal
{
[Token(Token = "0x6000CAD")]
[Address(RVA = "0xD35EC0", Offset = "0xD34EC0", VA = "0x180D35EC0")]
get
{
return null;
}
}
/// Gets a object that performs a case-insensitive ordinal string comparison.
/// A object.
// Token: 0x17000100 RID: 256
// (get) Token: 0x06000CAE RID: 3246 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000100")]
public static StringComparer OrdinalIgnoreCase
{
[Token(Token = "0x6000CAE")]
[Address(RVA = "0xD35E60", Offset = "0xD34E60", VA = "0x180D35E60")]
get
{
return null;
}
}
/// Creates a object that compares strings according to the rules of a specified culture.
/// A culture whose linguistic rules are used to perform a string comparison.
///
/// to specify that comparison operations be case-insensitive; to specify that comparison operations be case-sensitive.
/// A new object that performs string comparisons according to the comparison rules used by the parameter and the case rule specified by the parameter.
///
/// is .
// Token: 0x06000CAF RID: 3247 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6000CAF")]
[Address(RVA = "0xD359C0", Offset = "0xD349C0", VA = "0x180D359C0")]
public static StringComparer Create(CultureInfo culture, bool ignoreCase)
{
return null;
}
/// When overridden in a derived class, compares two objects and returns an indication of their relative sort order.
/// An object to compare to .
/// An object to compare to .
/// A signed integer that indicates the relative values of and , as shown in the following table.
/// Value
///
/// Meaning
///
/// Less than zero
///
/// precedes in the sort order.
///
/// -or-
///
/// is and is not .
///
/// Zero
///
/// is equal to .
///
/// -or-
///
/// and are both .
///
/// Greater than zero
///
/// follows in the sort order.
///
/// -or-
///
/// is and is not .
/// Neither nor is a object, and neither nor implements the interface.
// Token: 0x06000CB0 RID: 3248 RVA: 0x0000AE00 File Offset: 0x00009000
[Token(Token = "0x6000CB0")]
[Address(RVA = "0xD35800", Offset = "0xD34800", VA = "0x180D35800", Slot = "4")]
public int Compare(object x, object y)
{
return 0;
}
/// When overridden in a derived class, indicates whether two objects are equal.
/// An object to compare to .
/// An object to compare to .
///
/// if and refer to the same object, or and are both the same type of object and those objects are equal, or both and are ; otherwise, .
// Token: 0x06000CB1 RID: 3249 RVA: 0x0000AE18 File Offset: 0x00009018
[Token(Token = "0x6000CB1")]
[Address(RVA = "0xD35A60", Offset = "0xD34A60", VA = "0x180D35A60", Slot = "5")]
public bool Equals(object x, object y)
{
return default(bool);
}
/// When overridden in a derived class, gets the hash code for the specified object.
/// An object.
/// A 32-bit signed hash code calculated from the value of the parameter.
/// Not enough memory is available to allocate the buffer that is required to compute the hash code.
///
/// is .
// Token: 0x06000CB2 RID: 3250 RVA: 0x0000AE30 File Offset: 0x00009030
[Token(Token = "0x6000CB2")]
[Address(RVA = "0xD35B40", Offset = "0xD34B40", VA = "0x180D35B40", Slot = "6")]
public int GetHashCode(object obj)
{
return 0;
}
/// When overridden in a derived class, compares two strings and returns an indication of their relative sort order.
/// A string to compare to .
/// A string to compare to .
/// A signed integer that indicates the relative values of and , as shown in the following table.
/// Value
///
/// Meaning
///
/// Less than zero
///
/// precedes in the sort order.
///
/// -or-
///
/// is and is not .
///
/// Zero
///
/// is equal to .
///
/// -or-
///
/// and are both .
///
/// Greater than zero
///
/// follows in the sort order.
///
/// -or-
///
/// is and is not .
// Token: 0x06000CB3 RID: 3251
[Token(Token = "0x6000CB3")]
[Address(Slot = "10")]
public abstract int Compare(string x, string y);
/// When overridden in a derived class, indicates whether two strings are equal.
/// A string to compare to .
/// A string to compare to .
///
/// if and refer to the same object, or and are equal, or and are ; otherwise, .
// Token: 0x06000CB4 RID: 3252
[Token(Token = "0x6000CB4")]
[Address(Slot = "11")]
public abstract bool Equals(string x, string y);
/// When overridden in a derived class, gets the hash code for the specified string.
/// A string.
/// A 32-bit signed hash code calculated from the value of the parameter.
/// Not enough memory is available to allocate the buffer that is required to compute the hash code.
///
/// is .
// Token: 0x06000CB5 RID: 3253
[Token(Token = "0x6000CB5")]
[Address(Slot = "12")]
public abstract int GetHashCode(string obj);
/// Initializes a new instance of the class.
// Token: 0x06000CB6 RID: 3254 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000CB6")]
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
protected StringComparer()
{
}
// Token: 0x040004C9 RID: 1225
[Token(Token = "0x40004C9")]
private static readonly StringComparer _invariantCulture;
// Token: 0x040004CA RID: 1226
[Token(Token = "0x40004CA")]
private static readonly StringComparer _invariantCultureIgnoreCase;
// Token: 0x040004CB RID: 1227
[Token(Token = "0x40004CB")]
private static readonly StringComparer _ordinal;
// Token: 0x040004CC RID: 1228
[Token(Token = "0x40004CC")]
private static readonly StringComparer _ordinalIgnoreCase;
}
}