using System;
using System.Runtime.Serialization;
using Cpp2IlInjected;
namespace System.Collections.Specialized
{
/// Provides the base class for a collection of associated keys and values that can be accessed either with the key or with the index.
// Token: 0x02000335 RID: 821
[Token(Token = "0x2000335")]
[Serializable]
public abstract class NameObjectCollectionBase : ICollection, IEnumerable, ISerializable, IDeserializationCallback
{
/// Initializes a new instance of the class that is empty.
// Token: 0x06001557 RID: 5463 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001557")]
[Address(RVA = "0xBA10B0", Offset = "0xBA00B0", VA = "0x180BA10B0")]
protected NameObjectCollectionBase()
{
}
/// Initializes a new instance of the class that is empty, has the default initial capacity, and uses the specified object.
/// The object to use to determine whether two keys are equal and to generate hash codes for the keys in the collection.
// Token: 0x06001558 RID: 5464 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001558")]
[Address(RVA = "0xBA0FA0", Offset = "0xB9FFA0", VA = "0x180BA0FA0")]
protected NameObjectCollectionBase(IEqualityComparer equalityComparer)
{
}
/// Initializes a new instance of the class that is empty, has the specified initial capacity, and uses the specified object.
/// The approximate number of entries that the object can initially contain.
/// The object to use to determine whether two keys are equal and to generate hash codes for the keys in the collection.
///
/// is less than zero.
// Token: 0x06001559 RID: 5465 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001559")]
[Address(RVA = "0xBA0F60", Offset = "0xB9FF60", VA = "0x180BA0F60")]
protected NameObjectCollectionBase(int capacity, IEqualityComparer equalityComparer)
{
}
// Token: 0x0600155A RID: 5466 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600155A")]
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
internal NameObjectCollectionBase(DBNull dummy)
{
}
/// Initializes a new instance of the class that is serializable and uses the specified and .
/// A object that contains the information required to serialize the new instance.
/// A object that contains the source and destination of the serialized stream associated with the new instance.
// Token: 0x0600155B RID: 5467 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600155B")]
[Address(RVA = "0xBA0F30", Offset = "0xB9FF30", VA = "0x180BA0F30")]
protected NameObjectCollectionBase(SerializationInfo info, StreamingContext context)
{
}
/// Implements the interface and returns the data needed to serialize the instance.
/// A object that contains the information required to serialize the instance.
/// A object that contains the source and destination of the serialized stream associated with the instance.
///
/// is .
// Token: 0x0600155C RID: 5468 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600155C")]
[Address(RVA = "0xB9FDE0", Offset = "0xB9EDE0", VA = "0x180B9FDE0", Slot = "11")]
public virtual void GetObjectData(SerializationInfo info, StreamingContext context)
{
}
/// Implements the interface and raises the deserialization event when the deserialization is complete.
/// The source of the deserialization event.
/// The object associated with the current instance is invalid.
// Token: 0x0600155D RID: 5469 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600155D")]
[Address(RVA = "0xBA0420", Offset = "0xB9F420", VA = "0x180BA0420", Slot = "12")]
public virtual void OnDeserialization(object sender)
{
}
// Token: 0x0600155E RID: 5470 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600155E")]
[Address(RVA = "0xBA09D0", Offset = "0xB9F9D0", VA = "0x180BA09D0")]
private void Reset()
{
}
// Token: 0x0600155F RID: 5471 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600155F")]
[Address(RVA = "0xBA0A70", Offset = "0xB9FA70", VA = "0x180BA0A70")]
private void Reset(int capacity)
{
}
// Token: 0x06001560 RID: 5472 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001560")]
[Address(RVA = "0xB9FCA0", Offset = "0xB9ECA0", VA = "0x180B9FCA0")]
private NameObjectCollectionBase.NameObjectEntry FindEntry(string key)
{
return null;
}
/// Gets or sets a value indicating whether the instance is read-only.
///
/// if the instance is read-only; otherwise, .
// Token: 0x17000462 RID: 1122
// (get) Token: 0x06001561 RID: 5473 RVA: 0x00009888 File Offset: 0x00007A88
[Token(Token = "0x17000462")]
protected bool IsReadOnly
{
[Token(Token = "0x6001561")]
[Address(RVA = "0x4944B0", Offset = "0x4934B0", VA = "0x1804944B0")]
get
{
return default(bool);
}
}
/// Adds an entry with the specified key and value into the instance.
/// The key of the entry to add. The key can be .
/// The value of the entry to add. The value can be .
/// The collection is read-only.
// Token: 0x06001562 RID: 5474 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001562")]
[Address(RVA = "0xB9F540", Offset = "0xB9E540", VA = "0x180B9F540")]
protected void BaseAdd(string name, object value)
{
}
/// Removes the entries with the specified key from the instance.
/// The key of the entries to remove. The key can be .
/// The collection is read-only.
// Token: 0x06001563 RID: 5475 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001563")]
[Address(RVA = "0xB9F9A0", Offset = "0xB9E9A0", VA = "0x180B9F9A0")]
protected void BaseRemove(string name)
{
}
/// Gets the value of the first entry with the specified key from the instance.
/// The key of the entry to get. The key can be .
/// An that represents the value of the first entry with the specified key, if found; otherwise, .
// Token: 0x06001564 RID: 5476 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001564")]
[Address(RVA = "0xB9F890", Offset = "0xB9E890", VA = "0x180B9F890")]
protected object BaseGet(string name)
{
return null;
}
/// Sets the value of the first entry with the specified key in the instance, if found; otherwise, adds an entry with the specified key and value into the instance.
/// The key of the entry to set. The key can be .
/// The that represents the new value of the entry to set. The value can be .
/// The collection is read-only.
// Token: 0x06001565 RID: 5477 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001565")]
[Address(RVA = "0xB9FBD0", Offset = "0xB9EBD0", VA = "0x180B9FBD0")]
protected void BaseSet(string name, object value)
{
}
/// Gets the value of the entry at the specified index of the instance.
/// The zero-based index of the value to get.
/// An that represents the value of the entry at the specified index.
///
/// is outside the valid range of indexes for the collection.
// Token: 0x06001566 RID: 5478 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001566")]
[Address(RVA = "0xB9F8B0", Offset = "0xB9E8B0", VA = "0x180B9F8B0")]
protected object BaseGet(int index)
{
return null;
}
/// Gets the key of the entry at the specified index of the instance.
/// The zero-based index of the key to get.
/// A that represents the key of the entry at the specified index.
///
/// is outside the valid range of indexes for the collection.
// Token: 0x06001567 RID: 5479 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001567")]
[Address(RVA = "0xB9F7A0", Offset = "0xB9E7A0", VA = "0x180B9F7A0")]
protected string BaseGetKey(int index)
{
return null;
}
/// Returns an enumerator that iterates through the .
/// An for the instance.
// Token: 0x06001568 RID: 5480 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001568")]
[Address(RVA = "0xB9FD70", Offset = "0xB9ED70", VA = "0x180B9FD70", Slot = "13")]
public virtual IEnumerator GetEnumerator()
{
return null;
}
/// Gets the number of key/value pairs contained in the instance.
/// The number of key/value pairs contained in the instance.
// Token: 0x17000463 RID: 1123
// (get) Token: 0x06001569 RID: 5481 RVA: 0x000098A0 File Offset: 0x00007AA0
[Token(Token = "0x17000463")]
public virtual int Count
{
[Token(Token = "0x6001569")]
[Address(RVA = "0x8E1280", Offset = "0x8E0280", VA = "0x1808E1280", Slot = "14")]
get
{
return 0;
}
}
/// Copies the entire to a compatible one-dimensional , starting at the specified index of the target array.
/// The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing.
/// The zero-based index in at which copying begins.
///
/// is .
///
/// is less than zero.
///
/// is multidimensional.
/// -or-
/// The number of elements in the source is greater than the available space from to the end of the destination .
/// The type of the source cannot be cast automatically to the type of the destination .
// Token: 0x0600156A RID: 5482 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600156A")]
[Address(RVA = "0xBA0B20", Offset = "0xB9FB20", VA = "0x180BA0B20", Slot = "4")]
void ICollection.CopyTo(Array array, int index)
{
}
/// Gets an object that can be used to synchronize access to the object.
/// An object that can be used to synchronize access to the object.
// Token: 0x17000464 RID: 1124
// (get) Token: 0x0600156B RID: 5483 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000464")]
object ICollection.SyncRoot
{
[Token(Token = "0x600156B")]
[Address(RVA = "0xBA0E10", Offset = "0xB9FE10", VA = "0x180BA0E10", Slot = "6")]
get
{
return null;
}
}
/// Gets a value indicating whether access to the object is synchronized (thread safe).
///
/// if access to the object is synchronized (thread safe); otherwise, . The default is .
// Token: 0x17000465 RID: 1125
// (get) Token: 0x0600156C RID: 5484 RVA: 0x000098B8 File Offset: 0x00007AB8
[Token(Token = "0x17000465")]
bool ICollection.IsSynchronized
{
[Token(Token = "0x600156C")]
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690", Slot = "7")]
get
{
return default(bool);
}
}
/// Returns a array that contains all the keys in the instance.
/// A array that contains all the keys in the instance.
// Token: 0x0600156D RID: 5485 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600156D")]
[Address(RVA = "0xB9F6A0", Offset = "0xB9E6A0", VA = "0x180B9F6A0")]
protected string[] BaseGetAllKeys()
{
return null;
}
// Token: 0x04000E18 RID: 3608
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000E18")]
private bool _readOnly;
// Token: 0x04000E19 RID: 3609
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000E19")]
private ArrayList _entriesArray;
// Token: 0x04000E1A RID: 3610
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000E1A")]
private IEqualityComparer _keyComparer;
// Token: 0x04000E1B RID: 3611
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x4000E1B")]
private Hashtable _entriesTable;
// Token: 0x04000E1C RID: 3612
[FieldOffset(Offset = "0x30")]
[Token(Token = "0x4000E1C")]
private NameObjectCollectionBase.NameObjectEntry _nullKeyEntry;
// Token: 0x04000E1D RID: 3613
[FieldOffset(Offset = "0x38")]
[Token(Token = "0x4000E1D")]
private SerializationInfo _serializationInfo;
// Token: 0x04000E1E RID: 3614
[FieldOffset(Offset = "0x40")]
[Token(Token = "0x4000E1E")]
private int _version;
// Token: 0x04000E1F RID: 3615
[FieldOffset(Offset = "0x48")]
[Token(Token = "0x4000E1F")]
[NonSerialized]
private object _syncRoot;
// Token: 0x04000E20 RID: 3616
[Token(Token = "0x4000E20")]
private static StringComparer defaultComparer;
// Token: 0x02000336 RID: 822
[Token(Token = "0x2000336")]
internal class NameObjectEntry
{
// Token: 0x0600156F RID: 5487 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600156F")]
[Address(RVA = "0x417DD0", Offset = "0x416DD0", VA = "0x180417DD0")]
internal NameObjectEntry(string name, object value)
{
}
// Token: 0x04000E21 RID: 3617
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000E21")]
internal string Key;
// Token: 0x04000E22 RID: 3618
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000E22")]
internal object Value;
}
// Token: 0x02000337 RID: 823
[Token(Token = "0x2000337")]
[Serializable]
internal class NameObjectKeysEnumerator : IEnumerator
{
// Token: 0x06001570 RID: 5488 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001570")]
[Address(RVA = "0xBA1290", Offset = "0xBA0290", VA = "0x180BA1290")]
internal NameObjectKeysEnumerator(NameObjectCollectionBase coll)
{
}
// Token: 0x06001571 RID: 5489 RVA: 0x000098D0 File Offset: 0x00007AD0
[Token(Token = "0x6001571")]
[Address(RVA = "0xBA1120", Offset = "0xBA0120", VA = "0x180BA1120", Slot = "4")]
public bool MoveNext()
{
return default(bool);
}
// Token: 0x06001572 RID: 5490 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001572")]
[Address(RVA = "0xBA1200", Offset = "0xBA0200", VA = "0x180BA1200", Slot = "6")]
public void Reset()
{
}
// Token: 0x17000466 RID: 1126
// (get) Token: 0x06001573 RID: 5491 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000466")]
public object Current
{
[Token(Token = "0x6001573")]
[Address(RVA = "0xBA12D0", Offset = "0xBA02D0", VA = "0x180BA12D0", Slot = "5")]
get
{
return null;
}
}
// Token: 0x04000E23 RID: 3619
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000E23")]
private int _pos;
// Token: 0x04000E24 RID: 3620
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000E24")]
private NameObjectCollectionBase _coll;
// Token: 0x04000E25 RID: 3621
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000E25")]
private int _version;
}
}
}