Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
CodeTypeReferenceCollection.cs
Go to the documentation of this file.
2
4
6{
7 public CodeTypeReference this[int index]
8 {
9 get
10 {
11 return (CodeTypeReference)base.List[index];
12 }
13 set
14 {
15 base.List[index] = value;
16 }
17 }
18
20 {
21 }
22
27
32
34 {
35 return base.List.Add(value);
36 }
37
38 public void Add(string value)
39 {
41 }
42
43 public void Add(Type value)
44 {
46 }
47
49 {
50 if (value == null)
51 {
52 throw new ArgumentNullException("value");
53 }
54 for (int i = 0; i < value.Length; i++)
55 {
56 Add(value[i]);
57 }
58 }
59
61 {
62 if (value == null)
63 {
64 throw new ArgumentNullException("value");
65 }
66 int count = value.Count;
67 for (int i = 0; i < count; i++)
68 {
69 Add(value[i]);
70 }
71 }
72
74 {
75 return base.List.Contains(value);
76 }
77
78 public void CopyTo(CodeTypeReference[] array, int index)
79 {
80 base.List.CopyTo(array, index);
81 }
82
84 {
85 return base.List.IndexOf(value);
86 }
87
89 {
90 base.List.Insert(index, value);
91 }
92
94 {
95 base.List.Remove(value);
96 }
97}