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
ThreadLocal.cs
Go to the documentation of this file.
1using System;
6
7namespace System.Threading
8{
9 [global::System.Diagnostics.DebuggerDisplay("IsValueCreated={IsValueCreated}, Value={ValueForDebugDisplay}, Count={ValuesCountForDebugDisplay}")]
10 [global::System.Diagnostics.DebuggerTypeProxy(typeof(SystemThreading_ThreadLocalDebugView<>))]
11 [global::Cpp2ILInjected.Token(Token = "0x20001E3")]
12 public class ThreadLocal<T> : global::System.IDisposable
13 {
14 [global::Cpp2ILInjected.Token(Token = "0x6001165")]
15 [global::Cpp2ILInjected.Address(RVA = "0x187CA54", Offset = "0x187CA54", Length = "0xE4")]
16 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
17 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
18 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "LocalUserGameState", Member = ".ctor", ReturnType = typeof(void))]
19 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.Main", Member = ".ctor", ReturnType = typeof(void))]
20 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Drawing.WallDrawing", Member = ".ctor", MemberParameters = new object[] { "Terraria.GameContent.TilePaintSystemV2" }, ReturnType = typeof(void))]
21 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
22 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
23 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
24 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
25 public ThreadLocal(global::System.Func<T> valueFactory)
26 {
27 throw null;
28 }
29
30 [global::Cpp2ILInjected.Token(Token = "0x6001166")]
31 [global::Cpp2ILInjected.Address(RVA = "0x187CB38", Offset = "0x187CB38", Length = "0x94")]
32 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
33 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
34 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
35 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
36 private void Initialize(global::System.Func<T> valueFactory, bool trackAllValues)
37 {
38 throw null;
39 }
40
41 [global::Cpp2ILInjected.Token(Token = "0x6001167")]
42 [global::Cpp2ILInjected.Address(RVA = "0x187CBCC", Offset = "0x187CBCC", Length = "0xA0")]
43 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
44 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
45 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
46 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = "Finalize", ReturnType = typeof(void))]
47 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
48 protected override void Finalize()
49 {
50 throw null;
51 }
52
53 [global::Cpp2ILInjected.Token(Token = "0x6001168")]
54 [global::Cpp2ILInjected.Address(RVA = "0x187CC6C", Offset = "0x187CC6C", Length = "0x6C")]
55 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
56 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
57 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
58 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.GC), Member = "SuppressFinalize", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
59 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
60 public void Dispose()
61 {
62 throw null;
63 }
64
65 [global::Cpp2ILInjected.Token(Token = "0x6001169")]
66 [global::Cpp2ILInjected.Address(RVA = "0x187CCD8", Offset = "0x187CCD8", Length = "0x22C")]
67 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
68 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
69 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
70 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Enter", MemberParameters = new object[]
71 {
72 typeof(object),
73 typeof(ref bool)
74 }, ReturnType = typeof(void))]
75 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Exit", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
76 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 20)]
77 protected virtual void Dispose(bool disposing)
78 {
79 throw null;
80 }
81
82 [global::Cpp2ILInjected.Token(Token = "0x600116A")]
83 [global::Cpp2ILInjected.Address(RVA = "0x187CF04", Offset = "0x187CF04", Length = "0x28")]
84 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
85 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
86 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
87 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
88 public override string ToString()
89 {
90 throw null;
91 }
92
93 [global::System.Diagnostics.DebuggerBrowsable(global::System.Diagnostics.DebuggerBrowsableState.Never)]
94 [global::Cpp2ILInjected.Token(Token = "0x170001A0")]
95 public T Value
96 {
97 [global::Cpp2ILInjected.Token(Token = "0x600116B")]
98 [global::Cpp2ILInjected.Address(RVA = "0x187CF2C", Offset = "0x187CF2C", Length = "0xD4")]
99 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
100 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
101 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "ThreadedRenderManager.RenderThreadInstance", Member = "DrawThread", ReturnType = typeof(void))]
102 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.Main", Member = "DrawCurrentBackground", MemberParameters = new object[]
103 {
104 typeof(int),
105 typeof(int),
106 typeof(int),
107 typeof(int),
108 typeof(int),
109 "Microsoft.Xna.Framework.Vector2"
110 }, ReturnType = typeof(void))]
111 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.Main", Member = "DrawMagmaLayer", MemberParameters = new object[]
112 {
113 typeof(int),
114 typeof(int),
115 typeof(int),
116 typeof(int),
117 typeof(int),
118 "Microsoft.Xna.Framework.Vector2"
119 }, ReturnType = typeof(void))]
120 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.Main", Member = "DrawRockLayer", MemberParameters = new object[]
121 {
122 typeof(int),
123 typeof(int),
124 typeof(int),
125 typeof(int),
126 typeof(int),
127 "Microsoft.Xna.Framework.Vector2"
128 }, ReturnType = typeof(void))]
129 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.Main", Member = "DrawBackground", ReturnType = typeof(void))]
130 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Drawing.TileDrawing", Member = "get__displayDollTileEntityPositions", ReturnType = "System.Collections.Generic.Dictionary`2<Point, Int32>")]
131 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Drawing.TileDrawing", Member = "get__hatRackTileEntityPositions", ReturnType = "System.Collections.Generic.Dictionary`2<Point, Int32>")]
132 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Drawing.TileDrawing", Member = "get__trainingDummyTileEntityPositions", ReturnType = "System.Collections.Generic.Dictionary`2<Point, Int32>")]
133 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Drawing.TileDrawing", Member = "get__itemFrameTileEntityPositions", ReturnType = "System.Collections.Generic.Dictionary`2<Point, Int32>")]
134 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Drawing.TileDrawing", Member = "get__foodPlatterTileEntityPositions", ReturnType = "System.Collections.Generic.Dictionary`2<Point, Int32>")]
135 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Drawing.TileDrawing", Member = "get__weaponRackTileEntityPositions", ReturnType = "System.Collections.Generic.Dictionary`2<Point, Int32>")]
136 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Drawing.TileDrawing", Member = "get__chestPositions", ReturnType = "System.Collections.Generic.Dictionary`2<Point, Int32>")]
137 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Drawing.TileDrawing", Member = "get__rand", ReturnType = "Terraria.Utilities.UnifiedRandom")]
138 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Drawing.TileDrawing", Member = "DrawTiles", MemberParameters = new object[]
139 {
140 "Microsoft.Xna.Framework.Vector2",
141 "Microsoft.Xna.Framework.Vector2",
142 typeof(int),
143 typeof(int),
144 typeof(int),
145 typeof(int),
146 typeof(bool),
147 typeof(bool),
148 typeof(bool),
149 typeof(int)
150 }, ReturnType = typeof(void))]
151 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Drawing.TileDrawing", Member = "DrawLiquidBehindTiles", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
152 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Drawing.TileDrawing", Member = "Draw", MemberParameters = new object[]
153 {
154 typeof(bool),
155 typeof(bool),
156 typeof(bool),
157 typeof(int)
158 }, ReturnType = typeof(void))]
159 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Drawing.WallDrawing", Member = "DrawWalls", MemberParameters = new object[]
160 {
161 "Microsoft.Xna.Framework.Vector2",
162 "Microsoft.Xna.Framework.Vector2",
163 typeof(int),
164 typeof(int),
165 typeof(int),
166 typeof(int)
167 }, ReturnType = typeof(void))]
168 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.Drawing.WallDrawing", Member = "DrawWalls", ReturnType = typeof(void))]
169 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 47)]
170 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
171 get
172 {
173 throw null;
174 }
175 [global::Cpp2ILInjected.Token(Token = "0x600116C")]
176 [global::Cpp2ILInjected.Address(RVA = "0x187D000", Offset = "0x187D000", Length = "0xEC")]
177 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
178 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
179 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
180 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
181 set
182 {
183 throw null;
184 }
185 }
186
187 [global::Cpp2ILInjected.Token(Token = "0x600116D")]
188 [global::Cpp2ILInjected.Address(RVA = "0x187D0EC", Offset = "0x187D0EC", Length = "0x150")]
189 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
190 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
191 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
192 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Diagnostics.Debugger), Member = "NotifyOfCrossThreadDependency", ReturnType = typeof(void))]
193 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Environment), Member = "GetResourceString", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
194 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.InvalidOperationException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
195 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ObjectDisposedException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
196 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
197 private T GetValueSlow()
198 {
199 throw null;
200 }
201
202 [global::Cpp2ILInjected.Token(Token = "0x600116E")]
203 [global::Cpp2ILInjected.Address(RVA = "0x187D23C", Offset = "0x187D23C", Length = "0x2E4")]
204 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
205 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
206 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
207 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Environment), Member = "GetResourceString", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
208 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ObjectDisposedException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
209 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 30)]
211 {
212 throw null;
213 }
214
215 [global::Cpp2ILInjected.Token(Token = "0x600116F")]
216 [global::Cpp2ILInjected.Address(RVA = "0x187D520", Offset = "0x187D520", Length = "0x224")]
217 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
218 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
219 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
220 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Enter", MemberParameters = new object[]
221 {
222 typeof(object),
223 typeof(ref bool)
224 }, ReturnType = typeof(void))]
225 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Exit", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
226 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Environment), Member = "GetResourceString", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
227 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ObjectDisposedException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
228 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 23)]
230 {
231 throw null;
232 }
233
234 [global::Cpp2ILInjected.Token(Token = "0x170001A1")]
235 public bool IsValueCreated
236 {
237 [global::Cpp2ILInjected.Token(Token = "0x6001170")]
238 [global::Cpp2ILInjected.Address(RVA = "0x187D744", Offset = "0x187D744", Length = "0xE4")]
239 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
240 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
241 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
242 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Environment), Member = "GetResourceString", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
243 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ObjectDisposedException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
244 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
245 get
246 {
247 throw null;
248 }
249 }
250
251 [global::Cpp2ILInjected.Token(Token = "0x6001171")]
252 [global::Cpp2ILInjected.Address(RVA = "0x187D828", Offset = "0x187D828", Length = "0x1D8")]
253 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
254 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
255 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
256 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Enter", MemberParameters = new object[]
257 {
258 typeof(object),
259 typeof(ref bool)
260 }, ReturnType = typeof(void))]
261 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Exit", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
262 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 14)]
263 private void GrowTable(ref ThreadLocal<T>.LinkedSlotVolatile[] table, int minLength)
264 {
265 throw null;
266 }
267
268 [global::Cpp2ILInjected.Token(Token = "0x6001172")]
269 [global::Cpp2ILInjected.Address(RVA = "0x187DA00", Offset = "0x187DA00", Length = "0x40")]
270 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
271 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
272 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
273 private static int GetNewTableSize(int minSize)
274 {
275 throw null;
276 }
277
278 // Note: this type is marked as 'beforefieldinit'.
279 [global::Cpp2ILInjected.Token(Token = "0x6001173")]
280 [global::Cpp2ILInjected.Address(RVA = "0x187DA40", Offset = "0x187DA40", Length = "0xEC")]
281 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
282 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
283 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
284 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
285 static ThreadLocal()
286 {
287 throw null;
288 }
289
290 [global::Cpp2ILInjected.Token(Token = "0x4000965")]
291 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
292 private global::System.Func<T> m_valueFactory;
293
294 [global::System.ThreadStatic]
295 [global::Cpp2ILInjected.Token(Token = "0x4000966")]
297
298 [global::System.ThreadStatic]
299 [global::Cpp2ILInjected.Token(Token = "0x4000967")]
301
302 [global::Cpp2ILInjected.Token(Token = "0x4000968")]
303 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
304 private int m_idComplement;
305
306 [global::Cpp2ILInjected.Token(Token = "0x4000969")]
307 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
308 private bool m_initialized;
309
310 [global::Cpp2ILInjected.Token(Token = "0x400096A")]
312
313 [global::Cpp2ILInjected.Token(Token = "0x400096B")]
314 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
316
317 [global::Cpp2ILInjected.Token(Token = "0x400096C")]
318 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
319 private bool m_trackAllValues;
320
321 [global::Cpp2ILInjected.Token(Token = "0x20001E4")]
322 private struct LinkedSlotVolatile
323 {
324 [global::Cpp2ILInjected.Token(Token = "0x400096D")]
325 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
327 }
328
329 [global::Cpp2ILInjected.Token(Token = "0x20001E5")]
330 private sealed class LinkedSlot
331 {
332 [global::Cpp2ILInjected.Token(Token = "0x6001174")]
333 [global::Cpp2ILInjected.Address(RVA = "0x172B040", Offset = "0x172B040", Length = "0x2C")]
334 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
335 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
336 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
337 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
339 {
340 throw null;
341 }
342
343 [global::Cpp2ILInjected.Token(Token = "0x400096E")]
344 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
346
347 [global::Cpp2ILInjected.Token(Token = "0x400096F")]
348 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
350
351 [global::Cpp2ILInjected.Token(Token = "0x4000970")]
352 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
354
355 [global::Cpp2ILInjected.Token(Token = "0x4000971")]
356 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
357 internal T Value;
358 }
359
360 [global::Cpp2ILInjected.Token(Token = "0x20001E6")]
361 private class IdManager
362 {
363 [global::Cpp2ILInjected.Token(Token = "0x6001175")]
364 [global::Cpp2ILInjected.Address(RVA = "0x16BBF2C", Offset = "0x16BBF2C", Length = "0x1D8")]
365 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
366 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
367 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
368 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Enter", MemberParameters = new object[]
369 {
370 typeof(object),
371 typeof(ref bool)
372 }, ReturnType = typeof(void))]
373 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Collections.Generic.List<bool>), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = "T")]
374 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Collections.Generic.List<bool>), Member = "set_Item", MemberParameters = new object[]
375 {
376 typeof(int),
377 typeof(bool)
378 }, ReturnType = typeof(void))]
379 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Exit", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
380 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
381 internal int GetId()
382 {
383 throw null;
384 }
385
386 [global::Cpp2ILInjected.Token(Token = "0x6001176")]
387 [global::Cpp2ILInjected.Address(RVA = "0x16BC104", Offset = "0x16BC104", Length = "0x110")]
388 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
389 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
390 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
391 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Enter", MemberParameters = new object[]
392 {
393 typeof(object),
394 typeof(ref bool)
395 }, ReturnType = typeof(void))]
396 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Collections.Generic.List<bool>), Member = "set_Item", MemberParameters = new object[]
397 {
398 typeof(int),
399 typeof(bool)
400 }, ReturnType = typeof(void))]
401 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Exit", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
402 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
403 internal void ReturnId(int id)
404 {
405 throw null;
406 }
407
408 [global::Cpp2ILInjected.Token(Token = "0x6001177")]
409 [global::Cpp2ILInjected.Address(RVA = "0x16BC214", Offset = "0x16BC214", Length = "0x7C")]
410 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
411 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
412 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Collections.Generic.List<bool>), Member = ".ctor", ReturnType = typeof(void))]
413 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
414 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
415 public IdManager()
416 {
417 throw null;
418 }
419
420 [global::Cpp2ILInjected.Token(Token = "0x4000972")]
421 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
422 private int m_nextIdToTry;
423
424 [global::Cpp2ILInjected.Token(Token = "0x4000973")]
425 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
426 private global::System.Collections.Generic.List<bool> m_freeIds;
427 }
428
429 [global::Cpp2ILInjected.Token(Token = "0x20001E7")]
430 private class FinalizationHelper
431 {
432 [global::Cpp2ILInjected.Token(Token = "0x6001178")]
433 [global::Cpp2ILInjected.Address(RVA = "0x16A2CB0", Offset = "0x16A2CB0", Length = "0x30")]
434 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
435 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
436 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
438 {
439 throw null;
440 }
441
442 [global::Cpp2ILInjected.Token(Token = "0x6001179")]
443 [global::Cpp2ILInjected.Address(RVA = "0x16A2CE0", Offset = "0x16A2CE0", Length = "0x234")]
444 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
445 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
446 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
447 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Enter", MemberParameters = new object[]
448 {
449 typeof(object),
450 typeof(ref bool)
451 }, ReturnType = typeof(void))]
452 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Exit", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
453 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = "Finalize", ReturnType = typeof(void))]
454 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 22)]
455 protected override void Finalize()
456 {
457 throw null;
458 }
459
460 [global::Cpp2ILInjected.Token(Token = "0x4000974")]
461 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
463
464 [global::Cpp2ILInjected.Token(Token = "0x4000975")]
465 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
466 private bool m_trackAllValues;
467 }
468 }
469}
class f__AnonymousType0<< Count > j__TPar
ThreadLocal< T >.LinkedSlotVolatile[] SlotArray
FinalizationHelper(ThreadLocal< T >.LinkedSlotVolatile[] slotArray, bool trackAllValues)
global::System.Collections.Generic.List< bool > m_freeIds
ThreadLocal< T >.LinkedSlot Previous
LinkedSlot(ThreadLocal< T >.LinkedSlotVolatile[] slotArray)
ThreadLocal< T >.LinkedSlotVolatile[] SlotArray
ThreadLocal< T >.LinkedSlot Next
static ThreadLocal< T >.FinalizationHelper ts_finalizationHelper
void CreateLinkedSlot(ThreadLocal< T >.LinkedSlotVolatile[] slotArray, int id, T value)
ThreadLocal(global::System.Func< T > valueFactory)
void Initialize(global::System.Func< T > valueFactory, bool trackAllValues)
ThreadLocal< T >.LinkedSlot m_linkedSlot
global::System.Func< T > m_valueFactory
static int GetNewTableSize(int minSize)
override string ToString()
static ThreadLocal< T >.LinkedSlotVolatile[] ts_slotArray
void GrowTable(ref ThreadLocal< T >.LinkedSlotVolatile[] table, int minLength)
void SetValueSlow(T value, ThreadLocal< T >.LinkedSlotVolatile[] slotArray)
virtual void Dispose(bool disposing)
static ThreadLocal< T >.IdManager s_idManager