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
CrossAppDomainChannel.cs
Go to the documentation of this file.
1using System;
4
6{
7 // Token: 0x02000377 RID: 887
10 {
11 // Token: 0x06001D2D RID: 7469 RVA: 0x0003FDA8 File Offset: 0x0003DFA8
12 internal static void RegisterCrossAppDomainChannel()
13 {
14 if (!true)
15 {
16 }
17 if (!false)
18 {
19 return;
20 }
21 throw new OutOfMemoryException();
22 }
23
24 // Token: 0x1700036B RID: 875
25 // (get) Token: 0x06001D2E RID: 7470 RVA: 0x0003FDD8 File Offset: 0x0003DFD8
26 public virtual string ChannelName
27 {
28 get
29 {
30 return "MONOCAD";
31 }
32 }
33
34 // Token: 0x1700036C RID: 876
35 // (get) Token: 0x06001D2F RID: 7471 RVA: 0x0003FDEC File Offset: 0x0003DFEC
36 public virtual int ChannelPriority
37 {
38 get
39 {
40 return 100;
41 }
42 }
43
44 // Token: 0x1700036D RID: 877
45 // (get) Token: 0x06001D30 RID: 7472 RVA: 0x0003FDFC File Offset: 0x0003DFFC
46 public virtual object ChannelData
47 {
48 get
49 {
50 /*
51An exception occurred when decompiling this method (06001D30)
52
53ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Object System.Runtime.Remoting.Channels.CrossAppDomainChannel::get_ChannelData()
54
55 ---> System.Exception: Basic block has to end with unconditional control flow.
56{
57 Block_0:
58 stloc:int32(var_1_07, call:int32(Thread::GetDomainID))
59}
60
61 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
62 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
63 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
64 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
65 --- End of inner exception stack trace ---
66 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
67 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
68*/;
69 }
70 }
71
72 // Token: 0x06001D31 RID: 7473 RVA: 0x0003FE10 File Offset: 0x0003E010
73 public virtual void StartListening(object data)
74 {
75 }
76
77 // Token: 0x06001D32 RID: 7474 RVA: 0x0003FE20 File Offset: 0x0003E020
78 public virtual IMessageSink CreateMessageSink(string url, object data, [Out] string uri)
79 {
80 if (data != null)
81 {
82 string processId = RemotingConfiguration.ProcessId;
83 bool flag = uri == processId;
84 }
85 if (url != null)
86 {
87 bool flag2 = url.StartsWith("MONOCAD");
88 return;
89 }
90 }
91
92 // Token: 0x06001D33 RID: 7475 RVA: 0x0003FE54 File Offset: 0x0003E054
94 {
95 }
96
97 // Token: 0x06001D34 RID: 7476 RVA: 0x0003FE68 File Offset: 0x0003E068
98 // Note: this type is marked as 'beforefieldinit'.
100 {
101 }
102
103 // Token: 0x04000EBE RID: 3774
104 private static object s_lock;
105 }
106}
class f__AnonymousType0<< Count > j__TPar
virtual IMessageSink CreateMessageSink(string url, object data, [Out] string uri)