75 lines
2.8 KiB
C#
75 lines
2.8 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Collections.Generic
|
|
{
|
|
/// <summary>Defines a key/value pair that can be set or retrieved.</summary>
|
|
/// <typeparam name="TKey">The type of the key.</typeparam>
|
|
/// <typeparam name="TValue">The type of the value.</typeparam>
|
|
// Token: 0x02000607 RID: 1543
|
|
[Token(Token = "0x2000607")]
|
|
[Serializable]
|
|
public struct KeyValuePair<TKey, TValue>
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Collections.Generic.KeyValuePair`2" /> structure with the specified key and value.</summary>
|
|
/// <param name="key">The object defined in each key/value pair.</param>
|
|
/// <param name="value">The definition associated with <paramref name="key" />.</param>
|
|
// Token: 0x06003030 RID: 12336 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6003030")]
|
|
[Address(RVA = "0x11091E0", Offset = "0x11081E0", VA = "0x1811091E0")]
|
|
public KeyValuePair(TKey key, TValue value)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets the key in the key/value pair.</summary>
|
|
/// <returns>A <typeparamref name="TKey" /> that is the key of the <see cref="T:System.Collections.Generic.KeyValuePair`2" />.</returns>
|
|
// Token: 0x170007A1 RID: 1953
|
|
// (get) Token: 0x06003031 RID: 12337 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x170007A1")]
|
|
public TKey Key
|
|
{
|
|
[Token(Token = "0x6003031")]
|
|
[Address(RVA = "0x63E630", Offset = "0x63D630", VA = "0x18063E630")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the value in the key/value pair.</summary>
|
|
/// <returns>A <typeparamref name="TValue" /> that is the value of the <see cref="T:System.Collections.Generic.KeyValuePair`2" />.</returns>
|
|
// Token: 0x170007A2 RID: 1954
|
|
// (get) Token: 0x06003032 RID: 12338 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x170007A2")]
|
|
public TValue Value
|
|
{
|
|
[Token(Token = "0x6003032")]
|
|
[Address(RVA = "0x634760", Offset = "0x633760", VA = "0x180634760")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Returns a string representation of the <see cref="T:System.Collections.Generic.KeyValuePair`2" />, using the string representations of the key and value.</summary>
|
|
/// <returns>A string representation of the <see cref="T:System.Collections.Generic.KeyValuePair`2" />, which includes the string representations of the key and value.</returns>
|
|
// Token: 0x06003033 RID: 12339 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6003033")]
|
|
[Address(RVA = "0x2E66F10", Offset = "0x2E65F10", VA = "0x182E66F10", Slot = "3")]
|
|
public override string ToString()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x04001AE3 RID: 6883
|
|
[FieldOffset(Offset = "0x0")]
|
|
[Token(Token = "0x4001AE3")]
|
|
private TKey key;
|
|
|
|
// Token: 0x04001AE4 RID: 6884
|
|
[FieldOffset(Offset = "0x0")]
|
|
[Token(Token = "0x4001AE4")]
|
|
private TValue value;
|
|
}
|
|
}
|