Files
niko 8fc35183db a
2026-04-11 22:19:20 +02:00

218 lines
12 KiB
C#

using System;
using System.Runtime.Serialization;
using Cpp2IlInjected;
namespace System.Collections.Specialized
{
/// <summary>Represents a collection of associated <see cref="T:System.String" /> keys and <see cref="T:System.String" /> values that can be accessed either with the key or with the index.</summary>
// Token: 0x0200033D RID: 829
[Token(Token = "0x200033D")]
[Serializable]
public class NameValueCollection : NameObjectCollectionBase
{
/// <summary>Initializes a new instance of the <see cref="T:System.Collections.Specialized.NameValueCollection" /> class that is empty, has the default initial capacity and uses the default case-insensitive hash code provider and the default case-insensitive comparer.</summary>
// Token: 0x06001591 RID: 5521 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001591")]
[Address(RVA = "0x4A5140", Offset = "0x4A3F40", VA = "0x1804A5140")]
public NameValueCollection()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Collections.Specialized.NameValueCollection" /> class that is empty, has the specified initial capacity, and uses the specified <see cref="T:System.Collections.IEqualityComparer" /> object.</summary>
/// <param name="capacity">The initial number of entries that the <see cref="T:System.Collections.Specialized.NameValueCollection" /> object can contain.</param>
/// <param name="equalityComparer">The <see cref="T:System.Collections.IEqualityComparer" /> object to use to determine whether two keys are equal and to generate hash codes for the keys in the collection.</param>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="capacity" /> is less than zero.</exception>
// Token: 0x06001592 RID: 5522 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001592")]
[Address(RVA = "0x4A50C0", Offset = "0x4A3EC0", VA = "0x1804A50C0")]
public NameValueCollection(int capacity, IEqualityComparer equalityComparer)
{
}
// Token: 0x06001593 RID: 5523 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001593")]
[Address(RVA = "0x4A51F0", Offset = "0x4A3FF0", VA = "0x1804A51F0")]
internal NameValueCollection(DBNull dummy)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Collections.Specialized.NameValueCollection" /> class that is serializable and uses the specified <see cref="T:System.Runtime.Serialization.SerializationInfo" /> and <see cref="T:System.Runtime.Serialization.StreamingContext" />.</summary>
/// <param name="info">A <see cref="T:System.Runtime.Serialization.SerializationInfo" /> object that contains the information required to serialize the new <see cref="T:System.Collections.Specialized.NameValueCollection" /> instance.</param>
/// <param name="context">A <see cref="T:System.Runtime.Serialization.StreamingContext" /> object that contains the source and destination of the serialized stream associated with the new <see cref="T:System.Collections.Specialized.NameValueCollection" /> instance.</param>
// Token: 0x06001594 RID: 5524 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001594")]
[Address(RVA = "0x4A5050", Offset = "0x4A3E50", VA = "0x1804A5050")]
protected NameValueCollection(SerializationInfo info, StreamingContext context)
{
}
/// <summary>Resets the cached arrays of the collection to <see langword="null" />.</summary>
// Token: 0x06001595 RID: 5525 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001595")]
[Address(RVA = "0x4A4EA0", Offset = "0x4A3CA0", VA = "0x1804A4EA0")]
protected void InvalidateCachedArrays()
{
}
// Token: 0x06001596 RID: 5526 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001596")]
[Address(RVA = "0x4A48C0", Offset = "0x4A36C0", VA = "0x1804A48C0")]
private static string GetAsOneString(ArrayList list)
{
return null;
}
// Token: 0x06001597 RID: 5527 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001597")]
[Address(RVA = "0x4A4AA0", Offset = "0x4A38A0", VA = "0x1804A4AA0")]
private static string[] GetAsStringArray(ArrayList list)
{
return null;
}
/// <summary>Adds an entry with the specified name and value to the <see cref="T:System.Collections.Specialized.NameValueCollection" />.</summary>
/// <param name="name">The <see cref="T:System.String" /> key of the entry to add. The key can be <see langword="null" />.</param>
/// <param name="value">The <see cref="T:System.String" /> value of the entry to add. The value can be <see langword="null" />.</param>
/// <exception cref="T:System.NotSupportedException">The collection is read-only.</exception>
// Token: 0x06001598 RID: 5528 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001598")]
[Address(RVA = "0x4A4740", Offset = "0x4A3540", VA = "0x1804A4740", Slot = "15")]
public virtual void Add(string name, string value)
{
}
/// <summary>Gets the values associated with the specified key from the <see cref="T:System.Collections.Specialized.NameValueCollection" /> combined into one comma-separated list.</summary>
/// <param name="name">The <see cref="T:System.String" /> key of the entry that contains the values to get. The key can be <see langword="null" />.</param>
/// <returns>A <see cref="T:System.String" /> that contains a comma-separated list of the values associated with the specified key from the <see cref="T:System.Collections.Specialized.NameValueCollection" />, if found; otherwise, <see langword="null" />.</returns>
// Token: 0x06001599 RID: 5529 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001599")]
[Address(RVA = "0x4A4C90", Offset = "0x4A3A90", VA = "0x1804A4C90", Slot = "16")]
public virtual string Get(string name)
{
return null;
}
/// <summary>Gets the values associated with the specified key from the <see cref="T:System.Collections.Specialized.NameValueCollection" />.</summary>
/// <param name="name">The <see cref="T:System.String" /> key of the entry that contains the values to get. The key can be <see langword="null" />.</param>
/// <returns>A <see cref="T:System.String" /> array that contains the values associated with the specified key from the <see cref="T:System.Collections.Specialized.NameValueCollection" />, if found; otherwise, <see langword="null" />.</returns>
// Token: 0x0600159A RID: 5530 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600159A")]
[Address(RVA = "0x4A4B60", Offset = "0x4A3960", VA = "0x1804A4B60", Slot = "17")]
public virtual string[] GetValues(string name)
{
return null;
}
/// <summary>Sets the value of an entry in the <see cref="T:System.Collections.Specialized.NameValueCollection" />.</summary>
/// <param name="name">The <see cref="T:System.String" /> key of the entry to add the new value to. The key can be <see langword="null" />.</param>
/// <param name="value">The <see cref="T:System.Object" /> that represents the new value to add to the specified entry. The value can be <see langword="null" />.</param>
/// <exception cref="T:System.NotSupportedException">The collection is read-only.</exception>
// Token: 0x0600159B RID: 5531 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600159B")]
[Address(RVA = "0x4A4ED0", Offset = "0x4A3CD0", VA = "0x1804A4ED0", Slot = "18")]
public virtual void Set(string name, string value)
{
}
/// <summary>Removes the entries with the specified key from the <see cref="T:System.Collections.Specialized.NameObjectCollectionBase" /> instance.</summary>
/// <param name="name">The <see cref="T:System.String" /> key of the entry to remove. The key can be <see langword="null" />.</param>
/// <exception cref="T:System.NotSupportedException">The collection is read-only.</exception>
// Token: 0x0600159C RID: 5532 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600159C")]
[Address(RVA = "0x4A4EB0", Offset = "0x4A3CB0", VA = "0x1804A4EB0", Slot = "19")]
public virtual void Remove(string name)
{
}
/// <summary>Gets or sets the entry with the specified key in the <see cref="T:System.Collections.Specialized.NameValueCollection" />.</summary>
/// <param name="name">The <see cref="T:System.String" /> key of the entry to locate. The key can be <see langword="null" />.</param>
/// <returns>A <see cref="T:System.String" /> that contains the comma-separated list of values associated with the specified key, if found; otherwise, <see langword="null" />.</returns>
/// <exception cref="T:System.NotSupportedException">The collection is read-only and the operation attempts to modify the collection.</exception>
// Token: 0x1700046F RID: 1135
[Token(Token = "0x1700046F")]
public string this[string name]
{
[Token(Token = "0x600159D")]
[Address(RVA = "0x4A5380", Offset = "0x4A4180", VA = "0x1804A5380")]
get
{
return null;
}
[Token(Token = "0x600159E")]
[Address(RVA = "0x4A53A0", Offset = "0x4A41A0", VA = "0x1804A53A0")]
set
{
}
}
/// <summary>Gets the values at the specified index of the <see cref="T:System.Collections.Specialized.NameValueCollection" /> combined into one comma-separated list.</summary>
/// <param name="index">The zero-based index of the entry that contains the values to get from the collection.</param>
/// <returns>A <see cref="T:System.String" /> that contains a comma-separated list of the values at the specified index of the <see cref="T:System.Collections.Specialized.NameValueCollection" />, if found; otherwise, <see langword="null" />.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="index" /> is outside the valid range of indexes for the collection.</exception>
// Token: 0x0600159F RID: 5535 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600159F")]
[Address(RVA = "0x4A4D40", Offset = "0x4A3B40", VA = "0x1804A4D40", Slot = "20")]
public virtual string Get(int index)
{
return null;
}
/// <summary>Gets the key at the specified index of the <see cref="T:System.Collections.Specialized.NameValueCollection" />.</summary>
/// <param name="index">The zero-based index of the key to get from the collection.</param>
/// <returns>A <see cref="T:System.String" /> that contains the key at the specified index of the <see cref="T:System.Collections.Specialized.NameValueCollection" />, if found; otherwise, <see langword="null" />.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="index" /> is outside the valid range of indexes for the collection.</exception>
// Token: 0x060015A0 RID: 5536 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60015A0")]
[Address(RVA = "0x4A4B50", Offset = "0x4A3950", VA = "0x1804A4B50", Slot = "21")]
public virtual string GetKey(int index)
{
return null;
}
/// <summary>Gets the entry at the specified index of the <see cref="T:System.Collections.Specialized.NameValueCollection" />.</summary>
/// <param name="index">The zero-based index of the entry to locate in the collection.</param>
/// <returns>A <see cref="T:System.String" /> that contains the comma-separated list of values at the specified index of the collection.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="index" /> is outside the valid range of indexes for the collection.</exception>
// Token: 0x17000470 RID: 1136
[Token(Token = "0x17000470")]
public string this[int index]
{
[Token(Token = "0x60015A1")]
[Address(RVA = "0x4A5360", Offset = "0x4A4160", VA = "0x1804A5360")]
get
{
return null;
}
}
/// <summary>Gets all the keys in the <see cref="T:System.Collections.Specialized.NameValueCollection" />.</summary>
/// <returns>A <see cref="T:System.String" /> array that contains all the keys of the <see cref="T:System.Collections.Specialized.NameValueCollection" />.</returns>
// Token: 0x17000471 RID: 1137
// (get) Token: 0x060015A2 RID: 5538 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000471")]
public virtual string[] AllKeys
{
[Token(Token = "0x60015A2")]
[Address(RVA = "0x4A5250", Offset = "0x4A4050", VA = "0x1804A5250", Slot = "22")]
get
{
return null;
}
}
// Token: 0x04000E37 RID: 3639
[FieldOffset(Offset = "0x50")]
[Token(Token = "0x4000E37")]
private string[] _all;
// Token: 0x04000E38 RID: 3640
[FieldOffset(Offset = "0x58")]
[Token(Token = "0x4000E38")]
private string[] _allKeys;
}
}