oh dear
This commit is contained in:
@@ -0,0 +1,103 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Collections.Generic
|
||||
{
|
||||
/// <summary>Represents a generic collection of key/value pairs.</summary>
|
||||
/// <typeparam name="TKey">The type of keys in the dictionary.</typeparam>
|
||||
/// <typeparam name="TValue">The type of values in the dictionary.</typeparam>
|
||||
// Token: 0x0200060C RID: 1548
|
||||
[Token(Token = "0x200060C")]
|
||||
public interface IDictionary<TKey, TValue> : ICollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>, 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.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="key" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.Collections.Generic.KeyNotFoundException">The property is retrieved and <paramref name="key" /> is not found.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">The property is set and the <see cref="T:System.Collections.Generic.IDictionary`2" /> is read-only.</exception>
|
||||
// Token: 0x17000752 RID: 1874
|
||||
[Token(Token = "0x17000752")]
|
||||
TValue this[TKey key]
|
||||
{
|
||||
[Token(Token = "0x6002EFE")]
|
||||
[Address(Slot = "0")]
|
||||
get;
|
||||
[Token(Token = "0x6002EFF")]
|
||||
[Address(Slot = "1")]
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>Gets an <see cref="T:System.Collections.Generic.ICollection`1" /> containing the keys of the <see cref="T:System.Collections.Generic.IDictionary`2" />.</summary>
|
||||
/// <returns>An <see cref="T:System.Collections.Generic.ICollection`1" /> containing the keys of the object that implements <see cref="T:System.Collections.Generic.IDictionary`2" />.</returns>
|
||||
// Token: 0x17000753 RID: 1875
|
||||
// (get) Token: 0x06002F00 RID: 12032
|
||||
[Token(Token = "0x17000753")]
|
||||
ICollection<TKey> Keys
|
||||
{
|
||||
[Token(Token = "0x6002F00")]
|
||||
[Address(Slot = "2")]
|
||||
get;
|
||||
}
|
||||
|
||||
/// <summary>Gets an <see cref="T:System.Collections.Generic.ICollection`1" /> containing the values in the <see cref="T:System.Collections.Generic.IDictionary`2" />.</summary>
|
||||
/// <returns>An <see cref="T:System.Collections.Generic.ICollection`1" /> containing the values in the object that implements <see cref="T:System.Collections.Generic.IDictionary`2" />.</returns>
|
||||
// Token: 0x17000754 RID: 1876
|
||||
// (get) Token: 0x06002F01 RID: 12033
|
||||
[Token(Token = "0x17000754")]
|
||||
ICollection<TValue> Values
|
||||
{
|
||||
[Token(Token = "0x6002F01")]
|
||||
[Address(Slot = "3")]
|
||||
get;
|
||||
}
|
||||
|
||||
/// <summary>Determines whether the <see cref="T:System.Collections.Generic.IDictionary`2" /> contains an element with the specified key.</summary>
|
||||
/// <param name="key">The key to locate in the <see cref="T:System.Collections.Generic.IDictionary`2" />.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the <see cref="T:System.Collections.Generic.IDictionary`2" /> 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: 0x06002F02 RID: 12034
|
||||
[Token(Token = "0x6002F02")]
|
||||
[Address(Slot = "4")]
|
||||
bool ContainsKey(TKey key);
|
||||
|
||||
/// <summary>Adds an element with the provided key and value to the <see cref="T:System.Collections.Generic.IDictionary`2" />.</summary>
|
||||
/// <param name="key">The object to use as the key of the element to add.</param>
|
||||
/// <param name="value">The 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.Generic.IDictionary`2" />.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">The <see cref="T:System.Collections.Generic.IDictionary`2" /> is read-only.</exception>
|
||||
// Token: 0x06002F03 RID: 12035
|
||||
[Token(Token = "0x6002F03")]
|
||||
[Address(Slot = "5")]
|
||||
void Add(TKey key, TValue value);
|
||||
|
||||
/// <summary>Removes the element with the specified key from the <see cref="T:System.Collections.Generic.IDictionary`2" />.</summary>
|
||||
/// <param name="key">The key of the element to remove.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the element is successfully removed; otherwise, <see langword="false" />. This method also returns <see langword="false" /> if <paramref name="key" /> was not found in the original <see cref="T:System.Collections.Generic.IDictionary`2" />.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="key" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">The <see cref="T:System.Collections.Generic.IDictionary`2" /> is read-only.</exception>
|
||||
// Token: 0x06002F04 RID: 12036
|
||||
[Token(Token = "0x6002F04")]
|
||||
[Address(Slot = "6")]
|
||||
bool Remove(TKey key);
|
||||
|
||||
/// <summary>Gets the value associated with the specified key.</summary>
|
||||
/// <param name="key">The key whose value to get.</param>
|
||||
/// <param name="value">When this method returns, the value associated with the specified key, if the key is found; otherwise, the default value for the type of the <paramref name="value" /> parameter. This parameter is passed uninitialized.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the object that implements <see cref="T:System.Collections.Generic.IDictionary`2" /> contains an element with the specified key; otherwise, <see langword="false" />.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="key" /> is <see langword="null" />.</exception>
|
||||
// Token: 0x06002F05 RID: 12037
|
||||
[Token(Token = "0x6002F05")]
|
||||
[Address(Slot = "7")]
|
||||
bool TryGetValue(TKey key, out TValue value);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user