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
SafeCredentialReference.cs
Go to the documentation of this file.
1using System;
4
6{
7 // Token: 0x02000317 RID: 791
9 {
10 // Token: 0x06001494 RID: 5268 RVA: 0x00002050 File Offset: 0x00000250
12 {
13 throw new global::Cpp2IlInjected.AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
14 }
15
16 // Token: 0x06001495 RID: 5269 RVA: 0x0003E85C File Offset: 0x0003CA5C
18 {
19 long num = 0L;
20 base..ctor();
21 target.DangerousAddRef(num != 0L);
22 this.Target = target;
23 }
24
25 // Token: 0x06001496 RID: 5270 RVA: 0x0003E884 File Offset: 0x0003CA84
26 protected override bool ReleaseHandle()
27 {
28 SafeFreeCredentials target = this.Target;
29 if (target != null)
30 {
31 target.DangerousRelease();
32 }
33 return true;
34 }
35
36 // Token: 0x04001134 RID: 4404
38 }
39}
class f__AnonymousType0<< Count > j__TPar
static SafeCredentialReference CreateReference(SafeFreeCredentials target)