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: 0x020002C8 RID: 712
[Token(Token = "0x20002C8")]
[ComVisible(true)]
[Serializable]
public class CompareInfo : IDeserializationCallback
{
// Token: 0x06001A47 RID: 6727 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001A47")]
[Address(RVA = "0x1E8ABD0", Offset = "0x1E899D0", VA = "0x181E8ABD0")]
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: 0x06001A48 RID: 6728 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001A48")]
[Address(RVA = "0x1E89C60", Offset = "0x1E88A60", VA = "0x181E89C60")]
public static CompareInfo GetCompareInfo(string name)
{
return null;
}
// Token: 0x06001A49 RID: 6729 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001A49")]
[Address(RVA = "0x4ECBB0", Offset = "0x4EB9B0", VA = "0x1804ECBB0")]
[OnDeserializing]
private void OnDeserializing(StreamingContext ctx)
{
}
// Token: 0x06001A4A RID: 6730 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001A4A")]
[Address(RVA = "0x1E8AA20", Offset = "0x1E89820", VA = "0x181E8AA20")]
private void OnDeserialized()
{
}
// Token: 0x06001A4B RID: 6731 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001A4B")]
[Address(RVA = "0x1E8AAD0", Offset = "0x1E898D0", VA = "0x181E8AAD0")]
[OnDeserialized]
private void OnDeserialized(StreamingContext ctx)
{
}
// Token: 0x06001A4C RID: 6732 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001A4C")]
[Address(RVA = "0x1E8AAE0", Offset = "0x1E898E0", VA = "0x181E8AAE0")]
[OnSerializing]
private void OnSerializing(StreamingContext ctx)
{
}
/// Runs when the entire object graph has been deserialized.
/// The object that initiated the callback.
// Token: 0x06001A4D RID: 6733 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001A4D")]
[Address(RVA = "0x1E8AAD0", Offset = "0x1E898D0", VA = "0x181E8AAD0", 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: 0x17000321 RID: 801
// (get) Token: 0x06001A4E RID: 6734 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000321")]
[ComVisible(false)]
public virtual string Name
{
[Token(Token = "0x6001A4E")]
[Address(RVA = "0x1E8AC50", Offset = "0x1E89A50", VA = "0x181E8AC50", 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: 0x06001A4F RID: 6735 RVA: 0x000114C0 File Offset: 0x0000F6C0
[Token(Token = "0x6001A4F")]
[Address(RVA = "0x1E89200", Offset = "0x1E88000", VA = "0x181E89200", 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: 0x06001A50 RID: 6736 RVA: 0x000114D8 File Offset: 0x0000F6D8
[Token(Token = "0x6001A50")]
[Address(RVA = "0x1E89230", Offset = "0x1E88030", VA = "0x181E89230", 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: 0x06001A51 RID: 6737 RVA: 0x000114F0 File Offset: 0x0000F6F0
[Token(Token = "0x6001A51")]
[Address(RVA = "0x1E893A0", Offset = "0x1E881A0", VA = "0x181E893A0", Slot = "8")]
public virtual int Compare(string string1, int offset1, int length1, string string2, int offset2, int length2, CompareOptions options)
{
return 0;
}
// Token: 0x06001A52 RID: 6738 RVA: 0x00011508 File Offset: 0x0000F708
[Token(Token = "0x6001A52")]
[Address(RVA = "0x1E891A0", Offset = "0x1E87FA0", VA = "0x181E891A0")]
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: 0x06001A53 RID: 6739 RVA: 0x00011520 File Offset: 0x0000F720
[Token(Token = "0x6001A53")]
[Address(RVA = "0x1E8A340", Offset = "0x1E89140", VA = "0x181E8A340", 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: 0x06001A54 RID: 6740 RVA: 0x00011538 File Offset: 0x0000F738
[Token(Token = "0x6001A54")]
[Address(RVA = "0x1E8A510", Offset = "0x1E89310", VA = "0x181E8A510", 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: 0x06001A55 RID: 6741 RVA: 0x00011550 File Offset: 0x0000F750
[Token(Token = "0x6001A55")]
[Address(RVA = "0x1E8A000", Offset = "0x1E88E00", VA = "0x181E8A000", 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: 0x06001A56 RID: 6742 RVA: 0x00011568 File Offset: 0x0000F768
[Token(Token = "0x6001A56")]
[Address(RVA = "0x1E8A0C0", Offset = "0x1E88EC0", VA = "0x181E8A0C0", 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: 0x06001A57 RID: 6743 RVA: 0x00011580 File Offset: 0x0000F780
[Token(Token = "0x6001A57")]
[Address(RVA = "0x1E8A6E0", Offset = "0x1E894E0", VA = "0x181E8A6E0", 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: 0x06001A58 RID: 6744 RVA: 0x00011598 File Offset: 0x0000F798
[Token(Token = "0x6001A58")]
[Address(RVA = "0x1E8A7A0", Offset = "0x1E895A0", VA = "0x181E8A7A0", 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: 0x06001A59 RID: 6745 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001A59")]
[Address(RVA = "0x1E89E70", Offset = "0x1E88C70", VA = "0x181E89E70", Slot = "15")]
public virtual SortKey GetSortKey(string source, CompareOptions options)
{
return null;
}
// Token: 0x06001A5A RID: 6746 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001A5A")]
[Address(RVA = "0x1E897F0", Offset = "0x1E885F0", VA = "0x181E897F0")]
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: 0x06001A5B RID: 6747 RVA: 0x000115B0 File Offset: 0x0000F7B0
[Token(Token = "0x6001A5B")]
[Address(RVA = "0x1E89980", Offset = "0x1E88780", VA = "0x181E89980", 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: 0x06001A5C RID: 6748 RVA: 0x000115C8 File Offset: 0x0000F7C8
[Token(Token = "0x6001A5C")]
[Address(RVA = "0x1E89E30", Offset = "0x1E88C30", VA = "0x181E89E30", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
// Token: 0x06001A5D RID: 6749 RVA: 0x000115E0 File Offset: 0x0000F7E0
[Token(Token = "0x6001A5D")]
[Address(RVA = "0x1E89D10", Offset = "0x1E88B10", VA = "0x181E89D10")]
internal int GetHashCodeOfString(string source, CompareOptions options)
{
return 0;
}
// Token: 0x06001A5E RID: 6750 RVA: 0x000115F8 File Offset: 0x0000F7F8
[Token(Token = "0x6001A5E")]
[Address(RVA = "0x1E89D10", Offset = "0x1E88B10", VA = "0x181E89D10")]
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: 0x06001A5F RID: 6751 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001A5F")]
[Address(RVA = "0x1E8AB80", Offset = "0x1E89980", VA = "0x181E8AB80", Slot = "3")]
public override string ToString()
{
return null;
}
// Token: 0x17000322 RID: 802
// (get) Token: 0x06001A60 RID: 6752 RVA: 0x00011610 File Offset: 0x0000F810
[Token(Token = "0x17000322")]
private static bool UseManagedCollation
{
[Token(Token = "0x6001A60")]
[Address(RVA = "0x1E8ACC0", Offset = "0x1E89AC0", VA = "0x181E8ACC0")]
get
{
return default(bool);
}
}
// Token: 0x06001A61 RID: 6753 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001A61")]
[Address(RVA = "0x1E89A50", Offset = "0x1E88850", VA = "0x181E89A50")]
private SimpleCollator GetCollator()
{
return null;
}
// Token: 0x06001A62 RID: 6754 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001A62")]
[Address(RVA = "0x1E89710", Offset = "0x1E88510", VA = "0x181E89710")]
private SortKey CreateSortKeyCore(string source, CompareOptions options)
{
return null;
}
// Token: 0x06001A63 RID: 6755 RVA: 0x00011628 File Offset: 0x0000F828
[Token(Token = "0x6001A63")]
[Address(RVA = "0x1E8AFE0", Offset = "0x1E89DE0", VA = "0x181E8AFE0")]
private int internal_index_switch(string s1, int sindex, int count, string s2, CompareOptions opt, bool first)
{
return 0;
}
// Token: 0x06001A64 RID: 6756 RVA: 0x00011640 File Offset: 0x0000F840
[Token(Token = "0x6001A64")]
[Address(RVA = "0x1E8AE50", Offset = "0x1E89C50", VA = "0x181E8AE50")]
private int internal_compare_switch(string str1, int offset1, int length1, string str2, int offset2, int length2, CompareOptions options)
{
return 0;
}
// Token: 0x06001A65 RID: 6757 RVA: 0x00011658 File Offset: 0x0000F858
[Token(Token = "0x6001A65")]
[Address(RVA = "0x1E8ADF0", Offset = "0x1E89BF0", VA = "0x181E8ADF0")]
private int internal_compare_managed(string str1, int offset1, int length1, string str2, int offset2, int length2, CompareOptions options)
{
return 0;
}
// Token: 0x06001A66 RID: 6758 RVA: 0x00011670 File Offset: 0x0000F870
[Token(Token = "0x6001A66")]
[Address(RVA = "0x1E8AF40", Offset = "0x1E89D40", VA = "0x181E8AF40")]
private int internal_index_managed(string s1, int sindex, int count, string s2, CompareOptions opt, bool first)
{
return 0;
}
// Token: 0x06001A67 RID: 6759 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001A67")]
[Address(RVA = "0x1E8AC40", Offset = "0x1E89A40", VA = "0x181E8AC40")]
private void assign_sortkey(object key, string source, CompareOptions options)
{
}
// Token: 0x06001A68 RID: 6760 RVA: 0x00011688 File Offset: 0x0000F888
[Token(Token = "0x6001A68")]
[Address(RVA = "0x1E8ADE0", Offset = "0x1E89BE0", VA = "0x181E8ADE0")]
private int internal_compare(string str1, int offset1, int length1, string str2, int offset2, int length2, CompareOptions options)
{
return 0;
}
// Token: 0x06001A69 RID: 6761 RVA: 0x000116A0 File Offset: 0x0000F8A0
[Token(Token = "0x6001A69")]
[Address(RVA = "0x1E8AF30", Offset = "0x1E89D30", VA = "0x181E8AF30")]
private int internal_index(string source, int sindex, int count, string value, CompareOptions options, bool first)
{
return 0;
}
// Token: 0x06001A6A RID: 6762 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001A6A")]
[Address(RVA = "0x1E8AC10", Offset = "0x1E89A10", VA = "0x181E8AC10")]
internal CompareInfo()
{
}
// Token: 0x04000E28 RID: 3624
[Token(Token = "0x4000E28")]
private const CompareOptions ValidIndexMaskOffFlags = ~(CompareOptions.IgnoreCase | CompareOptions.IgnoreNonSpace | CompareOptions.IgnoreSymbols | CompareOptions.IgnoreKanaType | CompareOptions.IgnoreWidth);
// Token: 0x04000E29 RID: 3625
[Token(Token = "0x4000E29")]
private const CompareOptions ValidCompareMaskOffFlags = ~(CompareOptions.IgnoreCase | CompareOptions.IgnoreNonSpace | CompareOptions.IgnoreSymbols | CompareOptions.IgnoreKanaType | CompareOptions.IgnoreWidth | CompareOptions.StringSort);
// Token: 0x04000E2A RID: 3626
[Token(Token = "0x4000E2A")]
private const CompareOptions ValidHashCodeOfStringMaskOffFlags = ~(CompareOptions.IgnoreCase | CompareOptions.IgnoreNonSpace | CompareOptions.IgnoreSymbols | CompareOptions.IgnoreKanaType | CompareOptions.IgnoreWidth);
// Token: 0x04000E2B RID: 3627
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000E2B")]
[OptionalField]
private string m_name;
// Token: 0x04000E2C RID: 3628
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000E2C")]
[NonSerialized]
private string m_sortName;
// Token: 0x04000E2D RID: 3629
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000E2D")]
[OptionalField]
private int win32LCID;
// Token: 0x04000E2E RID: 3630
[global::Cpp2IlInjected.FieldOffset(Offset = "0x24")]
[Token(Token = "0x4000E2E")]
private int culture;
// Token: 0x04000E2F RID: 3631
[Token(Token = "0x4000E2F")]
private const int LINGUISTIC_IGNORECASE = 16;
// Token: 0x04000E30 RID: 3632
[Token(Token = "0x4000E30")]
private const int NORM_IGNORECASE = 1;
// Token: 0x04000E31 RID: 3633
[Token(Token = "0x4000E31")]
private const int NORM_IGNOREKANATYPE = 65536;
// Token: 0x04000E32 RID: 3634
[Token(Token = "0x4000E32")]
private const int LINGUISTIC_IGNOREDIACRITIC = 32;
// Token: 0x04000E33 RID: 3635
[Token(Token = "0x4000E33")]
private const int NORM_IGNORENONSPACE = 2;
// Token: 0x04000E34 RID: 3636
[Token(Token = "0x4000E34")]
private const int NORM_IGNORESYMBOLS = 4;
// Token: 0x04000E35 RID: 3637
[Token(Token = "0x4000E35")]
private const int NORM_IGNOREWIDTH = 131072;
// Token: 0x04000E36 RID: 3638
[Token(Token = "0x4000E36")]
private const int SORT_STRINGSORT = 4096;
// Token: 0x04000E37 RID: 3639
[Token(Token = "0x4000E37")]
private const int COMPARE_OPTIONS_ORDINAL = 1073741824;
// Token: 0x04000E38 RID: 3640
[Token(Token = "0x4000E38")]
internal const int NORM_LINGUISTIC_CASING = 134217728;
// Token: 0x04000E39 RID: 3641
[Token(Token = "0x4000E39")]
private const int RESERVED_FIND_ASCII_STRING = 536870912;
// Token: 0x04000E3A RID: 3642
[Token(Token = "0x4000E3A")]
private const int SORT_VERSION_WHIDBEY = 4096;
// Token: 0x04000E3B RID: 3643
[Token(Token = "0x4000E3B")]
private const int SORT_VERSION_V4 = 393473;
// Token: 0x04000E3C RID: 3644
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
[Token(Token = "0x4000E3C")]
[OptionalField]
private SortVersion m_SortVersion;
// Token: 0x04000E3D RID: 3645
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
[Token(Token = "0x4000E3D")]
[NonSerialized]
private SimpleCollator collator;
// Token: 0x04000E3E RID: 3646
[Token(Token = "0x4000E3E")]
private static Dictionary collators;
// Token: 0x04000E3F RID: 3647
[Token(Token = "0x4000E3F")]
private static bool managedCollation;
// Token: 0x04000E40 RID: 3648
[Token(Token = "0x4000E40")]
private static bool managedCollationChecked;
}
}