Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

479 lines
20 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using Cpp2IlInjected;
namespace System.Runtime.CompilerServices
{
/// <summary>The builder for read only collection.</summary>
/// <typeparam name="T">The type of the collection element.</typeparam>
// Token: 0x02000261 RID: 609
[Token(Token = "0x2000261")]
[Serializable]
public sealed class ReadOnlyCollectionBuilder<T> : IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable, IList, ICollection
{
/// <summary>Constructs a ReadOnlyCollectionBuilder.</summary>
// Token: 0x06000C21 RID: 3105 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000C21")]
[Address(RVA = "0x2F00540", Offset = "0x2EFF540", VA = "0x182F00540")]
public ReadOnlyCollectionBuilder()
{
}
/// <summary>Constructs a ReadOnlyCollectionBuilder with a given initial capacity. The contents are empty but builder will have reserved room for the given number of elements before any reallocations are required.</summary>
/// <param name="capacity">Initial capacity.</param>
// Token: 0x06000C22 RID: 3106 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000C22")]
[Address(RVA = "0x2F00480", Offset = "0x2EFF480", VA = "0x182F00480")]
public ReadOnlyCollectionBuilder(int capacity)
{
}
/// <summary>Gets and sets the capacity of this ReadOnlyCollectionBuilder.</summary>
/// <returns>The capacity of this ReadOnlyCollectionBuilder.</returns>
// Token: 0x17000265 RID: 613
// (set) Token: 0x06000C23 RID: 3107 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x17000265")]
public int Capacity
{
[Token(Token = "0x6000C23")]
[Address(RVA = "0x2F00630", Offset = "0x2EFF630", VA = "0x182F00630")]
set
{
}
}
/// <summary>Returns number of elements in the ReadOnlyCollectionBuilder.</summary>
/// <returns>The number of elements in the ReadOnlyCollectionBuilder.</returns>
// Token: 0x17000266 RID: 614
// (get) Token: 0x06000C24 RID: 3108 RVA: 0x00006270 File Offset: 0x00004470
[Token(Token = "0x17000266")]
public int Count
{
[Token(Token = "0x6000C24")]
[Address(RVA = "0x411540", Offset = "0x410540", VA = "0x180411540", Slot = "30")]
get
{
return 0;
}
}
/// <summary>Returns the index of the first occurrence of a given value in the builder.</summary>
/// <param name="item">An item to search for.</param>
/// <returns>The index of the first occurrence of an item.</returns>
// Token: 0x06000C25 RID: 3109 RVA: 0x00006288 File Offset: 0x00004488
[Token(Token = "0x6000C25")]
[Address(RVA = "0x2EFF8E0", Offset = "0x2EFE8E0", VA = "0x182EFF8E0", Slot = "6")]
public int IndexOf(T item)
{
return 0;
}
/// <summary>Inserts an item to the <see cref="T:System.Runtime.CompilerServices.ReadOnlyCollectionBuilder`1" /> at the specified index.</summary>
/// <param name="index">The zero-based index at which item should be inserted.</param>
/// <param name="item">The object to insert into the <see cref="T:System.Runtime.CompilerServices.ReadOnlyCollectionBuilder`1" />.</param>
// Token: 0x06000C26 RID: 3110 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000C26")]
[Address(RVA = "0x2EFF910", Offset = "0x2EFE910", VA = "0x182EFF910", Slot = "7")]
public void Insert(int index, T item)
{
}
/// <summary>Removes the <see cref="T:System.Runtime.CompilerServices.ReadOnlyCollectionBuilder`1" /> item at the specified index.</summary>
/// <param name="index">The zero-based index of the item to remove.</param>
// Token: 0x06000C27 RID: 3111 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000C27")]
[Address(RVA = "0x2EFFA90", Offset = "0x2EFEA90", VA = "0x182EFFA90", Slot = "28")]
public void RemoveAt(int index)
{
}
/// <summary>Gets or sets the element at the specified index.</summary>
/// <param name="index">The zero-based index of the element to get or set.</param>
/// <returns>The element at the specified index.</returns>
// Token: 0x17000267 RID: 615
[Token(Token = "0x17000267")]
public T this[int index]
{
[Token(Token = "0x6000C28")]
[Address(RVA = "0x2F00590", Offset = "0x2EFF590", VA = "0x182F00590", Slot = "4")]
get
{
return null;
}
[Token(Token = "0x6000C29")]
[Address(RVA = "0x2F00740", Offset = "0x2EFF740", VA = "0x182F00740", Slot = "5")]
set
{
}
}
/// <summary>Adds an item to the <see cref="T:System.Runtime.CompilerServices.ReadOnlyCollectionBuilder`1" />.</summary>
/// <param name="item">The object to add to the <see cref="T:System.Runtime.CompilerServices.ReadOnlyCollectionBuilder`1" />.</param>
// Token: 0x06000C2A RID: 3114 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000C2A")]
[Address(RVA = "0x2EFF6F0", Offset = "0x2EFE6F0", VA = "0x182EFF6F0", Slot = "11")]
public void Add(T item)
{
}
/// <summary>Removes all items from the <see cref="T:System.Runtime.CompilerServices.ReadOnlyCollectionBuilder`1" />.</summary>
// Token: 0x06000C2B RID: 3115 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000C2B")]
[Address(RVA = "0x2A217A0", Offset = "0x2A207A0", VA = "0x182A217A0", Slot = "22")]
public void Clear()
{
}
/// <summary>Determines whether the <see cref="T:System.Runtime.CompilerServices.ReadOnlyCollectionBuilder`1" /> contains a specific value</summary>
/// <param name="item">the object to locate in the <see cref="T:System.Runtime.CompilerServices.ReadOnlyCollectionBuilder`1" />.</param>
/// <returns>true if item is found in the <see cref="T:System.Runtime.CompilerServices.ReadOnlyCollectionBuilder`1" />; otherwise, false.</returns>
// Token: 0x06000C2C RID: 3116 RVA: 0x000062A0 File Offset: 0x000044A0
[Token(Token = "0x6000C2C")]
[Address(RVA = "0x2EFF780", Offset = "0x2EFE780", VA = "0x182EFF780", Slot = "13")]
public bool Contains(T item)
{
return default(bool);
}
/// <summary>Copies the elements of the <see cref="T:System.Runtime.CompilerServices.ReadOnlyCollectionBuilder`1" /> to an <see cref="T:System.Array" />, starting at particular <see cref="T:System.Array" /> index.</summary>
/// <param name="array">The one-dimensional <see cref="T:System.Array" /> that is the destination of the elements copied from <see cref="T:System.Runtime.CompilerServices.ReadOnlyCollectionBuilder`1" />.</param>
/// <param name="arrayIndex">The zero-based index in array at which copying begins.</param>
// Token: 0x06000C2D RID: 3117 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000C2D")]
[Address(RVA = "0x2701170", Offset = "0x2700170", VA = "0x182701170", Slot = "14")]
public void CopyTo(T[] array, int arrayIndex)
{
}
// Token: 0x17000268 RID: 616
// (get) Token: 0x06000C2E RID: 3118 RVA: 0x000062B8 File Offset: 0x000044B8
[Token(Token = "0x17000268")]
bool ICollection<T>.IsReadOnly
{
[Token(Token = "0x6000C2E")]
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690", Slot = "10")]
get
{
return default(bool);
}
}
/// <summary>Removes the first occurrence of a specific object from the <see cref="T:System.Runtime.CompilerServices.ReadOnlyCollectionBuilder`1" />.</summary>
/// <param name="item">The object to remove from the <see cref="T:System.Runtime.CompilerServices.ReadOnlyCollectionBuilder`1" />.</param>
/// <returns>true if item was successfully removed from the <see cref="T:System.Runtime.CompilerServices.ReadOnlyCollectionBuilder`1" />; otherwise, false. This method also returns false if item is not found in the original <see cref="T:System.Runtime.CompilerServices.ReadOnlyCollectionBuilder`1" />.</returns>
// Token: 0x06000C2F RID: 3119 RVA: 0x000062D0 File Offset: 0x000044D0
[Token(Token = "0x6000C2F")]
[Address(RVA = "0x2EFFB60", Offset = "0x2EFEB60", VA = "0x182EFFB60", Slot = "15")]
public bool Remove(T item)
{
return default(bool);
}
/// <summary>Returns an enumerator that iterates through the collection.</summary>
/// <returns>A <see cref="T:System.Collections.Generic.IEnumerator`1" /> that can be used to iterate through the collection.</returns>
// Token: 0x06000C30 RID: 3120 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000C30")]
[Address(RVA = "0x2B42CB0", Offset = "0x2B41CB0", VA = "0x182B42CB0", Slot = "16")]
public IEnumerator<T> GetEnumerator()
{
return null;
}
/// <summary>Returns an enumerator that iterates through the collection.</summary>
/// <returns>An <see cref="T:System.Collections.IEnumerator" /> that can be used to iterate through the collection.</returns>
// Token: 0x06000C31 RID: 3121 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000C31")]
[Address(RVA = "0x2B42E70", Offset = "0x2B41E70", VA = "0x182B42E70", Slot = "17")]
IEnumerator IEnumerable.GetEnumerator()
{
return null;
}
/// <summary>Gets a value indicating whether the <see cref="T:System.Collections.IList" /> is read-only.</summary>
/// <returns>
/// <see langword="true" /> if the <see cref="T:System.Collections.IList" /> is read-only; otherwise, <see langword="false" />.</returns>
// Token: 0x17000269 RID: 617
// (get) Token: 0x06000C32 RID: 3122 RVA: 0x000062E8 File Offset: 0x000044E8
[Token(Token = "0x17000269")]
bool IList.IsReadOnly
{
[Token(Token = "0x6000C32")]
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690", Slot = "23")]
get
{
return default(bool);
}
}
/// <summary>Adds an item to the <see cref="T:System.Collections.IList" />.</summary>
/// <param name="value">The <see cref="T:System.Object" /> to add to the <see cref="T:System.Collections.IList" />.</param>
/// <returns>The position into which the new element was inserted.</returns>
// Token: 0x06000C33 RID: 3123 RVA: 0x00006300 File Offset: 0x00004500
[Token(Token = "0x6000C33")]
[Address(RVA = "0x2EFFCB0", Offset = "0x2EFECB0", VA = "0x182EFFCB0", Slot = "20")]
int IList.Add(object value)
{
return 0;
}
/// <summary>Determines whether the <see cref="T:System.Collections.IList" /> contains a specific value.</summary>
/// <param name="value">The <see cref="T:System.Object" /> to locate in the <see cref="T:System.Collections.IList" />.</param>
/// <returns>
/// <see langword="true" /> if <paramref name="item" /> is found in the <see cref="T:System.Collections.IList" />; otherwise, <see langword="false" />.</returns>
// Token: 0x06000C34 RID: 3124 RVA: 0x00006318 File Offset: 0x00004518
[Token(Token = "0x6000C34")]
[Address(RVA = "0x2EFFE30", Offset = "0x2EFEE30", VA = "0x182EFFE30", Slot = "21")]
bool IList.Contains(object value)
{
return default(bool);
}
/// <summary>Determines the index of a specific item in the <see cref="T:System.Collections.IList" />.</summary>
/// <param name="value">The object to locate in the <see cref="T:System.Collections.IList" />.</param>
/// <returns>The index of <paramref name="item" /> if found in the list; otherwise, 1.</returns>
// Token: 0x06000C35 RID: 3125 RVA: 0x00006330 File Offset: 0x00004530
[Token(Token = "0x6000C35")]
[Address(RVA = "0x2EFFF00", Offset = "0x2EFEF00", VA = "0x182EFFF00", Slot = "25")]
int IList.IndexOf(object value)
{
return 0;
}
/// <summary>Inserts an item to the <see cref="T:System.Collections.IList" /> at the specified index.</summary>
/// <param name="index">The zero-based index at which <paramref name="item" /> should be inserted.</param>
/// <param name="value">The object to insert into the <see cref="T:System.Collections.IList" />.</param>
// Token: 0x06000C36 RID: 3126 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000C36")]
[Address(RVA = "0x2EFFFD0", Offset = "0x2EFEFD0", VA = "0x182EFFFD0", Slot = "26")]
void IList.Insert(int index, object value)
{
}
/// <summary>Gets a value indicating whether the <see cref="T:System.Collections.IList" /> has a fixed size.</summary>
/// <returns>
/// <see langword="true" /> if the <see cref="T:System.Collections.IList" /> has a fixed size; otherwise, <see langword="false" />.</returns>
// Token: 0x1700026A RID: 618
// (get) Token: 0x06000C37 RID: 3127 RVA: 0x00006348 File Offset: 0x00004548
[Token(Token = "0x1700026A")]
bool IList.IsFixedSize
{
[Token(Token = "0x6000C37")]
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690", Slot = "24")]
get
{
return default(bool);
}
}
/// <summary>Removes the first occurrence of a specific object from the <see cref="T:System.Collections.IList" />.</summary>
/// <param name="value">The object to remove from the <see cref="T:System.Collections.IList" />.</param>
// Token: 0x06000C38 RID: 3128 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000C38")]
[Address(RVA = "0x2F00130", Offset = "0x2EFF130", VA = "0x182F00130", Slot = "27")]
void IList.Remove(object value)
{
}
/// <summary>Gets or sets the element at the specified index.</summary>
/// <param name="index">The zero-based index of the element to get or set.</param>
/// <returns>The element at the specified index.</returns>
// Token: 0x1700026B RID: 619
[Token(Token = "0x1700026B")]
object IList.this[int index]
{
[Token(Token = "0x6000C39")]
[Address(RVA = "0x2F001F0", Offset = "0x2EFF1F0", VA = "0x182F001F0", Slot = "18")]
get
{
return null;
}
[Token(Token = "0x6000C3A")]
[Address(RVA = "0x2F00220", Offset = "0x2EFF220", VA = "0x182F00220", Slot = "19")]
set
{
}
}
/// <summary>Copies the elements of the <see cref="T:System.Collections.Generic.ICollection`1" /> to an array, starting at the specified array index.</summary>
/// <param name="array">The one-dimensional array that is the destination of the elements copied from <see cref="T:System.Collections.Generic.ICollection`1" />. The array must have zero-based indexing.</param>
/// <param name="index">The zero-based index in <paramref name="array" /> at which copying begins.</param>
// Token: 0x06000C3B RID: 3131 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000C3B")]
[Address(RVA = "0x2EFFBD0", Offset = "0x2EFEBD0", VA = "0x182EFFBD0", Slot = "29")]
void ICollection.CopyTo(Array array, int index)
{
}
/// <summary>Gets a value indicating whether access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe).</summary>
/// <returns>
/// <see langword="true" /> if access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe); otherwise, <see langword="false" />.</returns>
// Token: 0x1700026C RID: 620
// (get) Token: 0x06000C3C RID: 3132 RVA: 0x00006360 File Offset: 0x00004560
[Token(Token = "0x1700026C")]
bool ICollection.IsSynchronized
{
[Token(Token = "0x6000C3C")]
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690", Slot = "32")]
get
{
return default(bool);
}
}
/// <summary>Gets an object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</summary>
/// <returns>An object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</returns>
// Token: 0x1700026D RID: 621
// (get) Token: 0x06000C3D RID: 3133 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700026D")]
object ICollection.SyncRoot
{
[Token(Token = "0x6000C3D")]
[Address(RVA = "0x4A65C0", Offset = "0x4A55C0", VA = "0x1804A65C0", Slot = "31")]
get
{
return null;
}
}
/// <summary>Copies the elements of the <see cref="T:System.Runtime.CompilerServices.ReadOnlyCollectionBuilder`1" /> to a new array.</summary>
/// <returns>An array containing copies of the elements of the <see cref="T:System.Runtime.CompilerServices.ReadOnlyCollectionBuilder`1" />.</returns>
// Token: 0x06000C3E RID: 3134 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000C3E")]
[Address(RVA = "0x2A28E60", Offset = "0x2A27E60", VA = "0x182A28E60")]
public T[] ToArray()
{
return null;
}
/// <summary>Creates a <see cref="T:System.Collections.ObjectModel.ReadOnlyCollection`1" /> containing all of the elements of the <see cref="T:System.Runtime.CompilerServices.ReadOnlyCollectionBuilder`1" />, avoiding copying the elements to the new array if possible. Resets the <see cref="T:System.Runtime.CompilerServices.ReadOnlyCollectionBuilder`1" /> after the <see cref="T:System.Collections.ObjectModel.ReadOnlyCollection`1" /> has been created.</summary>
/// <returns>A new instance of <see cref="T:System.Collections.ObjectModel.ReadOnlyCollection`1" />.</returns>
// Token: 0x06000C3F RID: 3135 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000C3F")]
[Address(RVA = "0x2F00380", Offset = "0x2EFF380", VA = "0x182F00380")]
public ReadOnlyCollection<T> ToReadOnlyCollection()
{
return null;
}
// Token: 0x06000C40 RID: 3136 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000C40")]
[Address(RVA = "0x2EFF870", Offset = "0x2EFE870", VA = "0x182EFF870")]
private void EnsureCapacity(int min)
{
}
// Token: 0x06000C41 RID: 3137 RVA: 0x00006378 File Offset: 0x00004578
[Token(Token = "0x6000C41")]
[Address(RVA = "0x2EFFA20", Offset = "0x2EFEA20", VA = "0x182EFFA20")]
private static bool IsCompatibleObject(object value)
{
return default(bool);
}
// Token: 0x06000C42 RID: 3138 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000C42")]
[Address(RVA = "0x2F00450", Offset = "0x2EFF450", VA = "0x182F00450")]
private static void ValidateNullValue(object value, string argument)
{
}
// Token: 0x0400049D RID: 1181
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x400049D")]
private T[] _items;
// Token: 0x0400049E RID: 1182
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x400049E")]
private int _size;
// Token: 0x0400049F RID: 1183
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x400049F")]
private int _version;
// Token: 0x02000262 RID: 610
[Token(Token = "0x2000262")]
[Serializable]
private class Enumerator : IEnumerator<T>, IDisposable, IEnumerator
{
// Token: 0x06000C43 RID: 3139 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000C43")]
[Address(RVA = "0x2EFDA00", Offset = "0x2EFCA00", VA = "0x182EFDA00")]
internal Enumerator(ReadOnlyCollectionBuilder<T> builder)
{
}
// Token: 0x1700026E RID: 622
// (get) Token: 0x06000C44 RID: 3140 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700026E")]
public T Current
{
[Token(Token = "0x6000C44")]
[Address(RVA = "0x4157C0", Offset = "0x4147C0", VA = "0x1804157C0", Slot = "4")]
get
{
return null;
}
}
// Token: 0x06000C45 RID: 3141 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000C45")]
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", Slot = "5")]
public void Dispose()
{
}
// Token: 0x1700026F RID: 623
// (get) Token: 0x06000C46 RID: 3142 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700026F")]
object IEnumerator.Current
{
[Token(Token = "0x6000C46")]
[Address(RVA = "0x2EFD9A0", Offset = "0x2EFC9A0", VA = "0x182EFD9A0", Slot = "7")]
get
{
return null;
}
}
// Token: 0x06000C47 RID: 3143 RVA: 0x00006390 File Offset: 0x00004590
[Token(Token = "0x6000C47")]
[Address(RVA = "0x2EFD870", Offset = "0x2EFC870", VA = "0x182EFD870", Slot = "6")]
public bool MoveNext()
{
return default(bool);
}
// Token: 0x06000C48 RID: 3144 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000C48")]
[Address(RVA = "0x2EFD930", Offset = "0x2EFC930", VA = "0x182EFD930", Slot = "8")]
void IEnumerator.Reset()
{
}
// Token: 0x040004A0 RID: 1184
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x40004A0")]
private readonly ReadOnlyCollectionBuilder<T> _builder;
// Token: 0x040004A1 RID: 1185
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x40004A1")]
private readonly int _version;
// Token: 0x040004A2 RID: 1186
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x40004A2")]
private int _index;
// Token: 0x040004A3 RID: 1187
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x40004A3")]
private T _current;
}
}
}