Files
niko 8fc35183db a
2026-04-11 22:19:20 +02:00

470 lines
19 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: 0x0200024F RID: 591
[Token(Token = "0x200024F")]
[Serializable]
public sealed class ReadOnlyCollectionBuilder<T> : IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable, IList, ICollection
{
/// <summary>Constructs a ReadOnlyCollectionBuilder.</summary>
// Token: 0x06000B56 RID: 2902 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000B56")]
[Address(RVA = "0x28EB280", Offset = "0x28EA080", VA = "0x1828EB280")]
public ReadOnlyCollectionBuilder()
{
}
/// <summary>Gets and sets the capacity of this ReadOnlyCollectionBuilder.</summary>
/// <returns>The capacity of this ReadOnlyCollectionBuilder.</returns>
// Token: 0x1700023C RID: 572
// (set) Token: 0x06000B57 RID: 2903 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x1700023C")]
public int Capacity
{
[Token(Token = "0x6000B57")]
[Address(RVA = "0x28EB370", Offset = "0x28EA170", VA = "0x1828EB370")]
set
{
}
}
/// <summary>Returns number of elements in the ReadOnlyCollectionBuilder.</summary>
/// <returns>The number of elements in the ReadOnlyCollectionBuilder.</returns>
// Token: 0x1700023D RID: 573
// (get) Token: 0x06000B58 RID: 2904 RVA: 0x00005F28 File Offset: 0x00004128
[Token(Token = "0x1700023D")]
public int Count
{
[Token(Token = "0x6000B58")]
[Address(RVA = "0x40B720", Offset = "0x40A520", VA = "0x18040B720", 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: 0x06000B59 RID: 2905 RVA: 0x00005F40 File Offset: 0x00004140
[Token(Token = "0x6000B59")]
[Address(RVA = "0x28EA6E0", Offset = "0x28E94E0", VA = "0x1828EA6E0", 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: 0x06000B5A RID: 2906 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000B5A")]
[Address(RVA = "0x28EA710", Offset = "0x28E9510", VA = "0x1828EA710", 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: 0x06000B5B RID: 2907 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000B5B")]
[Address(RVA = "0x28EA890", Offset = "0x28E9690", VA = "0x1828EA890", 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: 0x1700023E RID: 574
[Token(Token = "0x1700023E")]
public T this[int index]
{
[Token(Token = "0x6000B5C")]
[Address(RVA = "0x28EB2D0", Offset = "0x28EA0D0", VA = "0x1828EB2D0", Slot = "4")]
get
{
return null;
}
[Token(Token = "0x6000B5D")]
[Address(RVA = "0x28EB480", Offset = "0x28EA280", VA = "0x1828EB480", 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: 0x06000B5E RID: 2910 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000B5E")]
[Address(RVA = "0x28EA4F0", Offset = "0x28E92F0", VA = "0x1828EA4F0", Slot = "11")]
public void Add(T item)
{
}
/// <summary>Removes all items from the <see cref="T:System.Runtime.CompilerServices.ReadOnlyCollectionBuilder`1" />.</summary>
// Token: 0x06000B5F RID: 2911 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000B5F")]
[Address(RVA = "0x1C5BBC0", Offset = "0x1C5A9C0", VA = "0x181C5BBC0", 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: 0x06000B60 RID: 2912 RVA: 0x00005F58 File Offset: 0x00004158
[Token(Token = "0x6000B60")]
[Address(RVA = "0x28EA580", Offset = "0x28E9380", VA = "0x1828EA580", 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: 0x06000B61 RID: 2913 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000B61")]
[Address(RVA = "0x1C5BD80", Offset = "0x1C5AB80", VA = "0x181C5BD80", Slot = "14")]
public void CopyTo(T[] array, int arrayIndex)
{
}
// Token: 0x1700023F RID: 575
// (get) Token: 0x06000B62 RID: 2914 RVA: 0x00005F70 File Offset: 0x00004170
[Token(Token = "0x1700023F")]
bool ICollection<T>.IsReadOnly
{
[Token(Token = "0x6000B62")]
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", 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: 0x06000B63 RID: 2915 RVA: 0x00005F88 File Offset: 0x00004188
[Token(Token = "0x6000B63")]
[Address(RVA = "0x28EA960", Offset = "0x28E9760", VA = "0x1828EA960", 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: 0x06000B64 RID: 2916 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000B64")]
[Address(RVA = "0x21BE960", Offset = "0x21BD760", VA = "0x1821BE960", 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: 0x06000B65 RID: 2917 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000B65")]
[Address(RVA = "0x21BEB20", Offset = "0x21BD920", VA = "0x1821BEB20", 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: 0x17000240 RID: 576
// (get) Token: 0x06000B66 RID: 2918 RVA: 0x00005FA0 File Offset: 0x000041A0
[Token(Token = "0x17000240")]
bool IList.IsReadOnly
{
[Token(Token = "0x6000B66")]
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", 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: 0x06000B67 RID: 2919 RVA: 0x00005FB8 File Offset: 0x000041B8
[Token(Token = "0x6000B67")]
[Address(RVA = "0x28EAAB0", Offset = "0x28E98B0", VA = "0x1828EAAB0", 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: 0x06000B68 RID: 2920 RVA: 0x00005FD0 File Offset: 0x000041D0
[Token(Token = "0x6000B68")]
[Address(RVA = "0x28EAC30", Offset = "0x28E9A30", VA = "0x1828EAC30", 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: 0x06000B69 RID: 2921 RVA: 0x00005FE8 File Offset: 0x000041E8
[Token(Token = "0x6000B69")]
[Address(RVA = "0x28EAD00", Offset = "0x28E9B00", VA = "0x1828EAD00", 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: 0x06000B6A RID: 2922 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000B6A")]
[Address(RVA = "0x28EADD0", Offset = "0x28E9BD0", VA = "0x1828EADD0", 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: 0x17000241 RID: 577
// (get) Token: 0x06000B6B RID: 2923 RVA: 0x00006000 File Offset: 0x00004200
[Token(Token = "0x17000241")]
bool IList.IsFixedSize
{
[Token(Token = "0x6000B6B")]
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", 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: 0x06000B6C RID: 2924 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000B6C")]
[Address(RVA = "0x28EAF30", Offset = "0x28E9D30", VA = "0x1828EAF30", 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: 0x17000242 RID: 578
[Token(Token = "0x17000242")]
object IList.this[int index]
{
[Token(Token = "0x6000B6D")]
[Address(RVA = "0x28EAFF0", Offset = "0x28E9DF0", VA = "0x1828EAFF0", Slot = "18")]
get
{
return null;
}
[Token(Token = "0x6000B6E")]
[Address(RVA = "0x28EB020", Offset = "0x28E9E20", VA = "0x1828EB020", 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: 0x06000B6F RID: 2927 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000B6F")]
[Address(RVA = "0x28EA9D0", Offset = "0x28E97D0", VA = "0x1828EA9D0", 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: 0x17000243 RID: 579
// (get) Token: 0x06000B70 RID: 2928 RVA: 0x00006018 File Offset: 0x00004218
[Token(Token = "0x17000243")]
bool ICollection.IsSynchronized
{
[Token(Token = "0x6000B70")]
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", 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: 0x17000244 RID: 580
// (get) Token: 0x06000B71 RID: 2929 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000244")]
object ICollection.SyncRoot
{
[Token(Token = "0x6000B71")]
[Address(RVA = "0x434BD0", Offset = "0x4339D0", VA = "0x180434BD0", 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: 0x06000B72 RID: 2930 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000B72")]
[Address(RVA = "0x1C5DCB0", Offset = "0x1C5CAB0", VA = "0x181C5DCB0")]
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: 0x06000B73 RID: 2931 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000B73")]
[Address(RVA = "0x28EB180", Offset = "0x28E9F80", VA = "0x1828EB180")]
public ReadOnlyCollection<T> ToReadOnlyCollection()
{
return null;
}
// Token: 0x06000B74 RID: 2932 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000B74")]
[Address(RVA = "0x28EA670", Offset = "0x28E9470", VA = "0x1828EA670")]
private void EnsureCapacity(int min)
{
}
// Token: 0x06000B75 RID: 2933 RVA: 0x00006030 File Offset: 0x00004230
[Token(Token = "0x6000B75")]
[Address(RVA = "0x28EA820", Offset = "0x28E9620", VA = "0x1828EA820")]
private static bool IsCompatibleObject(object value)
{
return default(bool);
}
// Token: 0x06000B76 RID: 2934 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000B76")]
[Address(RVA = "0x28EB250", Offset = "0x28EA050", VA = "0x1828EB250")]
private static void ValidateNullValue(object value, string argument)
{
}
// Token: 0x0400044F RID: 1103
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x400044F")]
private T[] _items;
// Token: 0x04000450 RID: 1104
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000450")]
private int _size;
// Token: 0x04000451 RID: 1105
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000451")]
private int _version;
// Token: 0x02000250 RID: 592
[Token(Token = "0x2000250")]
[Serializable]
private class Enumerator : IEnumerator<T>, IDisposable, IEnumerator
{
// Token: 0x06000B77 RID: 2935 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000B77")]
[Address(RVA = "0x28E9240", Offset = "0x28E8040", VA = "0x1828E9240")]
internal Enumerator(ReadOnlyCollectionBuilder<T> builder)
{
}
// Token: 0x17000245 RID: 581
// (get) Token: 0x06000B78 RID: 2936 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000245")]
public T Current
{
[Token(Token = "0x6000B78")]
[Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400", Slot = "4")]
get
{
return null;
}
}
// Token: 0x06000B79 RID: 2937 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000B79")]
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "5")]
public void Dispose()
{
}
// Token: 0x17000246 RID: 582
// (get) Token: 0x06000B7A RID: 2938 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000246")]
object IEnumerator.Current
{
[Token(Token = "0x6000B7A")]
[Address(RVA = "0x28E91E0", Offset = "0x28E7FE0", VA = "0x1828E91E0", Slot = "7")]
get
{
return null;
}
}
// Token: 0x06000B7B RID: 2939 RVA: 0x00006048 File Offset: 0x00004248
[Token(Token = "0x6000B7B")]
[Address(RVA = "0x28E90B0", Offset = "0x28E7EB0", VA = "0x1828E90B0", Slot = "6")]
public bool MoveNext()
{
return default(bool);
}
// Token: 0x06000B7C RID: 2940 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000B7C")]
[Address(RVA = "0x28E9170", Offset = "0x28E7F70", VA = "0x1828E9170", Slot = "8")]
void IEnumerator.Reset()
{
}
// Token: 0x04000452 RID: 1106
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000452")]
private readonly ReadOnlyCollectionBuilder<T> _builder;
// Token: 0x04000453 RID: 1107
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000453")]
private readonly int _version;
// Token: 0x04000454 RID: 1108
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000454")]
private int _index;
// Token: 0x04000455 RID: 1109
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000455")]
private T _current;
}
}
}