Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

278 lines
13 KiB
C#

using System;
using Cpp2IlInjected;
namespace System.Collections.Specialized
{
/// <summary>Implements <see langword="IDictionary" /> by using a <see cref="T:System.Collections.Specialized.ListDictionary" /> while the collection is small, and then switching to a <see cref="T:System.Collections.Hashtable" /> when the collection gets large.</summary>
// Token: 0x0200032F RID: 815
[Token(Token = "0x200032F")]
[Serializable]
public class HybridDictionary : IDictionary, ICollection, IEnumerable
{
/// <summary>Creates an empty case-sensitive <see cref="T:System.Collections.Specialized.HybridDictionary" />.</summary>
// Token: 0x0600151F RID: 5407 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600151F")]
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
public HybridDictionary()
{
}
/// <summary>Creates an empty <see cref="T:System.Collections.Specialized.HybridDictionary" /> with the specified case sensitivity.</summary>
/// <param name="caseInsensitive">A Boolean that denotes whether the <see cref="T:System.Collections.Specialized.HybridDictionary" /> is case-insensitive.</param>
// Token: 0x06001520 RID: 5408 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001520")]
[Address(RVA = "0xB9E590", Offset = "0xB9D590", VA = "0x180B9E590")]
public HybridDictionary(bool caseInsensitive)
{
}
/// <summary>Gets or sets the value associated with the specified key.</summary>
/// <param name="key">The key whose value to get or set.</param>
/// <returns>The value associated with the specified key. If the specified key is not found, attempting to get it returns <see langword="null" />, and attempting to set it creates a new entry using the specified key.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="key" /> is <see langword="null" />.</exception>
// Token: 0x17000449 RID: 1097
[Token(Token = "0x17000449")]
public object this[object key]
{
[Token(Token = "0x6001521")]
[Address(RVA = "0xB9E5F0", Offset = "0xB9D5F0", VA = "0x180B9E5F0", Slot = "4")]
get
{
return null;
}
[Token(Token = "0x6001522")]
[Address(RVA = "0xB9E9B0", Offset = "0xB9D9B0", VA = "0x180B9E9B0", Slot = "5")]
set
{
}
}
// Token: 0x1700044A RID: 1098
// (get) Token: 0x06001523 RID: 5411 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700044A")]
private ListDictionary List
{
[Token(Token = "0x6001523")]
[Address(RVA = "0xB9E870", Offset = "0xB9D870", VA = "0x180B9E870")]
get
{
return null;
}
}
// Token: 0x06001524 RID: 5412 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001524")]
[Address(RVA = "0xB9DB70", Offset = "0xB9CB70", VA = "0x180B9DB70")]
private void ChangeOver()
{
}
/// <summary>Gets the number of key/value pairs contained in the <see cref="T:System.Collections.Specialized.HybridDictionary" />.</summary>
/// <returns>The number of key/value pairs contained in the <see cref="T:System.Collections.Specialized.HybridDictionary" />.
/// Retrieving the value of this property is an O(1) operation.</returns>
// Token: 0x1700044B RID: 1099
// (get) Token: 0x06001525 RID: 5413 RVA: 0x00009720 File Offset: 0x00007920
[Token(Token = "0x1700044B")]
public int Count
{
[Token(Token = "0x6001525")]
[Address(RVA = "0xB9E5C0", Offset = "0xB9D5C0", VA = "0x180B9E5C0", Slot = "16")]
get
{
return 0;
}
}
/// <summary>Gets an <see cref="T:System.Collections.ICollection" /> containing the keys in the <see cref="T:System.Collections.Specialized.HybridDictionary" />.</summary>
/// <returns>An <see cref="T:System.Collections.ICollection" /> containing the keys in the <see cref="T:System.Collections.Specialized.HybridDictionary" />.</returns>
// Token: 0x1700044C RID: 1100
// (get) Token: 0x06001526 RID: 5414 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700044C")]
public ICollection Keys
{
[Token(Token = "0x6001526")]
[Address(RVA = "0xB9E7D0", Offset = "0xB9D7D0", VA = "0x180B9E7D0", Slot = "6")]
get
{
return null;
}
}
/// <summary>Gets a value indicating whether the <see cref="T:System.Collections.Specialized.HybridDictionary" /> is read-only.</summary>
/// <returns>This property always returns <see langword="false" />.</returns>
// Token: 0x1700044D RID: 1101
// (get) Token: 0x06001527 RID: 5415 RVA: 0x00009738 File Offset: 0x00007938
[Token(Token = "0x1700044D")]
public bool IsReadOnly
{
[Token(Token = "0x6001527")]
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690", Slot = "11")]
get
{
return default(bool);
}
}
/// <summary>Gets a value indicating whether the <see cref="T:System.Collections.Specialized.HybridDictionary" /> has a fixed size.</summary>
/// <returns>This property always returns <see langword="false" />.</returns>
// Token: 0x1700044E RID: 1102
// (get) Token: 0x06001528 RID: 5416 RVA: 0x00009750 File Offset: 0x00007950
[Token(Token = "0x1700044E")]
public bool IsFixedSize
{
[Token(Token = "0x6001528")]
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690", Slot = "12")]
get
{
return default(bool);
}
}
/// <summary>Gets a value indicating whether the <see cref="T:System.Collections.Specialized.HybridDictionary" /> is synchronized (thread safe).</summary>
/// <returns>This property always returns <see langword="false" />.</returns>
// Token: 0x1700044F RID: 1103
// (get) Token: 0x06001529 RID: 5417 RVA: 0x00009768 File Offset: 0x00007968
[Token(Token = "0x1700044F")]
public bool IsSynchronized
{
[Token(Token = "0x6001529")]
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690", Slot = "18")]
get
{
return default(bool);
}
}
/// <summary>Gets an object that can be used to synchronize access to the <see cref="T:System.Collections.Specialized.HybridDictionary" />.</summary>
/// <returns>An object that can be used to synchronize access to the <see cref="T:System.Collections.Specialized.HybridDictionary" />.</returns>
// Token: 0x17000450 RID: 1104
// (get) Token: 0x0600152A RID: 5418 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000450")]
public object SyncRoot
{
[Token(Token = "0x600152A")]
[Address(RVA = "0x4A65C0", Offset = "0x4A55C0", VA = "0x1804A65C0", Slot = "17")]
get
{
return null;
}
}
/// <summary>Gets an <see cref="T:System.Collections.ICollection" /> containing the values in the <see cref="T:System.Collections.Specialized.HybridDictionary" />.</summary>
/// <returns>An <see cref="T:System.Collections.ICollection" /> containing the values in the <see cref="T:System.Collections.Specialized.HybridDictionary" />.</returns>
// Token: 0x17000451 RID: 1105
// (get) Token: 0x0600152B RID: 5419 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000451")]
public ICollection Values
{
[Token(Token = "0x600152B")]
[Address(RVA = "0xB9E910", Offset = "0xB9D910", VA = "0x180B9E910", Slot = "7")]
get
{
return null;
}
}
/// <summary>Adds an entry with the specified key and value into the <see cref="T:System.Collections.Specialized.HybridDictionary" />.</summary>
/// <param name="key">The key of the entry to add.</param>
/// <param name="value">The value of the entry to add. The value can be <see langword="null" />.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="key" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentException">An entry with the same key already exists in the <see cref="T:System.Collections.Specialized.HybridDictionary" />.</exception>
// Token: 0x0600152C RID: 5420 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600152C")]
[Address(RVA = "0xB9DA30", Offset = "0xB9CA30", VA = "0x180B9DA30", Slot = "9")]
public void Add(object key, object value)
{
}
/// <summary>Removes all entries from the <see cref="T:System.Collections.Specialized.HybridDictionary" />.</summary>
// Token: 0x0600152D RID: 5421 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600152D")]
[Address(RVA = "0xB9DE40", Offset = "0xB9CE40", VA = "0x180B9DE40", Slot = "10")]
public void Clear()
{
}
/// <summary>Determines whether the <see cref="T:System.Collections.Specialized.HybridDictionary" /> contains a specific key.</summary>
/// <param name="key">The key to locate in the <see cref="T:System.Collections.Specialized.HybridDictionary" />.</param>
/// <returns>
/// <see langword="true" /> if the <see cref="T:System.Collections.Specialized.HybridDictionary" /> contains an entry with the specified key; otherwise, <see langword="false" />.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="key" /> is <see langword="null" />.</exception>
// Token: 0x0600152E RID: 5422 RVA: 0x00009780 File Offset: 0x00007980
[Token(Token = "0x600152E")]
[Address(RVA = "0xB9DE90", Offset = "0xB9CE90", VA = "0x180B9DE90", Slot = "8")]
public bool Contains(object key)
{
return default(bool);
}
/// <summary>Copies the <see cref="T:System.Collections.Specialized.HybridDictionary" /> entries to a one-dimensional <see cref="T:System.Array" /> instance at the specified index.</summary>
/// <param name="array">The one-dimensional <see cref="T:System.Array" /> that is the destination of the <see cref="T:System.Collections.DictionaryEntry" /> objects copied from <see cref="T:System.Collections.Specialized.HybridDictionary" />. The <see cref="T:System.Array" /> must have zero-based indexing.</param>
/// <param name="index">The zero-based index in <paramref name="array" /> at which copying begins.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="array" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="index" /> is less than zero.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="array" /> is multidimensional.
/// -or-
/// The number of elements in the source <see cref="T:System.Collections.Specialized.HybridDictionary" /> is greater than the available space from <paramref name="arrayIndex" /> to the end of the destination <paramref name="array" />.</exception>
/// <exception cref="T:System.InvalidCastException">The type of the source <see cref="T:System.Collections.Specialized.HybridDictionary" /> cannot be cast automatically to the type of the destination <paramref name="array" />.</exception>
// Token: 0x0600152F RID: 5423 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600152F")]
[Address(RVA = "0xB9E040", Offset = "0xB9D040", VA = "0x180B9E040", Slot = "15")]
public void CopyTo(Array array, int index)
{
}
/// <summary>Returns an <see cref="T:System.Collections.IDictionaryEnumerator" /> that iterates through the <see cref="T:System.Collections.Specialized.HybridDictionary" />.</summary>
/// <returns>An <see cref="T:System.Collections.IDictionaryEnumerator" /> for the <see cref="T:System.Collections.Specialized.HybridDictionary" />.</returns>
// Token: 0x06001530 RID: 5424 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001530")]
[Address(RVA = "0xB9E210", Offset = "0xB9D210", VA = "0x180B9E210", Slot = "13")]
public IDictionaryEnumerator GetEnumerator()
{
return null;
}
/// <summary>Returns an <see cref="T:System.Collections.IEnumerator" /> that iterates through the <see cref="T:System.Collections.Specialized.HybridDictionary" />.</summary>
/// <returns>An <see cref="T:System.Collections.IEnumerator" /> for the <see cref="T:System.Collections.Specialized.HybridDictionary" />.</returns>
// Token: 0x06001531 RID: 5425 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001531")]
[Address(RVA = "0xB9E4C0", Offset = "0xB9D4C0", VA = "0x180B9E4C0", Slot = "19")]
IEnumerator IEnumerable.GetEnumerator()
{
return null;
}
/// <summary>Removes the entry with the specified key from the <see cref="T:System.Collections.Specialized.HybridDictionary" />.</summary>
/// <param name="key">The key of the entry to remove.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="key" /> is <see langword="null" />.</exception>
// Token: 0x06001532 RID: 5426 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001532")]
[Address(RVA = "0xB9E2E0", Offset = "0xB9D2E0", VA = "0x180B9E2E0", Slot = "14")]
public void Remove(object key)
{
}
// Token: 0x04000E02 RID: 3586
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000E02")]
private ListDictionary list;
// Token: 0x04000E03 RID: 3587
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000E03")]
private Hashtable hashtable;
// Token: 0x04000E04 RID: 3588
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000E04")]
private bool caseInsensitive;
}
}