using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
using Cpp2IlInjected;
using Mono.Globalization.Unicode;
namespace System.Globalization
{
/// Implements a set of methods for culture-sensitive string comparisons.
// Token: 0x020002D6 RID: 726
[Token(Token = "0x20002D6")]
[ComVisible(true)]
[Serializable]
public class CompareInfo : IDeserializationCallback
{
// Token: 0x06001AF5 RID: 6901 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001AF5")]
[Address(RVA = "0xD3F2F0", Offset = "0xD3E2F0", VA = "0x180D3F2F0")]
internal CompareInfo(CultureInfo culture)
{
}
/// Initializes a new object that is associated with the culture with the specified name.
/// A string representing the culture name.
/// A new object associated with the culture with the specified identifier and using string comparison methods in the current .
///
/// is .
///
/// is an invalid culture name.
// Token: 0x06001AF6 RID: 6902 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001AF6")]
[Address(RVA = "0xD3E380", Offset = "0xD3D380", VA = "0x180D3E380")]
public static CompareInfo GetCompareInfo(string name)
{
return null;
}
// Token: 0x06001AF7 RID: 6903 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001AF7")]
[Address(RVA = "0x9BEAD0", Offset = "0x9BDAD0", VA = "0x1809BEAD0")]
[OnDeserializing]
private void OnDeserializing(StreamingContext ctx)
{
}
// Token: 0x06001AF8 RID: 6904 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001AF8")]
[Address(RVA = "0xD3F140", Offset = "0xD3E140", VA = "0x180D3F140")]
private void OnDeserialized()
{
}
// Token: 0x06001AF9 RID: 6905 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001AF9")]
[Address(RVA = "0xD3F1F0", Offset = "0xD3E1F0", VA = "0x180D3F1F0")]
[OnDeserialized]
private void OnDeserialized(StreamingContext ctx)
{
}
// Token: 0x06001AFA RID: 6906 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001AFA")]
[Address(RVA = "0xD3F200", Offset = "0xD3E200", VA = "0x180D3F200")]
[OnSerializing]
private void OnSerializing(StreamingContext ctx)
{
}
/// Runs when the entire object graph has been deserialized.
/// The object that initiated the callback.
// Token: 0x06001AFB RID: 6907 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001AFB")]
[Address(RVA = "0xD3F1F0", Offset = "0xD3E1F0", VA = "0x180D3F1F0", Slot = "4")]
void IDeserializationCallback.OnDeserialization(object sender)
{
}
/// Gets the name of the culture used for sorting operations by this object.
/// The name of a culture.
// Token: 0x17000343 RID: 835
// (get) Token: 0x06001AFC RID: 6908 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000343")]
[ComVisible(false)]
public virtual string Name
{
[Token(Token = "0x6001AFC")]
[Address(RVA = "0xD3F370", Offset = "0xD3E370", VA = "0x180D3F370", Slot = "5")]
get
{
return null;
}
}
/// Compares two strings.
/// The first string to compare.
/// The second string to compare.
/// A 32-bit signed integer indicating the lexical relationship between the two comparands.
/// Value
///
/// Condition
///
/// zero
///
/// The two strings are equal.
///
/// less than zero
///
/// is less than .
///
/// greater than zero
///
/// is greater than .
// Token: 0x06001AFD RID: 6909 RVA: 0x00012018 File Offset: 0x00010218
[Token(Token = "0x6001AFD")]
[Address(RVA = "0xD3D8D0", Offset = "0xD3C8D0", VA = "0x180D3D8D0", Slot = "6")]
public virtual int Compare(string string1, string string2)
{
return 0;
}
/// Compares two strings using the specified value.
/// The first string to compare.
/// The second string to compare.
/// A value that defines how and should be compared. is either the enumeration value , or a bitwise combination of one or more of the following values: , , , , , and .
/// A 32-bit signed integer indicating the lexical relationship between the two comparands.
/// Value
///
/// Condition
///
/// zero
///
/// The two strings are equal.
///
/// less than zero
///
/// is less than .
///
/// greater than zero
///
/// is greater than .
///
/// contains an invalid value.
// Token: 0x06001AFE RID: 6910 RVA: 0x00012030 File Offset: 0x00010230
[Token(Token = "0x6001AFE")]
[Address(RVA = "0xD3D900", Offset = "0xD3C900", VA = "0x180D3D900", Slot = "7")]
public virtual int Compare(string string1, string string2, CompareOptions options)
{
return 0;
}
/// Compares a section of one string with a section of another string using the specified value.
/// The first string to compare.
/// The zero-based index of the character in at which to start comparing.
/// The number of consecutive characters in to compare.
/// The second string to compare.
/// The zero-based index of the character in at which to start comparing.
/// The number of consecutive characters in to compare.
/// A value that defines how and should be compared. is either the enumeration value , or a bitwise combination of one or more of the following values: , , , , , and .
/// A 32-bit signed integer indicating the lexical relationship between the two comparands.
/// Value
///
/// Condition
///
/// zero
///
/// The two strings are equal.
///
/// less than zero
///
/// The specified section of is less than the specified section of .
///
/// greater than zero
///
/// The specified section of is greater than the specified section of .
///
/// or or or is less than zero.
/// -or-
/// is greater than or equal to the number of characters in .
/// -or-
/// is greater than or equal to the number of characters in .
/// -or-
/// is greater than the number of characters from to the end of .
/// -or-
/// is greater than the number of characters from to the end of .
///
/// contains an invalid value.
// Token: 0x06001AFF RID: 6911 RVA: 0x00012048 File Offset: 0x00010248
[Token(Token = "0x6001AFF")]
[Address(RVA = "0xD3DA70", Offset = "0xD3CA70", VA = "0x180D3DA70", Slot = "8")]
public virtual int Compare(string string1, int offset1, int length1, string string2, int offset2, int length2, CompareOptions options)
{
return 0;
}
// Token: 0x06001B00 RID: 6912 RVA: 0x00012060 File Offset: 0x00010260
[Token(Token = "0x6001B00")]
[Address(RVA = "0xD3D870", Offset = "0xD3C870", VA = "0x180D3D870")]
private static int CompareOrdinal(string string1, int offset1, int length1, string string2, int offset2, int length2)
{
return 0;
}
/// Determines whether the specified source string starts with the specified prefix using the specified value.
/// The string to search in.
/// The string to compare with the beginning of .
/// A value that defines how and should be compared. is either the enumeration value , or a bitwise combination of one or more of the following values: , , , , and .
///
/// if the length of is less than or equal to the length of and starts with ; otherwise, .
///
/// is .
/// -or-
/// is .
///
/// contains an invalid value.
// Token: 0x06001B01 RID: 6913 RVA: 0x00012078 File Offset: 0x00010278
[Token(Token = "0x6001B01")]
[Address(RVA = "0xD3EA60", Offset = "0xD3DA60", VA = "0x180D3EA60", Slot = "9")]
public virtual bool IsPrefix(string source, string prefix, CompareOptions options)
{
return default(bool);
}
/// Determines whether the specified source string ends with the specified suffix using the specified value.
/// The string to search in.
/// The string to compare with the end of .
/// A value that defines how and should be compared. is either the enumeration value used by itself, or the bitwise combination of one or more of the following values: , , , , and .
///
/// if the length of is less than or equal to the length of and ends with ; otherwise, .
///
/// is .
/// -or-
/// is .
///
/// contains an invalid value.
// Token: 0x06001B02 RID: 6914 RVA: 0x00012090 File Offset: 0x00010290
[Token(Token = "0x6001B02")]
[Address(RVA = "0xD3EC30", Offset = "0xD3DC30", VA = "0x180D3EC30", Slot = "10")]
public virtual bool IsSuffix(string source, string suffix, CompareOptions options)
{
return default(bool);
}
/// Searches for the specified substring and returns the zero-based index of the first occurrence within the entire source string using the specified value.
/// The string to search.
/// The string to locate within .
/// A value that defines how and should be compared. is either the enumeration value , or a bitwise combination of one or more of the following values: , , , , and .
/// The zero-based index of the first occurrence of , if found, within , using the specified comparison options; otherwise, -1. Returns 0 (zero) if is an ignorable character.
///
/// is .
/// -or-
/// is .
///
/// contains an invalid value.
// Token: 0x06001B03 RID: 6915 RVA: 0x000120A8 File Offset: 0x000102A8
[Token(Token = "0x6001B03")]
[Address(RVA = "0xD3E720", Offset = "0xD3D720", VA = "0x180D3E720", Slot = "11")]
public virtual int IndexOf(string source, string value, CompareOptions options)
{
return 0;
}
/// Searches for the specified substring and returns the zero-based index of the first occurrence within the section of the source string that starts at the specified index and contains the specified number of elements using the specified value.
/// The string to search.
/// The string to locate within .
/// The zero-based starting index of the search.
/// The number of elements in the section to search.
/// A value that defines how and should be compared. is either the enumeration value , or a bitwise combination of one or more of the following values: , , , , and .
/// The zero-based index of the first occurrence of , if found, within the section of that starts at and contains the number of elements specified by , using the specified comparison options; otherwise, -1. Returns if is an ignorable character.
///
/// is .
/// -or-
/// is .
///
/// is outside the range of valid indexes for .
/// -or-
/// is less than zero.
/// -or-
/// and do not specify a valid section in .
///
/// contains an invalid value.
// Token: 0x06001B04 RID: 6916 RVA: 0x000120C0 File Offset: 0x000102C0
[Token(Token = "0x6001B04")]
[Address(RVA = "0xD3E7E0", Offset = "0xD3D7E0", VA = "0x180D3E7E0", Slot = "12")]
public virtual int IndexOf(string source, string value, int startIndex, int count, CompareOptions options)
{
return 0;
}
/// Searches for the specified substring and returns the zero-based index of the last occurrence within the entire source string using the specified value.
/// The string to search.
/// The string to locate within .
/// A value that defines how and should be compared. is either the enumeration value , or a bitwise combination of one or more of the following values: , , , , and .
/// The zero-based index of the last occurrence of , if found, within , using the specified comparison options; otherwise, -1.
///
/// is .
/// -or-
/// is .
///
/// contains an invalid value.
// Token: 0x06001B05 RID: 6917 RVA: 0x000120D8 File Offset: 0x000102D8
[Token(Token = "0x6001B05")]
[Address(RVA = "0xD3EE00", Offset = "0xD3DE00", VA = "0x180D3EE00", Slot = "13")]
public virtual int LastIndexOf(string source, string value, CompareOptions options)
{
return 0;
}
/// Searches for the specified substring and returns the zero-based index of the last occurrence within the section of the source string that contains the specified number of elements and ends at the specified index using the specified value.
/// The string to search.
/// The string to locate within .
/// The zero-based starting index of the backward search.
/// The number of elements in the section to search.
/// A value that defines how and should be compared. is either the enumeration value , or a bitwise combination of one or more of the following values: , , , , and .
/// The zero-based index of the last occurrence of , if found, within the section of that contains the number of elements specified by and that ends at , using the specified comparison options; otherwise, -1. Returns if is an ignorable character.
///
/// is .
/// -or-
/// is .
///
/// is outside the range of valid indexes for .
/// -or-
/// is less than zero.
/// -or-
/// and do not specify a valid section in .
///
/// contains an invalid value.
// Token: 0x06001B06 RID: 6918 RVA: 0x000120F0 File Offset: 0x000102F0
[Token(Token = "0x6001B06")]
[Address(RVA = "0xD3EEC0", Offset = "0xD3DEC0", VA = "0x180D3EEC0", Slot = "14")]
public virtual int LastIndexOf(string source, string value, int startIndex, int count, CompareOptions options)
{
return 0;
}
/// Gets a object for the specified string using the specified value.
/// The string for which a object is obtained.
/// A bitwise combination of one or more of the following enumeration values that define how the sort key is calculated: , , , , , and .
/// The object that contains the sort key for the specified string.
///
/// contains an invalid value.
// Token: 0x06001B07 RID: 6919 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001B07")]
[Address(RVA = "0xD3E590", Offset = "0xD3D590", VA = "0x180D3E590", Slot = "15")]
public virtual SortKey GetSortKey(string source, CompareOptions options)
{
return null;
}
// Token: 0x06001B08 RID: 6920 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001B08")]
[Address(RVA = "0xD3DEC0", Offset = "0xD3CEC0", VA = "0x180D3DEC0")]
private SortKey CreateSortKey(string source, CompareOptions options)
{
return null;
}
/// Determines whether the specified object is equal to the current object.
/// The object to compare with the current .
///
/// if the specified object is equal to the current ; otherwise, .
// Token: 0x06001B09 RID: 6921 RVA: 0x00012108 File Offset: 0x00010308
[Token(Token = "0x6001B09")]
[Address(RVA = "0xD3E050", Offset = "0xD3D050", VA = "0x180D3E050", Slot = "0")]
public override bool Equals(object value)
{
return default(bool);
}
/// Serves as a hash function for the current for hashing algorithms and data structures, such as a hash table.
/// A hash code for the current .
// Token: 0x06001B0A RID: 6922 RVA: 0x00012120 File Offset: 0x00010320
[Token(Token = "0x6001B0A")]
[Address(RVA = "0xD3E550", Offset = "0xD3D550", VA = "0x180D3E550", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
// Token: 0x06001B0B RID: 6923 RVA: 0x00012138 File Offset: 0x00010338
[Token(Token = "0x6001B0B")]
[Address(RVA = "0xD3E430", Offset = "0xD3D430", VA = "0x180D3E430")]
internal int GetHashCodeOfString(string source, CompareOptions options)
{
return 0;
}
// Token: 0x06001B0C RID: 6924 RVA: 0x00012150 File Offset: 0x00010350
[Token(Token = "0x6001B0C")]
[Address(RVA = "0xD3E430", Offset = "0xD3D430", VA = "0x180D3E430")]
internal int GetHashCodeOfString(string source, CompareOptions options, bool forceRandomizedHashing, long additionalEntropy)
{
return 0;
}
/// Returns a string that represents the current object.
/// A string that represents the current object.
// Token: 0x06001B0D RID: 6925 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001B0D")]
[Address(RVA = "0xD3F2A0", Offset = "0xD3E2A0", VA = "0x180D3F2A0", Slot = "3")]
public override string ToString()
{
return null;
}
// Token: 0x17000344 RID: 836
// (get) Token: 0x06001B0E RID: 6926 RVA: 0x00012168 File Offset: 0x00010368
[Token(Token = "0x17000344")]
private static bool UseManagedCollation
{
[Token(Token = "0x6001B0E")]
[Address(RVA = "0xD3F3E0", Offset = "0xD3E3E0", VA = "0x180D3F3E0")]
get
{
return default(bool);
}
}
// Token: 0x06001B0F RID: 6927 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001B0F")]
[Address(RVA = "0xD3E120", Offset = "0xD3D120", VA = "0x180D3E120")]
private SimpleCollator GetCollator()
{
return null;
}
// Token: 0x06001B10 RID: 6928 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001B10")]
[Address(RVA = "0xD3DDE0", Offset = "0xD3CDE0", VA = "0x180D3DDE0")]
private SortKey CreateSortKeyCore(string source, CompareOptions options)
{
return null;
}
// Token: 0x06001B11 RID: 6929 RVA: 0x00012180 File Offset: 0x00010380
[Token(Token = "0x6001B11")]
[Address(RVA = "0xD3F700", Offset = "0xD3E700", VA = "0x180D3F700")]
private int internal_index_switch(string s1, int sindex, int count, string s2, CompareOptions opt, bool first)
{
return 0;
}
// Token: 0x06001B12 RID: 6930 RVA: 0x00012198 File Offset: 0x00010398
[Token(Token = "0x6001B12")]
[Address(RVA = "0xD3F570", Offset = "0xD3E570", VA = "0x180D3F570")]
private int internal_compare_switch(string str1, int offset1, int length1, string str2, int offset2, int length2, CompareOptions options)
{
return 0;
}
// Token: 0x06001B13 RID: 6931 RVA: 0x000121B0 File Offset: 0x000103B0
[Token(Token = "0x6001B13")]
[Address(RVA = "0xD3F510", Offset = "0xD3E510", VA = "0x180D3F510")]
private int internal_compare_managed(string str1, int offset1, int length1, string str2, int offset2, int length2, CompareOptions options)
{
return 0;
}
// Token: 0x06001B14 RID: 6932 RVA: 0x000121C8 File Offset: 0x000103C8
[Token(Token = "0x6001B14")]
[Address(RVA = "0xD3F660", Offset = "0xD3E660", VA = "0x180D3F660")]
private int internal_index_managed(string s1, int sindex, int count, string s2, CompareOptions opt, bool first)
{
return 0;
}
// Token: 0x06001B15 RID: 6933 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001B15")]
[Address(RVA = "0xD3F360", Offset = "0xD3E360", VA = "0x180D3F360")]
private void assign_sortkey(object key, string source, CompareOptions options)
{
}
// Token: 0x06001B16 RID: 6934 RVA: 0x000121E0 File Offset: 0x000103E0
[Token(Token = "0x6001B16")]
[Address(RVA = "0xD3F500", Offset = "0xD3E500", VA = "0x180D3F500")]
private int internal_compare(string str1, int offset1, int length1, string str2, int offset2, int length2, CompareOptions options)
{
return 0;
}
// Token: 0x06001B17 RID: 6935 RVA: 0x000121F8 File Offset: 0x000103F8
[Token(Token = "0x6001B17")]
[Address(RVA = "0xD3F650", Offset = "0xD3E650", VA = "0x180D3F650")]
private int internal_index(string source, int sindex, int count, string value, CompareOptions options, bool first)
{
return 0;
}
// Token: 0x06001B18 RID: 6936 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001B18")]
[Address(RVA = "0xD3F330", Offset = "0xD3E330", VA = "0x180D3F330")]
internal CompareInfo()
{
}
// Token: 0x04000E6C RID: 3692
[Token(Token = "0x4000E6C")]
private const CompareOptions ValidIndexMaskOffFlags = ~(CompareOptions.IgnoreCase | CompareOptions.IgnoreNonSpace | CompareOptions.IgnoreSymbols | CompareOptions.IgnoreKanaType | CompareOptions.IgnoreWidth);
// Token: 0x04000E6D RID: 3693
[Token(Token = "0x4000E6D")]
private const CompareOptions ValidCompareMaskOffFlags = ~(CompareOptions.IgnoreCase | CompareOptions.IgnoreNonSpace | CompareOptions.IgnoreSymbols | CompareOptions.IgnoreKanaType | CompareOptions.IgnoreWidth | CompareOptions.StringSort);
// Token: 0x04000E6E RID: 3694
[Token(Token = "0x4000E6E")]
private const CompareOptions ValidHashCodeOfStringMaskOffFlags = ~(CompareOptions.IgnoreCase | CompareOptions.IgnoreNonSpace | CompareOptions.IgnoreSymbols | CompareOptions.IgnoreKanaType | CompareOptions.IgnoreWidth);
// Token: 0x04000E6F RID: 3695
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000E6F")]
[OptionalField]
private string m_name;
// Token: 0x04000E70 RID: 3696
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000E70")]
[NonSerialized]
private string m_sortName;
// Token: 0x04000E71 RID: 3697
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000E71")]
[OptionalField]
private int win32LCID;
// Token: 0x04000E72 RID: 3698
[global::Cpp2IlInjected.FieldOffset(Offset = "0x24")]
[Token(Token = "0x4000E72")]
private int culture;
// Token: 0x04000E73 RID: 3699
[Token(Token = "0x4000E73")]
private const int LINGUISTIC_IGNORECASE = 16;
// Token: 0x04000E74 RID: 3700
[Token(Token = "0x4000E74")]
private const int NORM_IGNORECASE = 1;
// Token: 0x04000E75 RID: 3701
[Token(Token = "0x4000E75")]
private const int NORM_IGNOREKANATYPE = 65536;
// Token: 0x04000E76 RID: 3702
[Token(Token = "0x4000E76")]
private const int LINGUISTIC_IGNOREDIACRITIC = 32;
// Token: 0x04000E77 RID: 3703
[Token(Token = "0x4000E77")]
private const int NORM_IGNORENONSPACE = 2;
// Token: 0x04000E78 RID: 3704
[Token(Token = "0x4000E78")]
private const int NORM_IGNORESYMBOLS = 4;
// Token: 0x04000E79 RID: 3705
[Token(Token = "0x4000E79")]
private const int NORM_IGNOREWIDTH = 131072;
// Token: 0x04000E7A RID: 3706
[Token(Token = "0x4000E7A")]
private const int SORT_STRINGSORT = 4096;
// Token: 0x04000E7B RID: 3707
[Token(Token = "0x4000E7B")]
private const int COMPARE_OPTIONS_ORDINAL = 1073741824;
// Token: 0x04000E7C RID: 3708
[Token(Token = "0x4000E7C")]
internal const int NORM_LINGUISTIC_CASING = 134217728;
// Token: 0x04000E7D RID: 3709
[Token(Token = "0x4000E7D")]
private const int RESERVED_FIND_ASCII_STRING = 536870912;
// Token: 0x04000E7E RID: 3710
[Token(Token = "0x4000E7E")]
private const int SORT_VERSION_WHIDBEY = 4096;
// Token: 0x04000E7F RID: 3711
[Token(Token = "0x4000E7F")]
private const int SORT_VERSION_V4 = 393473;
// Token: 0x04000E80 RID: 3712
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
[Token(Token = "0x4000E80")]
[OptionalField]
private SortVersion m_SortVersion;
// Token: 0x04000E81 RID: 3713
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
[Token(Token = "0x4000E81")]
[NonSerialized]
private SimpleCollator collator;
// Token: 0x04000E82 RID: 3714
[Token(Token = "0x4000E82")]
private static Dictionary collators;
// Token: 0x04000E83 RID: 3715
[Token(Token = "0x4000E83")]
private static bool managedCollation;
// Token: 0x04000E84 RID: 3716
[Token(Token = "0x4000E84")]
private static bool managedCollationChecked;
}
}