32 lines
702 B
C#
32 lines
702 B
C#
using System;
|
|
using System.Diagnostics;
|
|
|
|
namespace System.Collections
|
|
{
|
|
// Token: 0x02000126 RID: 294
|
|
internal sealed class CollectionDebuggerView
|
|
{
|
|
// Token: 0x06000F4F RID: 3919 RVA: 0x0004052C File Offset: 0x0003E72C
|
|
public CollectionDebuggerView(ICollection col)
|
|
{
|
|
this.c = col;
|
|
}
|
|
|
|
// Token: 0x17000263 RID: 611
|
|
// (get) Token: 0x06000F50 RID: 3920 RVA: 0x0004053C File Offset: 0x0003E73C
|
|
[DebuggerBrowsable(DebuggerBrowsableState.RootHidden)]
|
|
public object[] Items
|
|
{
|
|
get
|
|
{
|
|
object[] array = new object[Math.Min(this.c.Count, 1024)];
|
|
this.c.CopyTo(array, 0);
|
|
return array;
|
|
}
|
|
}
|
|
|
|
// Token: 0x040003B8 RID: 952
|
|
private readonly ICollection c;
|
|
}
|
|
}
|