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
CancellationTokenRegistration.cs
Go to the documentation of this file.
1using System;
5
6namespace System.Threading
7{
8 [global::Cpp2ILInjected.Token(Token = "0x20001D0")]
9 public readonly struct CancellationTokenRegistration : global::System.IEquatable<CancellationTokenRegistration>, global::System.IDisposable
10 {
11 [global::Cpp2ILInjected.Token(Token = "0x6001103")]
12 [global::Cpp2ILInjected.Address(RVA = "0x1C9654C", Offset = "0x1C9654C", Length = "0xC")]
13 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
18
19 [global::Cpp2ILInjected.Token(Token = "0x6001104")]
20 [global::Cpp2ILInjected.Address(RVA = "0x1C96558", Offset = "0x1C96558", Length = "0x7C")]
21 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
22 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CancellationTokenRegistration), Member = "Dispose", ReturnType = typeof(void))]
23 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CancellationTokenSource), Member = "InternalRegister", MemberParameters = new object[]
24 {
25 typeof(global::System.Action<object>),
26 typeof(object),
29 }, ReturnType = typeof(CancellationTokenRegistration))]
30 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
31 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SparselyPopulatedArrayFragment<>), Member = "SafeAtomicRemove", MemberParameters = new object[]
32 {
33 typeof(int),
34 "T"
35 }, ReturnType = "T")]
36 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
37 public bool Unregister()
38 {
39 throw null;
40 }
41
42 [global::Cpp2ILInjected.Token(Token = "0x6001105")]
43 [global::Cpp2ILInjected.Address(RVA = "0x1C965D4", Offset = "0x1C965D4", Length = "0x8C")]
44 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
45 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ManualResetEventSlim), Member = "Wait", MemberParameters = new object[]
46 {
47 typeof(int),
49 }, ReturnType = typeof(bool))]
50 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Threading.CancellationTokenSource.Linked1CancellationTokenSource", Member = "Dispose", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
51 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Threading.CancellationTokenSource.Linked2CancellationTokenSource", Member = "Dispose", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
52 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SemaphoreSlim), Member = "Wait", MemberParameters = new object[]
53 {
54 typeof(int),
56 }, ReturnType = typeof(bool))]
57 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Threading.Tasks.Task.ContingentProperties), Member = "UnregisterCancellationCallback", ReturnType = typeof(void))]
58 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Threading.Tasks.Task.DelayPromise", Member = "Complete", ReturnType = typeof(void))]
59 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 10)]
60 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CancellationTokenRegistration), Member = "Unregister", ReturnType = typeof(bool))]
61 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Environment), Member = "get_CurrentManagedThreadId", ReturnType = typeof(int))]
62 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CancellationTokenSource), Member = "WaitForCallbackToComplete", MemberParameters = new object[] { typeof(CancellationCallbackInfo) }, ReturnType = typeof(void))]
63 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
64 public void Dispose()
65 {
66 throw null;
67 }
68
69 [global::Cpp2ILInjected.Token(Token = "0x6001106")]
70 [global::Cpp2ILInjected.Address(RVA = "0x1C966E0", Offset = "0x1C966E0", Length = "0x90")]
71 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
72 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
73 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CancellationTokenRegistration), Member = "Equals", MemberParameters = new object[] { typeof(CancellationTokenRegistration) }, ReturnType = typeof(bool))]
74 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
75 public override bool Equals(object obj)
76 {
77 throw null;
78 }
79
80 [global::Cpp2ILInjected.Token(Token = "0x6001107")]
81 [global::Cpp2ILInjected.Address(RVA = "0x1C96770", Offset = "0x1C96770", Length = "0x80")]
82 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
83 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CancellationTokenRegistration), Member = "Equals", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(bool))]
84 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
85 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
87 {
88 throw null;
89 }
90
91 [global::Cpp2ILInjected.Token(Token = "0x6001108")]
92 [global::Cpp2ILInjected.Address(RVA = "0x1C967F0", Offset = "0x1C967F0", Length = "0x90")]
93 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
94 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
95 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(int), Member = "GetHashCode", ReturnType = typeof(int))]
96 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
97 public override int GetHashCode()
98 {
99 throw null;
100 }
101
102 [global::Cpp2ILInjected.Token(Token = "0x4000929")]
103 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
105
106 [global::Cpp2ILInjected.Token(Token = "0x400092A")]
107 [global::Cpp2ILInjected.FieldOffset(Offset = "0x8")]
109 }
110}
class f__AnonymousType0<< Count > j__TPar
bool Equals(CancellationTokenRegistration other)
CancellationTokenRegistration(CancellationCallbackInfo callbackInfo, SparselyPopulatedArrayAddInfo< CancellationCallbackInfo > registrationInfo)
readonly SparselyPopulatedArrayAddInfo< CancellationCallbackInfo > m_registrationInfo