using System;
using System.Collections;
using System.Collections.Generic;
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: 0x0200013B RID: 315
[Token(Token = "0x200013B")]
[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: 0x170000F7 RID: 247
// (get) Token: 0x06000C77 RID: 3191 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170000F7")]
public static StringComparer InvariantCulture
{
[Token(Token = "0x6000C77")]
[Address(RVA = "0x2C457A0", Offset = "0x2C445A0", VA = "0x182C457A0")]
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: 0x170000F8 RID: 248
// (get) Token: 0x06000C78 RID: 3192 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170000F8")]
public static StringComparer InvariantCultureIgnoreCase
{
[Token(Token = "0x6000C78")]
[Address(RVA = "0x2C45740", Offset = "0x2C44540", VA = "0x182C45740")]
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: 0x170000F9 RID: 249
// (get) Token: 0x06000C79 RID: 3193 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170000F9")]
public static StringComparer CurrentCultureIgnoreCase
{
[Token(Token = "0x6000C79")]
[Address(RVA = "0x2C456C0", Offset = "0x2C444C0", VA = "0x182C456C0")]
get
{
return null;
}
}
/// Gets a object that performs a case-sensitive ordinal string comparison.
/// A object.
// Token: 0x170000FA RID: 250
// (get) Token: 0x06000C7A RID: 3194 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170000FA")]
public static StringComparer Ordinal
{
[Token(Token = "0x6000C7A")]
[Address(RVA = "0x2C45860", Offset = "0x2C44660", VA = "0x182C45860")]
get
{
return null;
}
}
/// Gets a object that performs a case-insensitive ordinal string comparison.
/// A object.
// Token: 0x170000FB RID: 251
// (get) Token: 0x06000C7B RID: 3195 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170000FB")]
public static StringComparer OrdinalIgnoreCase
{
[Token(Token = "0x6000C7B")]
[Address(RVA = "0x2C45800", Offset = "0x2C44600", VA = "0x182C45800")]
get
{
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: 0x06000C7C RID: 3196 RVA: 0x0000AB18 File Offset: 0x00008D18
[Token(Token = "0x6000C7C")]
[Address(RVA = "0x2C45240", Offset = "0x2C44040", VA = "0x182C45240", 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: 0x06000C7D RID: 3197 RVA: 0x0000AB30 File Offset: 0x00008D30
[Token(Token = "0x6000C7D")]
[Address(RVA = "0x2C45400", Offset = "0x2C44200", VA = "0x182C45400", 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: 0x06000C7E RID: 3198 RVA: 0x0000AB48 File Offset: 0x00008D48
[Token(Token = "0x6000C7E")]
[Address(RVA = "0x2C454E0", Offset = "0x2C442E0", VA = "0x182C454E0", 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: 0x06000C7F RID: 3199
[Token(Token = "0x6000C7F")]
[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: 0x06000C80 RID: 3200
[Token(Token = "0x6000C80")]
[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: 0x06000C81 RID: 3201
[Token(Token = "0x6000C81")]
[Address(Slot = "12")]
public abstract int GetHashCode(string obj);
/// Initializes a new instance of the class.
// Token: 0x06000C82 RID: 3202 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000C82")]
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
protected StringComparer()
{
}
// Token: 0x040004BF RID: 1215
[Token(Token = "0x40004BF")]
private static readonly StringComparer _invariantCulture;
// Token: 0x040004C0 RID: 1216
[Token(Token = "0x40004C0")]
private static readonly StringComparer _invariantCultureIgnoreCase;
// Token: 0x040004C1 RID: 1217
[Token(Token = "0x40004C1")]
private static readonly StringComparer _ordinal;
// Token: 0x040004C2 RID: 1218
[Token(Token = "0x40004C2")]
private static readonly StringComparer _ordinalIgnoreCase;
}
}