278 lines
13 KiB
C#
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: 0x02000333 RID: 819
|
|
[Token(Token = "0x2000333")]
|
|
[Serializable]
|
|
public class HybridDictionary : IDictionary, ICollection, IEnumerable
|
|
{
|
|
/// <summary>Creates an empty case-sensitive <see cref="T:System.Collections.Specialized.HybridDictionary" />.</summary>
|
|
// Token: 0x06001535 RID: 5429 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6001535")]
|
|
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
|
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: 0x06001536 RID: 5430 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6001536")]
|
|
[Address(RVA = "0x4A18F0", Offset = "0x4A06F0", VA = "0x1804A18F0")]
|
|
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: 0x1700044D RID: 1101
|
|
[Token(Token = "0x1700044D")]
|
|
public object this[object key]
|
|
{
|
|
[Token(Token = "0x6001537")]
|
|
[Address(RVA = "0x4A1950", Offset = "0x4A0750", VA = "0x1804A1950", Slot = "4")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
[Token(Token = "0x6001538")]
|
|
[Address(RVA = "0x4A1D10", Offset = "0x4A0B10", VA = "0x1804A1D10", Slot = "5")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700044E RID: 1102
|
|
// (get) Token: 0x06001539 RID: 5433 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x1700044E")]
|
|
private ListDictionary List
|
|
{
|
|
[Token(Token = "0x6001539")]
|
|
[Address(RVA = "0x4A1BD0", Offset = "0x4A09D0", VA = "0x1804A1BD0")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600153A RID: 5434 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600153A")]
|
|
[Address(RVA = "0x4A0ED0", Offset = "0x49FCD0", VA = "0x1804A0ED0")]
|
|
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: 0x1700044F RID: 1103
|
|
// (get) Token: 0x0600153B RID: 5435 RVA: 0x00009738 File Offset: 0x00007938
|
|
[Token(Token = "0x1700044F")]
|
|
public int Count
|
|
{
|
|
[Token(Token = "0x600153B")]
|
|
[Address(RVA = "0x4A1920", Offset = "0x4A0720", VA = "0x1804A1920", 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: 0x17000450 RID: 1104
|
|
// (get) Token: 0x0600153C RID: 5436 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000450")]
|
|
public ICollection Keys
|
|
{
|
|
[Token(Token = "0x600153C")]
|
|
[Address(RVA = "0x4A1B30", Offset = "0x4A0930", VA = "0x1804A1B30", 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: 0x17000451 RID: 1105
|
|
// (get) Token: 0x0600153D RID: 5437 RVA: 0x00009750 File Offset: 0x00007950
|
|
[Token(Token = "0x17000451")]
|
|
public bool IsReadOnly
|
|
{
|
|
[Token(Token = "0x600153D")]
|
|
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", 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: 0x17000452 RID: 1106
|
|
// (get) Token: 0x0600153E RID: 5438 RVA: 0x00009768 File Offset: 0x00007968
|
|
[Token(Token = "0x17000452")]
|
|
public bool IsFixedSize
|
|
{
|
|
[Token(Token = "0x600153E")]
|
|
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", 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: 0x17000453 RID: 1107
|
|
// (get) Token: 0x0600153F RID: 5439 RVA: 0x00009780 File Offset: 0x00007980
|
|
[Token(Token = "0x17000453")]
|
|
public bool IsSynchronized
|
|
{
|
|
[Token(Token = "0x600153F")]
|
|
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", 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: 0x17000454 RID: 1108
|
|
// (get) Token: 0x06001540 RID: 5440 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000454")]
|
|
public object SyncRoot
|
|
{
|
|
[Token(Token = "0x6001540")]
|
|
[Address(RVA = "0x434BD0", Offset = "0x4339D0", VA = "0x180434BD0", 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: 0x17000455 RID: 1109
|
|
// (get) Token: 0x06001541 RID: 5441 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000455")]
|
|
public ICollection Values
|
|
{
|
|
[Token(Token = "0x6001541")]
|
|
[Address(RVA = "0x4A1C70", Offset = "0x4A0A70", VA = "0x1804A1C70", 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: 0x06001542 RID: 5442 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6001542")]
|
|
[Address(RVA = "0x4A0D90", Offset = "0x49FB90", VA = "0x1804A0D90", Slot = "9")]
|
|
public void Add(object key, object value)
|
|
{
|
|
}
|
|
|
|
/// <summary>Removes all entries from the <see cref="T:System.Collections.Specialized.HybridDictionary" />.</summary>
|
|
// Token: 0x06001543 RID: 5443 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6001543")]
|
|
[Address(RVA = "0x4A11A0", Offset = "0x49FFA0", VA = "0x1804A11A0", 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: 0x06001544 RID: 5444 RVA: 0x00009798 File Offset: 0x00007998
|
|
[Token(Token = "0x6001544")]
|
|
[Address(RVA = "0x4A11F0", Offset = "0x49FFF0", VA = "0x1804A11F0", 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: 0x06001545 RID: 5445 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6001545")]
|
|
[Address(RVA = "0x4A13A0", Offset = "0x4A01A0", VA = "0x1804A13A0", 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: 0x06001546 RID: 5446 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001546")]
|
|
[Address(RVA = "0x4A1570", Offset = "0x4A0370", VA = "0x1804A1570", 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: 0x06001547 RID: 5447 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001547")]
|
|
[Address(RVA = "0x4A1820", Offset = "0x4A0620", VA = "0x1804A1820", 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: 0x06001548 RID: 5448 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6001548")]
|
|
[Address(RVA = "0x4A1640", Offset = "0x4A0440", VA = "0x1804A1640", Slot = "14")]
|
|
public void Remove(object key)
|
|
{
|
|
}
|
|
|
|
// Token: 0x04000E0F RID: 3599
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4000E0F")]
|
|
private ListDictionary list;
|
|
|
|
// Token: 0x04000E10 RID: 3600
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4000E10")]
|
|
private Hashtable hashtable;
|
|
|
|
// Token: 0x04000E11 RID: 3601
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4000E11")]
|
|
private bool caseInsensitive;
|
|
}
|
|
}
|