terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
AsyncLocal.cs
Go to the documentation of this file.
1using System;
2
3namespace System.Threading
4{
5 // Token: 0x020001B6 RID: 438
6 public sealed class AsyncLocal<T> : IAsyncLocal
7 {
8 // Token: 0x060010A8 RID: 4264 RVA: 0x00023564 File Offset: 0x00021764
13
14 // Token: 0x17000185 RID: 389
15 // (set) Token: 0x060010A9 RID: 4265 RVA: 0x00023580 File Offset: 0x00021780
16 public T Value
17 {
18 set
19 {
21 if (!true)
22 {
23 }
24 }
25 }
26
27 // Token: 0x060010AA RID: 4266 RVA: 0x00023598 File Offset: 0x00021798
29 {
30 if (previousValueObj != null)
31 {
32 if (previousValueObj == null)
33 {
34 throw new InvalidCastException();
35 }
36 if (currentValueObj != null && currentValueObj == null)
37 {
38 throw new InvalidCastException();
39 }
40 }
41 else
42 {
43 while (currentValueObj != null)
44 {
45 }
46 }
48 }
49
50 // Token: 0x040008FC RID: 2300
52 }
53}
class f__AnonymousType0<< Count > j__TPar
readonly Action< AsyncLocalValueChangedArgs< T > > m_valueChangedHandler
Definition AsyncLocal.cs:51
AsyncLocal(Action< AsyncLocalValueChangedArgs< T > > valueChangedHandler)
Definition AsyncLocal.cs:9
void OnValueChanged(object previousValue, object currentValue, bool contextChanged)