609 lines
34 KiB
C#
609 lines
34 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Runtime.InteropServices;
|
|
using System.Runtime.Serialization;
|
|
using Cpp2IlInjected;
|
|
using Mono.Globalization.Unicode;
|
|
|
|
namespace System.Globalization
|
|
{
|
|
/// <summary>Implements a set of methods for culture-sensitive string comparisons.</summary>
|
|
// 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)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new <see cref="T:System.Globalization.CompareInfo" /> object that is associated with the culture with the specified name.</summary>
|
|
/// <param name="name">A string representing the culture name.</param>
|
|
/// <returns>A new <see cref="T:System.Globalization.CompareInfo" /> object associated with the culture with the specified identifier and using string comparison methods in the current <see cref="T:System.Reflection.Assembly" />.</returns>
|
|
/// <exception cref="T:System.ArgumentNullException">
|
|
/// <paramref name="name" /> is <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.ArgumentException">
|
|
/// <paramref name="name" /> is an invalid culture name.</exception>
|
|
// 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)
|
|
{
|
|
}
|
|
|
|
/// <summary>Runs when the entire object graph has been deserialized.</summary>
|
|
/// <param name="sender">The object that initiated the callback.</param>
|
|
// 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)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets the name of the culture used for sorting operations by this <see cref="T:System.Globalization.CompareInfo" /> object.</summary>
|
|
/// <returns>The name of a culture.</returns>
|
|
// 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;
|
|
}
|
|
}
|
|
|
|
/// <summary>Compares two strings.</summary>
|
|
/// <param name="string1">The first string to compare.</param>
|
|
/// <param name="string2">The second string to compare.</param>
|
|
/// <returns>A 32-bit signed integer indicating the lexical relationship between the two comparands.
|
|
/// Value
|
|
///
|
|
/// Condition
|
|
///
|
|
/// zero
|
|
///
|
|
/// The two strings are equal.
|
|
///
|
|
/// less than zero
|
|
///
|
|
/// <paramref name="string1" /> is less than <paramref name="string2" />.
|
|
///
|
|
/// greater than zero
|
|
///
|
|
/// <paramref name="string1" /> is greater than <paramref name="string2" />.</returns>
|
|
// 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;
|
|
}
|
|
|
|
/// <summary>Compares two strings using the specified <see cref="T:System.Globalization.CompareOptions" /> value.</summary>
|
|
/// <param name="string1">The first string to compare.</param>
|
|
/// <param name="string2">The second string to compare.</param>
|
|
/// <param name="options">A value that defines how <paramref name="string1" /> and <paramref name="string2" /> should be compared. <paramref name="options" /> is either the enumeration value <see cref="F:System.Globalization.CompareOptions.Ordinal" />, or a bitwise combination of one or more of the following values: <see cref="F:System.Globalization.CompareOptions.IgnoreCase" />, <see cref="F:System.Globalization.CompareOptions.IgnoreSymbols" />, <see cref="F:System.Globalization.CompareOptions.IgnoreNonSpace" />, <see cref="F:System.Globalization.CompareOptions.IgnoreWidth" />, <see cref="F:System.Globalization.CompareOptions.IgnoreKanaType" />, and <see cref="F:System.Globalization.CompareOptions.StringSort" />.</param>
|
|
/// <returns>A 32-bit signed integer indicating the lexical relationship between the two comparands.
|
|
/// Value
|
|
///
|
|
/// Condition
|
|
///
|
|
/// zero
|
|
///
|
|
/// The two strings are equal.
|
|
///
|
|
/// less than zero
|
|
///
|
|
/// <paramref name="string1" /> is less than <paramref name="string2" />.
|
|
///
|
|
/// greater than zero
|
|
///
|
|
/// <paramref name="string1" /> is greater than <paramref name="string2" />.</returns>
|
|
/// <exception cref="T:System.ArgumentException">
|
|
/// <paramref name="options" /> contains an invalid <see cref="T:System.Globalization.CompareOptions" /> value.</exception>
|
|
// 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;
|
|
}
|
|
|
|
/// <summary>Compares a section of one string with a section of another string using the specified <see cref="T:System.Globalization.CompareOptions" /> value.</summary>
|
|
/// <param name="string1">The first string to compare.</param>
|
|
/// <param name="offset1">The zero-based index of the character in <paramref name="string1" /> at which to start comparing.</param>
|
|
/// <param name="length1">The number of consecutive characters in <paramref name="string1" /> to compare.</param>
|
|
/// <param name="string2">The second string to compare.</param>
|
|
/// <param name="offset2">The zero-based index of the character in <paramref name="string2" /> at which to start comparing.</param>
|
|
/// <param name="length2">The number of consecutive characters in <paramref name="string2" /> to compare.</param>
|
|
/// <param name="options">A value that defines how <paramref name="string1" /> and <paramref name="string2" /> should be compared. <paramref name="options" /> is either the enumeration value <see cref="F:System.Globalization.CompareOptions.Ordinal" />, or a bitwise combination of one or more of the following values: <see cref="F:System.Globalization.CompareOptions.IgnoreCase" />, <see cref="F:System.Globalization.CompareOptions.IgnoreSymbols" />, <see cref="F:System.Globalization.CompareOptions.IgnoreNonSpace" />, <see cref="F:System.Globalization.CompareOptions.IgnoreWidth" />, <see cref="F:System.Globalization.CompareOptions.IgnoreKanaType" />, and <see cref="F:System.Globalization.CompareOptions.StringSort" />.</param>
|
|
/// <returns>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 <paramref name="string1" /> is less than the specified section of <paramref name="string2" />.
|
|
///
|
|
/// greater than zero
|
|
///
|
|
/// The specified section of <paramref name="string1" /> is greater than the specified section of <paramref name="string2" />.</returns>
|
|
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
|
/// <paramref name="offset1" /> or <paramref name="length1" /> or <paramref name="offset2" /> or <paramref name="length2" /> is less than zero.
|
|
/// -or-
|
|
/// <paramref name="offset1" /> is greater than or equal to the number of characters in <paramref name="string1" />.
|
|
/// -or-
|
|
/// <paramref name="offset2" /> is greater than or equal to the number of characters in <paramref name="string2" />.
|
|
/// -or-
|
|
/// <paramref name="length1" /> is greater than the number of characters from <paramref name="offset1" /> to the end of <paramref name="string1" />.
|
|
/// -or-
|
|
/// <paramref name="length2" /> is greater than the number of characters from <paramref name="offset2" /> to the end of <paramref name="string2" />.</exception>
|
|
/// <exception cref="T:System.ArgumentException">
|
|
/// <paramref name="options" /> contains an invalid <see cref="T:System.Globalization.CompareOptions" /> value.</exception>
|
|
// 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;
|
|
}
|
|
|
|
/// <summary>Determines whether the specified source string starts with the specified prefix using the specified <see cref="T:System.Globalization.CompareOptions" /> value.</summary>
|
|
/// <param name="source">The string to search in.</param>
|
|
/// <param name="prefix">The string to compare with the beginning of <paramref name="source" />.</param>
|
|
/// <param name="options">A value that defines how <paramref name="source" /> and <paramref name="prefix" /> should be compared. <paramref name="options" /> is either the enumeration value <see cref="F:System.Globalization.CompareOptions.Ordinal" />, or a bitwise combination of one or more of the following values: <see cref="F:System.Globalization.CompareOptions.IgnoreCase" />, <see cref="F:System.Globalization.CompareOptions.IgnoreSymbols" />, <see cref="F:System.Globalization.CompareOptions.IgnoreNonSpace" />, <see cref="F:System.Globalization.CompareOptions.IgnoreWidth" />, and <see cref="F:System.Globalization.CompareOptions.IgnoreKanaType" />.</param>
|
|
/// <returns>
|
|
/// <see langword="true" /> if the length of <paramref name="prefix" /> is less than or equal to the length of <paramref name="source" /> and <paramref name="source" /> starts with <paramref name="prefix" />; otherwise, <see langword="false" />.</returns>
|
|
/// <exception cref="T:System.ArgumentNullException">
|
|
/// <paramref name="source" /> is <see langword="null" />.
|
|
/// -or-
|
|
/// <paramref name="prefix" /> is <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.ArgumentException">
|
|
/// <paramref name="options" /> contains an invalid <see cref="T:System.Globalization.CompareOptions" /> value.</exception>
|
|
// 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);
|
|
}
|
|
|
|
/// <summary>Determines whether the specified source string ends with the specified suffix using the specified <see cref="T:System.Globalization.CompareOptions" /> value.</summary>
|
|
/// <param name="source">The string to search in.</param>
|
|
/// <param name="suffix">The string to compare with the end of <paramref name="source" />.</param>
|
|
/// <param name="options">A value that defines how <paramref name="source" /> and <paramref name="suffix" /> should be compared. <paramref name="options" /> is either the enumeration value <see cref="F:System.Globalization.CompareOptions.Ordinal" /> used by itself, or the bitwise combination of one or more of the following values: <see cref="F:System.Globalization.CompareOptions.IgnoreCase" />, <see cref="F:System.Globalization.CompareOptions.IgnoreSymbols" />, <see cref="F:System.Globalization.CompareOptions.IgnoreNonSpace" />, <see cref="F:System.Globalization.CompareOptions.IgnoreWidth" />, and <see cref="F:System.Globalization.CompareOptions.IgnoreKanaType" />.</param>
|
|
/// <returns>
|
|
/// <see langword="true" /> if the length of <paramref name="suffix" /> is less than or equal to the length of <paramref name="source" /> and <paramref name="source" /> ends with <paramref name="suffix" />; otherwise, <see langword="false" />.</returns>
|
|
/// <exception cref="T:System.ArgumentNullException">
|
|
/// <paramref name="source" /> is <see langword="null" />.
|
|
/// -or-
|
|
/// <paramref name="suffix" /> is <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.ArgumentException">
|
|
/// <paramref name="options" /> contains an invalid <see cref="T:System.Globalization.CompareOptions" /> value.</exception>
|
|
// 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);
|
|
}
|
|
|
|
/// <summary>Searches for the specified substring and returns the zero-based index of the first occurrence within the entire source string using the specified <see cref="T:System.Globalization.CompareOptions" /> value.</summary>
|
|
/// <param name="source">The string to search.</param>
|
|
/// <param name="value">The string to locate within <paramref name="source" />.</param>
|
|
/// <param name="options">A value that defines how <paramref name="source" /> and <paramref name="value" /> should be compared. <paramref name="options" /> is either the enumeration value <see cref="F:System.Globalization.CompareOptions.Ordinal" />, or a bitwise combination of one or more of the following values: <see cref="F:System.Globalization.CompareOptions.IgnoreCase" />, <see cref="F:System.Globalization.CompareOptions.IgnoreSymbols" />, <see cref="F:System.Globalization.CompareOptions.IgnoreNonSpace" />, <see cref="F:System.Globalization.CompareOptions.IgnoreWidth" />, and <see cref="F:System.Globalization.CompareOptions.IgnoreKanaType" />.</param>
|
|
/// <returns>The zero-based index of the first occurrence of <paramref name="value" />, if found, within <paramref name="source" />, using the specified comparison options; otherwise, -1. Returns 0 (zero) if <paramref name="value" /> is an ignorable character.</returns>
|
|
/// <exception cref="T:System.ArgumentNullException">
|
|
/// <paramref name="source" /> is <see langword="null" />.
|
|
/// -or-
|
|
/// <paramref name="value" /> is <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.ArgumentException">
|
|
/// <paramref name="options" /> contains an invalid <see cref="T:System.Globalization.CompareOptions" /> value.</exception>
|
|
// 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;
|
|
}
|
|
|
|
/// <summary>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 <see cref="T:System.Globalization.CompareOptions" /> value.</summary>
|
|
/// <param name="source">The string to search.</param>
|
|
/// <param name="value">The string to locate within <paramref name="source" />.</param>
|
|
/// <param name="startIndex">The zero-based starting index of the search.</param>
|
|
/// <param name="count">The number of elements in the section to search.</param>
|
|
/// <param name="options">A value that defines how <paramref name="source" /> and <paramref name="value" /> should be compared. <paramref name="options" /> is either the enumeration value <see cref="F:System.Globalization.CompareOptions.Ordinal" />, or a bitwise combination of one or more of the following values: <see cref="F:System.Globalization.CompareOptions.IgnoreCase" />, <see cref="F:System.Globalization.CompareOptions.IgnoreSymbols" />, <see cref="F:System.Globalization.CompareOptions.IgnoreNonSpace" />, <see cref="F:System.Globalization.CompareOptions.IgnoreWidth" />, and <see cref="F:System.Globalization.CompareOptions.IgnoreKanaType" />.</param>
|
|
/// <returns>The zero-based index of the first occurrence of <paramref name="value" />, if found, within the section of <paramref name="source" /> that starts at <paramref name="startIndex" /> and contains the number of elements specified by <paramref name="count" />, using the specified comparison options; otherwise, -1. Returns <paramref name="startIndex" /> if <paramref name="value" /> is an ignorable character.</returns>
|
|
/// <exception cref="T:System.ArgumentNullException">
|
|
/// <paramref name="source" /> is <see langword="null" />.
|
|
/// -or-
|
|
/// <paramref name="value" /> is <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
|
/// <paramref name="startIndex" /> is outside the range of valid indexes for <paramref name="source" />.
|
|
/// -or-
|
|
/// <paramref name="count" /> is less than zero.
|
|
/// -or-
|
|
/// <paramref name="startIndex" /> and <paramref name="count" /> do not specify a valid section in <paramref name="source" />.</exception>
|
|
/// <exception cref="T:System.ArgumentException">
|
|
/// <paramref name="options" /> contains an invalid <see cref="T:System.Globalization.CompareOptions" /> value.</exception>
|
|
// 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;
|
|
}
|
|
|
|
/// <summary>Searches for the specified substring and returns the zero-based index of the last occurrence within the entire source string using the specified <see cref="T:System.Globalization.CompareOptions" /> value.</summary>
|
|
/// <param name="source">The string to search.</param>
|
|
/// <param name="value">The string to locate within <paramref name="source" />.</param>
|
|
/// <param name="options">A value that defines how <paramref name="source" /> and <paramref name="value" /> should be compared. <paramref name="options" /> is either the enumeration value <see cref="F:System.Globalization.CompareOptions.Ordinal" />, or a bitwise combination of one or more of the following values: <see cref="F:System.Globalization.CompareOptions.IgnoreCase" />, <see cref="F:System.Globalization.CompareOptions.IgnoreSymbols" />, <see cref="F:System.Globalization.CompareOptions.IgnoreNonSpace" />, <see cref="F:System.Globalization.CompareOptions.IgnoreWidth" />, and <see cref="F:System.Globalization.CompareOptions.IgnoreKanaType" />.</param>
|
|
/// <returns>The zero-based index of the last occurrence of <paramref name="value" />, if found, within <paramref name="source" />, using the specified comparison options; otherwise, -1.</returns>
|
|
/// <exception cref="T:System.ArgumentNullException">
|
|
/// <paramref name="source" /> is <see langword="null" />.
|
|
/// -or-
|
|
/// <paramref name="value" /> is <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.ArgumentException">
|
|
/// <paramref name="options" /> contains an invalid <see cref="T:System.Globalization.CompareOptions" /> value.</exception>
|
|
// 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;
|
|
}
|
|
|
|
/// <summary>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 <see cref="T:System.Globalization.CompareOptions" /> value.</summary>
|
|
/// <param name="source">The string to search.</param>
|
|
/// <param name="value">The string to locate within <paramref name="source" />.</param>
|
|
/// <param name="startIndex">The zero-based starting index of the backward search.</param>
|
|
/// <param name="count">The number of elements in the section to search.</param>
|
|
/// <param name="options">A value that defines how <paramref name="source" /> and <paramref name="value" /> should be compared. <paramref name="options" /> is either the enumeration value <see cref="F:System.Globalization.CompareOptions.Ordinal" />, or a bitwise combination of one or more of the following values: <see cref="F:System.Globalization.CompareOptions.IgnoreCase" />, <see cref="F:System.Globalization.CompareOptions.IgnoreSymbols" />, <see cref="F:System.Globalization.CompareOptions.IgnoreNonSpace" />, <see cref="F:System.Globalization.CompareOptions.IgnoreWidth" />, and <see cref="F:System.Globalization.CompareOptions.IgnoreKanaType" />.</param>
|
|
/// <returns>The zero-based index of the last occurrence of <paramref name="value" />, if found, within the section of <paramref name="source" /> that contains the number of elements specified by <paramref name="count" /> and that ends at <paramref name="startIndex" />, using the specified comparison options; otherwise, -1. Returns <paramref name="startIndex" /> if <paramref name="value" /> is an ignorable character.</returns>
|
|
/// <exception cref="T:System.ArgumentNullException">
|
|
/// <paramref name="source" /> is <see langword="null" />.
|
|
/// -or-
|
|
/// <paramref name="value" /> is <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
|
/// <paramref name="startIndex" /> is outside the range of valid indexes for <paramref name="source" />.
|
|
/// -or-
|
|
/// <paramref name="count" /> is less than zero.
|
|
/// -or-
|
|
/// <paramref name="startIndex" /> and <paramref name="count" /> do not specify a valid section in <paramref name="source" />.</exception>
|
|
/// <exception cref="T:System.ArgumentException">
|
|
/// <paramref name="options" /> contains an invalid <see cref="T:System.Globalization.CompareOptions" /> value.</exception>
|
|
// 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;
|
|
}
|
|
|
|
/// <summary>Gets a <see cref="T:System.Globalization.SortKey" /> object for the specified string using the specified <see cref="T:System.Globalization.CompareOptions" /> value.</summary>
|
|
/// <param name="source">The string for which a <see cref="T:System.Globalization.SortKey" /> object is obtained.</param>
|
|
/// <param name="options">A bitwise combination of one or more of the following enumeration values that define how the sort key is calculated: <see cref="F:System.Globalization.CompareOptions.IgnoreCase" />, <see cref="F:System.Globalization.CompareOptions.IgnoreSymbols" />, <see cref="F:System.Globalization.CompareOptions.IgnoreNonSpace" />, <see cref="F:System.Globalization.CompareOptions.IgnoreWidth" />, <see cref="F:System.Globalization.CompareOptions.IgnoreKanaType" />, and <see cref="F:System.Globalization.CompareOptions.StringSort" />.</param>
|
|
/// <returns>The <see cref="T:System.Globalization.SortKey" /> object that contains the sort key for the specified string.</returns>
|
|
/// <exception cref="T:System.ArgumentException">
|
|
/// <paramref name="options" /> contains an invalid <see cref="T:System.Globalization.CompareOptions" /> value.</exception>
|
|
// 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;
|
|
}
|
|
|
|
/// <summary>Determines whether the specified object is equal to the current <see cref="T:System.Globalization.CompareInfo" /> object.</summary>
|
|
/// <param name="value">The object to compare with the current <see cref="T:System.Globalization.CompareInfo" />.</param>
|
|
/// <returns>
|
|
/// <see langword="true" /> if the specified object is equal to the current <see cref="T:System.Globalization.CompareInfo" />; otherwise, <see langword="false" />.</returns>
|
|
// 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);
|
|
}
|
|
|
|
/// <summary>Serves as a hash function for the current <see cref="T:System.Globalization.CompareInfo" /> for hashing algorithms and data structures, such as a hash table.</summary>
|
|
/// <returns>A hash code for the current <see cref="T:System.Globalization.CompareInfo" />.</returns>
|
|
// 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;
|
|
}
|
|
|
|
/// <summary>Returns a string that represents the current <see cref="T:System.Globalization.CompareInfo" /> object.</summary>
|
|
/// <returns>A string that represents the current <see cref="T:System.Globalization.CompareInfo" /> object.</returns>
|
|
// 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<string, SimpleCollator> collators;
|
|
|
|
// Token: 0x04000E83 RID: 3715
|
|
[Token(Token = "0x4000E83")]
|
|
private static bool managedCollation;
|
|
|
|
// Token: 0x04000E84 RID: 3716
|
|
[Token(Token = "0x4000E84")]
|
|
private static bool managedCollationChecked;
|
|
}
|
|
}
|