terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
KeyedCollection.cs
Go to the documentation of this file.
1using System;
6
8{
9 [global::System.Diagnostics.DebuggerDisplay("Count = {Count}")]
10 [global::System.Diagnostics.DebuggerTypeProxy(typeof(global::System.Collections.Generic.CollectionDebugView<>))]
11 [global::Cpp2ILInjected.Token(Token = "0x2000620")]
12 [global::System.Serializable]
13 public abstract class KeyedCollection<TKey, TItem> : Collection<TItem>
14 {
15 [global::Cpp2ILInjected.Token(Token = "0x600300B")]
16 [global::Cpp2ILInjected.Address(RVA = "0x1726510", Offset = "0x1726510", Length = "0x1C")]
17 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
18 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
19 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
20 protected KeyedCollection()
21 {
22 throw null;
23 }
24
25 [global::Cpp2ILInjected.Token(Token = "0x600300C")]
26 [global::Cpp2ILInjected.Address(RVA = "0x172652C", Offset = "0x172652C", Length = "0x18")]
27 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
28 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Newtonsoft.Json.Serialization.JsonPropertyCollection", Member = ".ctor", MemberParameters = new object[] { typeof(global::System.Type) }, ReturnType = typeof(void))]
29 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
30 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
31 protected KeyedCollection(global::System.Collections.Generic.IEqualityComparer<TKey> comparer)
32 {
33 throw null;
34 }
35
36 [global::Cpp2ILInjected.Token(Token = "0x600300D")]
37 [global::Cpp2ILInjected.Address(RVA = "0x1726544", Offset = "0x1726544", Length = "0x11C")]
38 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
39 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
40 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
41 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
42 {
43 typeof(string),
44 typeof(string)
45 }, ReturnType = typeof(void))]
46 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
47 protected KeyedCollection(global::System.Collections.Generic.IEqualityComparer<TKey> comparer, int dictionaryCreationThreshold)
48 {
49 throw null;
50 }
51
52 [global::Cpp2ILInjected.Token(Token = "0x170007A9")]
53 private new global::System.Collections.Generic.List<TItem> Items
54 {
55 [global::Cpp2ILInjected.Token(Token = "0x600300E")]
56 [global::Cpp2ILInjected.Address(RVA = "0x1726660", Offset = "0x1726660", Length = "0x80")]
57 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
58 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
59 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
60 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
61 get
62 {
63 throw null;
64 }
65 }
66
67 [global::Cpp2ILInjected.Token(Token = "0x170007AA")]
68 public TItem this[TKey key]
69 {
70 [global::Cpp2ILInjected.Token(Token = "0x600300F")]
71 [global::Cpp2ILInjected.Address(RVA = "0x17266E0", Offset = "0x17266E0", Length = "0xA4")]
72 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
73 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
74 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Newtonsoft.Json.Serialization.JsonPropertyCollection", Member = "AddProperty", MemberParameters = new object[] { "Newtonsoft.Json.Serialization.JsonProperty" }, ReturnType = typeof(void))]
75 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
76 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::SR), Member = "Format", MemberParameters = new object[]
77 {
78 typeof(string),
79 typeof(object)
80 }, ReturnType = typeof(string))]
81 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Collections.Generic.KeyNotFoundException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
82 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
83 get
84 {
85 throw null;
86 }
87 }
88
89 [global::Cpp2ILInjected.Token(Token = "0x6003010")]
90 [global::Cpp2ILInjected.Address(RVA = "0x1726784", Offset = "0x1726784", Length = "0x24C")]
91 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
92 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
93 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Newtonsoft.Json.Serialization.JsonPropertyCollection", Member = "AddProperty", MemberParameters = new object[] { "Newtonsoft.Json.Serialization.JsonProperty" }, ReturnType = typeof(void))]
94 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
95 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Collections.Generic.List<object>.Enumerator), Member = "MoveNext", ReturnType = typeof(bool))]
96 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Collections.Generic.List<object>.Enumerator), Member = "Dispose", ReturnType = typeof(void))]
97 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
98 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 13)]
99 public bool Contains(TKey key)
100 {
101 throw null;
102 }
103
104 [global::Cpp2ILInjected.Token(Token = "0x6003011")]
105 [global::Cpp2ILInjected.Address(RVA = "0x17269D0", Offset = "0x17269D0", Length = "0x274")]
106 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
107 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
108 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
109 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Collections.Generic.List<object>.Enumerator), Member = "MoveNext", ReturnType = typeof(bool))]
110 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Collections.Generic.List<object>.Enumerator), Member = "Dispose", ReturnType = typeof(void))]
111 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
112 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 13)]
113 public bool TryGetValue(TKey key, out TItem item)
114 {
115 throw null;
116 }
117
118 [global::Cpp2ILInjected.Token(Token = "0x170007AB")]
119 protected global::System.Collections.Generic.IDictionary<TKey, TItem> Dictionary
120 {
121 [global::Cpp2ILInjected.Token(Token = "0x6003012")]
122 [global::Cpp2ILInjected.Address(RVA = "0x1726C44", Offset = "0x1726C44", Length = "0x8")]
123 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
124 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
125 get
126 {
127 throw null;
128 }
129 }
130
131 [global::Cpp2ILInjected.Token(Token = "0x6003013")]
132 [global::Cpp2ILInjected.Address(RVA = "0x1726C4C", Offset = "0x1726C4C", Length = "0x50")]
133 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
134 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
135 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
136 protected override void ClearItems()
137 {
138 throw null;
139 }
140
141 [global::Cpp2ILInjected.Token(Token = "0x6003014")]
142 protected abstract TKey GetKeyForItem(TItem item);
143
144 [global::Cpp2ILInjected.Token(Token = "0x6003015")]
145 [global::Cpp2ILInjected.Address(RVA = "0x1726C9C", Offset = "0x1726C9C", Length = "0x80")]
146 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
147 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
148 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
149 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
150 protected override void InsertItem(int index, TItem item)
151 {
152 throw null;
153 }
154
155 [global::Cpp2ILInjected.Token(Token = "0x6003016")]
156 [global::Cpp2ILInjected.Address(RVA = "0x1726D1C", Offset = "0x1726D1C", Length = "0x9C")]
157 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
158 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
159 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
160 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
161 protected override void RemoveItem(int index)
162 {
163 throw null;
164 }
165
166 [global::Cpp2ILInjected.Token(Token = "0x6003017")]
167 [global::Cpp2ILInjected.Address(RVA = "0x1726DB8", Offset = "0x1726DB8", Length = "0x1A8")]
168 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
169 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
170 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
171 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
172 protected override void SetItem(int index, TItem item)
173 {
174 throw null;
175 }
176
177 [global::Cpp2ILInjected.Token(Token = "0x6003018")]
178 [global::Cpp2ILInjected.Address(RVA = "0x1726F60", Offset = "0x1726F60", Length = "0x104")]
179 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
180 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
181 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
182 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::SR), Member = "Format", MemberParameters = new object[]
183 {
184 typeof(string),
185 typeof(object)
186 }, ReturnType = typeof(string))]
187 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
188 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
189 private void AddKey(TKey key, TItem item)
190 {
191 throw null;
192 }
193
194 [global::Cpp2ILInjected.Token(Token = "0x6003019")]
195 [global::Cpp2ILInjected.Address(RVA = "0x1727064", Offset = "0x1727064", Length = "0x194")]
196 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
197 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
198 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
199 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Collections.Generic.List<object>.Enumerator), Member = "MoveNext", ReturnType = typeof(bool))]
200 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Collections.Generic.List<object>.Enumerator), Member = "Dispose", ReturnType = typeof(void))]
201 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
202 private void CreateDictionary()
203 {
204 throw null;
205 }
206
207 [global::Cpp2ILInjected.Token(Token = "0x600301A")]
208 [global::Cpp2ILInjected.Address(RVA = "0x17271F8", Offset = "0x17271F8", Length = "0x30")]
209 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
210 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
211 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
212 private void RemoveKey(TKey key)
213 {
214 throw null;
215 }
216
217 [global::Cpp2ILInjected.Token(Token = "0x4001A44")]
218 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
219 private readonly global::System.Collections.Generic.IEqualityComparer<TKey> comparer;
220
221 [global::Cpp2ILInjected.Token(Token = "0x4001A45")]
222 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
223 private global::System.Collections.Generic.Dictionary<TKey, TItem> dict;
224
225 [global::Cpp2ILInjected.Token(Token = "0x4001A46")]
226 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
227 private int keyCount;
228
229 [global::Cpp2ILInjected.Token(Token = "0x4001A47")]
230 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
231 private readonly int threshold;
232 }
233}
class f__AnonymousType0<< Count > j__TPar
readonly global::System.Collections.Generic.IEqualityComparer< TKey > comparer
KeyedCollection(global::System.Collections.Generic.IEqualityComparer< TKey > comparer, int dictionaryCreationThreshold)
global::System.Collections.Generic.Dictionary< TKey, TItem > dict
override void SetItem(int index, TItem item)
KeyedCollection(global::System.Collections.Generic.IEqualityComparer< TKey > comparer)
override void InsertItem(int index, TItem item)