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

135 lines
6.4 KiB
C#

using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Collections
{
/// <summary>Represents a nongeneric collection of key/value pairs.</summary>
// Token: 0x020005D6 RID: 1494
[Token(Token = "0x20005D6")]
[ComVisible(true)]
public interface IDictionary : ICollection, IEnumerable
{
/// <summary>Gets or sets the element with the specified key.</summary>
/// <param name="key">The key of the element to get or set.</param>
/// <returns>The element with the specified key, or <see langword="null" /> if the key does not exist.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="key" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.NotSupportedException">The property is set and the <see cref="T:System.Collections.IDictionary" /> object is read-only.
/// -or-
/// The property is set, <paramref name="key" /> does not exist in the collection, and the <see cref="T:System.Collections.IDictionary" /> has a fixed size.</exception>
// Token: 0x17000723 RID: 1827
[Token(Token = "0x17000723")]
object this[object key]
{
[Token(Token = "0x6002E7E")]
[Address(Slot = "0")]
get;
[Token(Token = "0x6002E7F")]
[Address(Slot = "1")]
set;
}
/// <summary>Gets an <see cref="T:System.Collections.ICollection" /> object containing the keys of the <see cref="T:System.Collections.IDictionary" /> object.</summary>
/// <returns>An <see cref="T:System.Collections.ICollection" /> object containing the keys of the <see cref="T:System.Collections.IDictionary" /> object.</returns>
// Token: 0x17000724 RID: 1828
// (get) Token: 0x06002E80 RID: 11904
[Token(Token = "0x17000724")]
ICollection Keys
{
[Token(Token = "0x6002E80")]
[Address(Slot = "2")]
get;
}
/// <summary>Gets an <see cref="T:System.Collections.ICollection" /> object containing the values in the <see cref="T:System.Collections.IDictionary" /> object.</summary>
/// <returns>An <see cref="T:System.Collections.ICollection" /> object containing the values in the <see cref="T:System.Collections.IDictionary" /> object.</returns>
// Token: 0x17000725 RID: 1829
// (get) Token: 0x06002E81 RID: 11905
[Token(Token = "0x17000725")]
ICollection Values
{
[Token(Token = "0x6002E81")]
[Address(Slot = "3")]
get;
}
/// <summary>Determines whether the <see cref="T:System.Collections.IDictionary" /> object contains an element with the specified key.</summary>
/// <param name="key">The key to locate in the <see cref="T:System.Collections.IDictionary" /> object.</param>
/// <returns>
/// <see langword="true" /> if the <see cref="T:System.Collections.IDictionary" /> contains an element with the key; otherwise, <see langword="false" />.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="key" /> is <see langword="null" />.</exception>
// Token: 0x06002E82 RID: 11906
[Token(Token = "0x6002E82")]
[Address(Slot = "4")]
bool Contains(object key);
/// <summary>Adds an element with the provided key and value to the <see cref="T:System.Collections.IDictionary" /> object.</summary>
/// <param name="key">The <see cref="T:System.Object" /> to use as the key of the element to add.</param>
/// <param name="value">The <see cref="T:System.Object" /> to use as the value of the element to add.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="key" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentException">An element with the same key already exists in the <see cref="T:System.Collections.IDictionary" /> object.</exception>
/// <exception cref="T:System.NotSupportedException">The <see cref="T:System.Collections.IDictionary" /> is read-only.
/// -or-
/// The <see cref="T:System.Collections.IDictionary" /> has a fixed size.</exception>
// Token: 0x06002E83 RID: 11907
[Token(Token = "0x6002E83")]
[Address(Slot = "5")]
void Add(object key, object value);
/// <summary>Removes all elements from the <see cref="T:System.Collections.IDictionary" /> object.</summary>
/// <exception cref="T:System.NotSupportedException">The <see cref="T:System.Collections.IDictionary" /> object is read-only.</exception>
// Token: 0x06002E84 RID: 11908
[Token(Token = "0x6002E84")]
[Address(Slot = "6")]
void Clear();
/// <summary>Gets a value indicating whether the <see cref="T:System.Collections.IDictionary" /> object is read-only.</summary>
/// <returns>
/// <see langword="true" /> if the <see cref="T:System.Collections.IDictionary" /> object is read-only; otherwise, <see langword="false" />.</returns>
// Token: 0x17000726 RID: 1830
// (get) Token: 0x06002E85 RID: 11909
[Token(Token = "0x17000726")]
bool IsReadOnly
{
[Token(Token = "0x6002E85")]
[Address(Slot = "7")]
get;
}
/// <summary>Gets a value indicating whether the <see cref="T:System.Collections.IDictionary" /> object has a fixed size.</summary>
/// <returns>
/// <see langword="true" /> if the <see cref="T:System.Collections.IDictionary" /> object has a fixed size; otherwise, <see langword="false" />.</returns>
// Token: 0x17000727 RID: 1831
// (get) Token: 0x06002E86 RID: 11910
[Token(Token = "0x17000727")]
bool IsFixedSize
{
[Token(Token = "0x6002E86")]
[Address(Slot = "8")]
get;
}
/// <summary>Returns an <see cref="T:System.Collections.IDictionaryEnumerator" /> object for the <see cref="T:System.Collections.IDictionary" /> object.</summary>
/// <returns>An <see cref="T:System.Collections.IDictionaryEnumerator" /> object for the <see cref="T:System.Collections.IDictionary" /> object.</returns>
// Token: 0x06002E87 RID: 11911
[Token(Token = "0x6002E87")]
[Address(Slot = "9")]
IDictionaryEnumerator GetEnumerator();
/// <summary>Removes the element with the specified key from the <see cref="T:System.Collections.IDictionary" /> object.</summary>
/// <param name="key">The key of the element to remove.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="key" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.NotSupportedException">The <see cref="T:System.Collections.IDictionary" /> object is read-only.
/// -or-
/// The <see cref="T:System.Collections.IDictionary" /> has a fixed size.</exception>
// Token: 0x06002E88 RID: 11912
[Token(Token = "0x6002E88")]
[Address(Slot = "10")]
void Remove(object key);
}
}