m
This commit is contained in:
@@ -0,0 +1,69 @@
|
||||
using System;
|
||||
using System.Globalization;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Collections
|
||||
{
|
||||
/// <summary>Supplies a hash code for an object, using a hashing algorithm that ignores the case of strings.</summary>
|
||||
// Token: 0x020005C6 RID: 1478
|
||||
[Token(Token = "0x20005C6")]
|
||||
[Obsolete]
|
||||
[Obsolete("Please use StringComparer instead.")]
|
||||
[ComVisible(true)]
|
||||
[Serializable]
|
||||
public class CaseInsensitiveHashCodeProvider : IHashCodeProvider
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Collections.CaseInsensitiveHashCodeProvider" /> class using the <see cref="P:System.Threading.Thread.CurrentCulture" /> of the current thread.</summary>
|
||||
// Token: 0x06002DD8 RID: 11736 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002DD8")]
|
||||
[Address(RVA = "0x2C2EA60", Offset = "0x2C2DA60", VA = "0x182C2EA60")]
|
||||
public CaseInsensitiveHashCodeProvider()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Collections.CaseInsensitiveHashCodeProvider" /> class using the specified <see cref="T:System.Globalization.CultureInfo" />.</summary>
|
||||
/// <param name="culture">The <see cref="T:System.Globalization.CultureInfo" /> to use for the new <see cref="T:System.Collections.CaseInsensitiveHashCodeProvider" />.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="culture" /> is <see langword="null" />.</exception>
|
||||
// Token: 0x06002DD9 RID: 11737 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002DD9")]
|
||||
[Address(RVA = "0x2C2E9D0", Offset = "0x2C2D9D0", VA = "0x182C2E9D0")]
|
||||
public CaseInsensitiveHashCodeProvider(CultureInfo culture)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets an instance of <see cref="T:System.Collections.CaseInsensitiveHashCodeProvider" /> that is associated with the <see cref="P:System.Threading.Thread.CurrentCulture" /> of the current thread and that is always available.</summary>
|
||||
/// <returns>An instance of <see cref="T:System.Collections.CaseInsensitiveHashCodeProvider" /> that is associated with the <see cref="P:System.Threading.Thread.CurrentCulture" /> of the current thread.</returns>
|
||||
// Token: 0x170006EE RID: 1774
|
||||
// (get) Token: 0x06002DDA RID: 11738 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170006EE")]
|
||||
public static CaseInsensitiveHashCodeProvider Default
|
||||
{
|
||||
[Token(Token = "0x6002DDA")]
|
||||
[Address(RVA = "0x2C2EAE0", Offset = "0x2C2DAE0", VA = "0x182C2EAE0")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Returns a hash code for the given object, using a hashing algorithm that ignores the case of strings.</summary>
|
||||
/// <param name="obj">The <see cref="T:System.Object" /> for which a hash code is to be returned.</param>
|
||||
/// <returns>A hash code for the given object, using a hashing algorithm that ignores the case of strings.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="obj" /> is <see langword="null" />.</exception>
|
||||
// Token: 0x06002DDB RID: 11739 RVA: 0x000195D8 File Offset: 0x000177D8
|
||||
[Token(Token = "0x6002DDB")]
|
||||
[Address(RVA = "0x2C2E910", Offset = "0x2C2D910", VA = "0x182C2E910", Slot = "4")]
|
||||
public int GetHashCode(object obj)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x04001A38 RID: 6712
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4001A38")]
|
||||
private TextInfo m_text;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user