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
CallbackHelpers.cs
Go to the documentation of this file.
1using System;
6
8{
9 // Token: 0x02000069 RID: 105
10 internal static class CallbackHelpers
11 {
12 // Token: 0x0600018F RID: 399 RVA: 0x00005AE4 File Offset: 0x00003CE4
13 internal static MonoRemoteCertificateValidationCallback PublicToMono(global::System.Net.Security.RemoteCertificateValidationCallback callback)
14 {
15 }
16
17 // Token: 0x06000190 RID: 400 RVA: 0x00005AF4 File Offset: 0x00003CF4
18 internal static global::System.Net.Security.LocalCertSelectionCallback MonoToInternal(MonoLocalCertificateSelectionCallback callback)
19 {
20 }
21
22 // Token: 0x0200006A RID: 106
24 private sealed class <>c__DisplayClass0_0
25 {
26 // Token: 0x06000191 RID: 401 RVA: 0x00005B04 File Offset: 0x00003D04
27 public <>c__DisplayClass0_0()
28 {
29 }
30
31 // Token: 0x06000192 RID: 402 RVA: 0x00005B18 File Offset: 0x00003D18
32 internal bool <PublicToMono>b__0(string h, X509Certificate c, global::System.Security.Cryptography.X509Certificates.X509Chain ch, MonoSslPolicyErrors e)
33 {
34 /*
35An exception occurred when decompiling this method (06000192)
36
37ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Mono.Net.Security.Private.CallbackHelpers/<>c__DisplayClass0_0::<PublicToMono>b__0(System.String,System.Security.Cryptography.X509Certificates.X509Certificate,System.Security.Cryptography.X509Certificates.X509Chain,Mono.Security.Interface.MonoSslPolicyErrors)
38
39 ---> System.Exception: Basic block has to end with unconditional control flow.
40{
41 Block_0:
42 stloc:RemoteCertificateValidationCallback(var_0_06, ldfld:RemoteCertificateValidationCallback('<>c__DisplayClass0_0'::callback, ldloc:'<>c__DisplayClass0_0'(this)))
43 stloc:native int(var_1_0D, ldfld:native int(Delegate::invoke_impl, ldloc:RemoteCertificateValidationCallback[exp:Delegate](var_0_06)))
44 stloc:native int(var_2_14, ldfld:native int(Delegate::method_code, ldloc:RemoteCertificateValidationCallback[exp:Delegate](var_0_06)))
45 stloc:native int(var_3_1B, ldfld:native int(Delegate::method, ldloc:RemoteCertificateValidationCallback[exp:Delegate](var_0_06)))
46}
47
48 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
49 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
50 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
51 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
52 --- End of inner exception stack trace ---
53 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
54 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
55*/;
56 }
57
58 // Token: 0x0400012F RID: 303
59 public global::System.Net.Security.RemoteCertificateValidationCallback callback;
60 }
61
62 // Token: 0x0200006B RID: 107
64 private sealed class <>c__DisplayClass6_0
65 {
66 // Token: 0x06000193 RID: 403 RVA: 0x00005B40 File Offset: 0x00003D40
68 {
69 }
70
71 // Token: 0x06000194 RID: 404 RVA: 0x00005B54 File Offset: 0x00003D54
72 internal X509Certificate <MonoToInternal>b__0(string t, global::System.Security.Cryptography.X509Certificates.X509CertificateCollection lc, X509Certificate rc, string[] ai)
73 {
74 /*
75An exception occurred when decompiling this method (06000194)
76
77ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Security.Cryptography.X509Certificates.X509Certificate Mono.Net.Security.Private.CallbackHelpers/<>c__DisplayClass6_0::<MonoToInternal>b__0(System.String,System.Security.Cryptography.X509Certificates.X509CertificateCollection,System.Security.Cryptography.X509Certificates.X509Certificate,System.String[])
78
79 ---> System.Exception: Basic block has to end with unconditional control flow.
80{
81 Block_0:
82 stloc:MonoLocalCertificateSelectionCallback(var_0_06, ldfld:MonoLocalCertificateSelectionCallback('<>c__DisplayClass6_0'::callback, ldloc:'<>c__DisplayClass6_0'(this)))
83 stloc:native int(var_1_0D, ldfld:native int(Delegate::invoke_impl, ldloc:MonoLocalCertificateSelectionCallback[exp:Delegate](var_0_06)))
84 stloc:native int(var_2_14, ldfld:native int(Delegate::method_code, ldloc:MonoLocalCertificateSelectionCallback[exp:Delegate](var_0_06)))
85 stloc:native int(var_3_1B, ldfld:native int(Delegate::method, ldloc:MonoLocalCertificateSelectionCallback[exp:Delegate](var_0_06)))
86}
87
88 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
89 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
90 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
91 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
92 --- End of inner exception stack trace ---
93 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
94 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
95*/;
96 }
97
98 // Token: 0x04000130 RID: 304
100 }
101 }
102}
class f__AnonymousType0<< Count > j__TPar
static MonoRemoteCertificateValidationCallback PublicToMono(global::System.Net.Security.RemoteCertificateValidationCallback callback)
static global::System.Net.Security.LocalCertSelectionCallback MonoToInternal(MonoLocalCertificateSelectionCallback callback)