Files
Dec2017-Script-Dump/mscorlib/System/Collections/Generic/CollectionDebuggerView.2.cs
T
2026-06-04 11:42:34 +02:00

32 lines
776 B
C#

using System;
using System.Diagnostics;
namespace System.Collections.Generic
{
// Token: 0x020000FA RID: 250
internal sealed class CollectionDebuggerView<T, U>
{
// Token: 0x06000C64 RID: 3172 RVA: 0x0003842C File Offset: 0x0003662C
public CollectionDebuggerView(ICollection<KeyValuePair<T, U>> col)
{
this.c = col;
}
// Token: 0x170001C6 RID: 454
// (get) Token: 0x06000C65 RID: 3173 RVA: 0x0003843C File Offset: 0x0003663C
[DebuggerBrowsable(DebuggerBrowsableState.RootHidden)]
public KeyValuePair<T, U>[] Items
{
get
{
KeyValuePair<T, U>[] array = new KeyValuePair<T, U>[this.c.Count];
this.c.CopyTo(array, 0);
return array;
}
}
// Token: 0x0400035E RID: 862
private readonly ICollection<KeyValuePair<T, U>> c;
}
}