Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
ReadOnlyList.cs
Go to the documentation of this file.
2
3internal sealed class ReadOnlyList : IList, ICollection, IEnumerable
4{
5 private readonly IList _list;
6
7 public int Count => _list.Count;
8
9 public bool IsReadOnly => true;
10
11 public bool IsFixedSize => true;
12
14
15 public object this[int index]
16 {
17 get
18 {
19 return _list[index];
20 }
21 set
22 {
24 }
25 }
26
27 public object SyncRoot => _list.SyncRoot;
28
30 {
31 _list = list;
32 }
33
34 public int Add(object value)
35 {
37 }
38
43
44 public bool Contains(object value)
45 {
46 return _list.Contains(value);
47 }
48
49 public void CopyTo(Array array, int index)
50 {
52 }
53
55 {
56 return _list.GetEnumerator();
57 }
58
59 public int IndexOf(object value)
60 {
61 return _list.IndexOf(value);
62 }
63
64 public void Insert(int index, object value)
65 {
67 }
68
69 public void Remove(object value)
70 {
72 }
73
78}
void CopyTo(Array array, int index)
void Insert(int index, object value)
static string NotSupported_ReadOnlyCollection
Definition SR.cs:28
Definition SR.cs:7
void CopyTo(Array array, int index)
bool Contains(object? value)
int IndexOf(object? value)