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: 0x020005E7 RID: 1511
|
|
[Token(Token = "0x20005E7")]
|
|
[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: 0x06002E18 RID: 11800 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002E18")]
|
|
[Address(RVA = "0x69BC60", Offset = "0x69AA60", VA = "0x18069BC60")]
|
|
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: 0x17000729 RID: 1833
|
|
// (get) Token: 0x06002E19 RID: 11801 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x17000729")]
|
|
public TKey Key
|
|
{
|
|
[Token(Token = "0x6002E19")]
|
|
[Address(RVA = "0x41D090", Offset = "0x41BE90", VA = "0x18041D090")]
|
|
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: 0x1700072A RID: 1834
|
|
// (get) Token: 0x06002E1A RID: 11802 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x1700072A")]
|
|
public TValue Value
|
|
{
|
|
[Token(Token = "0x6002E1A")]
|
|
[Address(RVA = "0x57C630", Offset = "0x57B430", VA = "0x18057C630")]
|
|
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: 0x06002E1B RID: 11803 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6002E1B")]
|
|
[Address(RVA = "0x1D61680", Offset = "0x1D60480", VA = "0x181D61680", Slot = "3")]
|
|
public override string ToString()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x04001A20 RID: 6688
|
|
[FieldOffset(Offset = "0x0")]
|
|
[Token(Token = "0x4001A20")]
|
|
private TKey key;
|
|
|
|
// Token: 0x04001A21 RID: 6689
|
|
[FieldOffset(Offset = "0x0")]
|
|
[Token(Token = "0x4001A21")]
|
|
private TValue value;
|
|
}
|
|
}
|