170 lines
6.7 KiB
C#
170 lines
6.7 KiB
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using System.Runtime.CompilerServices;
|
|
|
|
[CompilerGenerated]
|
|
internal sealed class _003C_003Ez__ReadOnlyList<T> : IEnumerable, ICollection, IList, IEnumerable<T>, IReadOnlyCollection<T>, IReadOnlyList<T>, ICollection<T>, IList<T>
|
|
{
|
|
int ICollection.Count => _items.Count;
|
|
|
|
bool ICollection.IsSynchronized => false;
|
|
|
|
object ICollection.SyncRoot => this;
|
|
|
|
object? IList.this[int index]
|
|
{
|
|
get
|
|
{
|
|
return _items[index];
|
|
}
|
|
set
|
|
{
|
|
throw _206C_206F_200C_202C_206E_206D_200E_202C_206F_202B_202A_206D_206F_206D_202C_206D_206B_206A_202D_200D_202C_202B_206E_200E_200F_202A_202E_200E_202B_202C_200E_200D_206B_202B_206F_202A_200E_206C_202B_206A_202E();
|
|
}
|
|
}
|
|
|
|
bool IList.IsFixedSize => true;
|
|
|
|
bool IList.IsReadOnly => true;
|
|
|
|
int IReadOnlyCollection<T>.Count => _items.Count;
|
|
|
|
T IReadOnlyList<T>.this[int index] => _items[index];
|
|
|
|
int ICollection<T>.Count => _items.Count;
|
|
|
|
bool ICollection<T>.IsReadOnly => true;
|
|
|
|
T IList<T>.this[int index]
|
|
{
|
|
get
|
|
{
|
|
return _items[index];
|
|
}
|
|
set
|
|
{
|
|
throw _206C_206F_200C_202C_206E_206D_200E_202C_206F_202B_202A_206D_206F_206D_202C_206D_206B_206A_202D_200D_202C_202B_206E_200E_200F_202A_202E_200E_202B_202C_200E_200D_206B_202B_206F_202A_200E_206C_202B_206A_202E();
|
|
}
|
|
}
|
|
|
|
public _003C_003Ez__ReadOnlyList(List<T> items)
|
|
{
|
|
_items = items;
|
|
}
|
|
|
|
IEnumerator IEnumerable.GetEnumerator()
|
|
{
|
|
return _202B_202E_206D_206E_206E_206D_202D_206E_200F_202E_202A_200E_202D_206B_200F_206A_206F_202E_200C_200D_202C_200B_200F_202E_206B_206B_206D_200C_202D_206A_200F_200F_202D_202A_200C_200B_202A_200E_200C_206D_202E((IEnumerable)_items);
|
|
}
|
|
|
|
void ICollection.CopyTo(Array array, int index)
|
|
{
|
|
_200D_206E_206D_202E_202E_202B_206A_202A_202A_206A_206B_206C_200D_202C_206D_202E_202D_206A_200E_206E_206A_202D_200E_202C_200F_202E_202B_206D_206A_202B_200D_200E_202E_200F_206C_200F_206D_206B_200E_200D_202E((ICollection)_items, array, index);
|
|
}
|
|
|
|
int IList.Add(object? value)
|
|
{
|
|
throw _206C_206F_200C_202C_206E_206D_200E_202C_206F_202B_202A_206D_206F_206D_202C_206D_206B_206A_202D_200D_202C_202B_206E_200E_200F_202A_202E_200E_202B_202C_200E_200D_206B_202B_206F_202A_200E_206C_202B_206A_202E();
|
|
}
|
|
|
|
void IList.Clear()
|
|
{
|
|
throw _206C_206F_200C_202C_206E_206D_200E_202C_206F_202B_202A_206D_206F_206D_202C_206D_206B_206A_202D_200D_202C_202B_206E_200E_200F_202A_202E_200E_202B_202C_200E_200D_206B_202B_206F_202A_200E_206C_202B_206A_202E();
|
|
}
|
|
|
|
bool IList.Contains(object? value)
|
|
{
|
|
return _202C_202B_200B_206E_206A_206C_200C_202D_206B_206B_202A_206D_206E_206D_200B_202A_200F_206E_202B_206B_206C_206D_206F_200D_202D_200D_202D_202A_200D_202B_202C_206A_206C_200D_206B_202C_202C_200E_202A_206F_202E((IList)_items, value);
|
|
}
|
|
|
|
int IList.IndexOf(object? value)
|
|
{
|
|
return _202D_202E_202C_202E_200F_206F_200E_206D_202B_200F_206A_202D_202B_200E_200D_206D_206A_206F_202A_206E_206A_202A_206A_206A_206F_200F_202A_200E_200E_206E_206A_202A_206B_200F_202A_202C_202D_202B_206A_206C_202E((IList)_items, value);
|
|
}
|
|
|
|
void IList.Insert(int index, object? value)
|
|
{
|
|
throw _206C_206F_200C_202C_206E_206D_200E_202C_206F_202B_202A_206D_206F_206D_202C_206D_206B_206A_202D_200D_202C_202B_206E_200E_200F_202A_202E_200E_202B_202C_200E_200D_206B_202B_206F_202A_200E_206C_202B_206A_202E();
|
|
}
|
|
|
|
void IList.Remove(object? value)
|
|
{
|
|
throw _206C_206F_200C_202C_206E_206D_200E_202C_206F_202B_202A_206D_206F_206D_202C_206D_206B_206A_202D_200D_202C_202B_206E_200E_200F_202A_202E_200E_202B_202C_200E_200D_206B_202B_206F_202A_200E_206C_202B_206A_202E();
|
|
}
|
|
|
|
void IList.RemoveAt(int index)
|
|
{
|
|
throw _206C_206F_200C_202C_206E_206D_200E_202C_206F_202B_202A_206D_206F_206D_202C_206D_206B_206A_202D_200D_202C_202B_206E_200E_200F_202A_202E_200E_202B_202C_200E_200D_206B_202B_206F_202A_200E_206C_202B_206A_202E();
|
|
}
|
|
|
|
IEnumerator<T> IEnumerable<T>.GetEnumerator()
|
|
{
|
|
return ((IEnumerable<T>)_items).GetEnumerator();
|
|
}
|
|
|
|
void ICollection<T>.Add(T item)
|
|
{
|
|
throw _206C_206F_200C_202C_206E_206D_200E_202C_206F_202B_202A_206D_206F_206D_202C_206D_206B_206A_202D_200D_202C_202B_206E_200E_200F_202A_202E_200E_202B_202C_200E_200D_206B_202B_206F_202A_200E_206C_202B_206A_202E();
|
|
}
|
|
|
|
void ICollection<T>.Clear()
|
|
{
|
|
throw _206C_206F_200C_202C_206E_206D_200E_202C_206F_202B_202A_206D_206F_206D_202C_206D_206B_206A_202D_200D_202C_202B_206E_200E_200F_202A_202E_200E_202B_202C_200E_200D_206B_202B_206F_202A_200E_206C_202B_206A_202E();
|
|
}
|
|
|
|
bool ICollection<T>.Contains(T item)
|
|
{
|
|
return _items.Contains(item);
|
|
}
|
|
|
|
void ICollection<T>.CopyTo(T[] array, int arrayIndex)
|
|
{
|
|
_items.CopyTo(array, arrayIndex);
|
|
}
|
|
|
|
bool ICollection<T>.Remove(T item)
|
|
{
|
|
throw _206C_206F_200C_202C_206E_206D_200E_202C_206F_202B_202A_206D_206F_206D_202C_206D_206B_206A_202D_200D_202C_202B_206E_200E_200F_202A_202E_200E_202B_202C_200E_200D_206B_202B_206F_202A_200E_206C_202B_206A_202E();
|
|
}
|
|
|
|
int IList<T>.IndexOf(T item)
|
|
{
|
|
return _items.IndexOf(item);
|
|
}
|
|
|
|
void IList<T>.Insert(int index, T item)
|
|
{
|
|
throw _206C_206F_200C_202C_206E_206D_200E_202C_206F_202B_202A_206D_206F_206D_202C_206D_206B_206A_202D_200D_202C_202B_206E_200E_200F_202A_202E_200E_202B_202C_200E_200D_206B_202B_206F_202A_200E_206C_202B_206A_202E();
|
|
}
|
|
|
|
void IList<T>.RemoveAt(int index)
|
|
{
|
|
throw _206C_206F_200C_202C_206E_206D_200E_202C_206F_202B_202A_206D_206F_206D_202C_206D_206B_206A_202D_200D_202C_202B_206E_200E_200F_202A_202E_200E_202B_202C_200E_200D_206B_202B_206F_202A_200E_206C_202B_206A_202E();
|
|
}
|
|
|
|
static IEnumerator _202B_202E_206D_206E_206E_206D_202D_206E_200F_202E_202A_200E_202D_206B_200F_206A_206F_202E_200C_200D_202C_200B_200F_202E_206B_206B_206D_200C_202D_206A_200F_200F_202D_202A_200C_200B_202A_200E_200C_206D_202E(IEnumerable P_0)
|
|
{
|
|
return P_0.GetEnumerator();
|
|
}
|
|
|
|
static void _200D_206E_206D_202E_202E_202B_206A_202A_202A_206A_206B_206C_200D_202C_206D_202E_202D_206A_200E_206E_206A_202D_200E_202C_200F_202E_202B_206D_206A_202B_200D_200E_202E_200F_206C_200F_206D_206B_200E_200D_202E(ICollection P_0, Array P_1, int P_2)
|
|
{
|
|
P_0.CopyTo(P_1, P_2);
|
|
}
|
|
|
|
static NotSupportedException _206C_206F_200C_202C_206E_206D_200E_202C_206F_202B_202A_206D_206F_206D_202C_206D_206B_206A_202D_200D_202C_202B_206E_200E_200F_202A_202E_200E_202B_202C_200E_200D_206B_202B_206F_202A_200E_206C_202B_206A_202E()
|
|
{
|
|
return new NotSupportedException();
|
|
}
|
|
|
|
static bool _202C_202B_200B_206E_206A_206C_200C_202D_206B_206B_202A_206D_206E_206D_200B_202A_200F_206E_202B_206B_206C_206D_206F_200D_202D_200D_202D_202A_200D_202B_202C_206A_206C_200D_206B_202C_202C_200E_202A_206F_202E(IList P_0, object P_1)
|
|
{
|
|
return P_0.Contains(P_1);
|
|
}
|
|
|
|
static int _202D_202E_202C_202E_200F_206F_200E_206D_202B_200F_206A_202D_202B_200E_200D_206D_206A_206F_202A_206E_206A_202A_206A_206A_206F_200F_202A_200E_200E_206E_206A_202A_206B_200F_202A_202C_202D_202B_206A_206C_202E(IList P_0, object P_1)
|
|
{
|
|
return P_0.IndexOf(P_1);
|
|
}
|
|
}
|