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
RemotingConfiguration.cs
Go to the documentation of this file.
1using System;
5
7{
8 // Token: 0x02000343 RID: 835
9 [ComVisible(true)]
10 public static class RemotingConfiguration
11 {
12 // Token: 0x1700033A RID: 826
13 // (get) Token: 0x06001BE7 RID: 7143 RVA: 0x0003C1EC File Offset: 0x0003A3EC
14 // (set) Token: 0x06001BE8 RID: 7144 RVA: 0x0003C1FC File Offset: 0x0003A3FC
15 public static string ApplicationName
16 {
17 get
18 {
19 /*
20An exception occurred when decompiling this method (06001BE7)
21
22ICSharpCode.Decompiler.DecompilerException: Error decompiling System.String System.Runtime.Remoting.RemotingConfiguration::get_ApplicationName()
23
24 ---> System.Exception: Basic block has to end with unconditional control flow.
25{
26 IL_0000:
27 brtrue(IL_0000, ldc.i4:bool(1))
28}
29
30 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
31 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
32 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
33 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
34 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
35 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
36 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
37 --- End of inner exception stack trace ---
38 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
39 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
40*/;
41 }
42 set
43 {
44 if (!true)
45 {
46 }
47 }
48 }
49
50 // Token: 0x1700033B RID: 827
51 // (get) Token: 0x06001BE9 RID: 7145 RVA: 0x0003C20C File Offset: 0x0003A40C
52 public static string ProcessId
53 {
54 get
55 {
56 /*
57An exception occurred when decompiling this method (06001BE9)
58
59ICSharpCode.Decompiler.DecompilerException: Error decompiling System.String System.Runtime.Remoting.RemotingConfiguration::get_ProcessId()
60
61 ---> System.Exception: Basic block has to end with unconditional control flow.
62{
63 Block_0:
64 stloc:string(var_1_07, call:string(AppDomain::GetProcessGuid))
65}
66
67 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
68 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
69 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
70 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
71 --- End of inner exception stack trace ---
72 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
73 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
74*/;
75 }
76 }
77
78 // Token: 0x06001BEA RID: 7146 RVA: 0x0003C220 File Offset: 0x0003A420
79 internal static void LoadDefaultDelayedChannels()
80 {
81 int num = 1;
82 if (num == 0)
83 {
84 }
85 if (num == 0)
86 {
87 }
88 if (!false)
89 {
90 return;
91 }
92 throw new OutOfMemoryException();
93 }
94
95 // Token: 0x06001BEB RID: 7147 RVA: 0x0003C2AC File Offset: 0x0003A4AC
96 public static bool IsActivationAllowed(Type svrType)
97 {
98 if (!true)
99 {
100 }
101 if (!true)
102 {
103 }
104 if (!false)
105 {
106 return false;
107 }
108 throw new OutOfMemoryException();
109 }
110
111 // Token: 0x06001BEC RID: 7148 RVA: 0x0003C2DC File Offset: 0x0003A4DC
113 {
114 int num = 1;
115 if (num == 0)
116 {
117 }
118 if (num == 0)
119 {
120 }
121 if (!false)
122 {
123 }
124 throw new OutOfMemoryException();
125 }
126
127 // Token: 0x06001BED RID: 7149 RVA: 0x0003C310 File Offset: 0x0003A510
129 {
130 int num = 1;
131 if (num == 0)
132 {
133 }
134 if (num == 0)
135 {
136 }
137 if (!false)
138 {
139 }
140 throw new OutOfMemoryException();
141 }
142
143 // Token: 0x06001BEE RID: 7150 RVA: 0x0003C344 File Offset: 0x0003A544
145 {
146 if (!true)
147 {
148 }
149 if (!true)
150 {
151 }
152 Type obj_type = entry.obj_type;
153 Type obj_type2 = entry.obj_type;
154 Type obj_type3 = entry.obj_type;
156 if (!false)
157 {
158 return;
159 }
160 throw new OutOfMemoryException();
161 }
162
163 // Token: 0x06001BEF RID: 7151 RVA: 0x0003C398 File Offset: 0x0003A598
165 {
166 if (!true)
167 {
168 }
169 if (!true)
170 {
171 }
172 Type obj_type = entry.obj_type;
173 if (!false)
174 {
175 return;
176 }
177 throw new OutOfMemoryException();
178 }
179
180 // Token: 0x06001BF0 RID: 7152 RVA: 0x0003C3D4 File Offset: 0x0003A5D4
182 {
183 if (!true)
184 {
185 }
186 if (!true)
187 {
188 }
189 Type obj_type = entry.obj_type;
190 Type obj_type2 = entry.obj_type;
191 Type obj_type3 = entry.obj_type;
193 if (!false)
194 {
195 return;
196 }
197 throw new OutOfMemoryException();
198 }
199
200 // Token: 0x06001BF1 RID: 7153 RVA: 0x0003C428 File Offset: 0x0003A628
202 {
203 if (!true)
204 {
205 }
206 if (!true)
207 {
208 }
209 string obj_uri = entry.obj_uri;
210 Type obj_type = entry.obj_type;
211 string obj_uri2 = entry.obj_uri;
212 WellKnownObjectMode obj_mode = entry.obj_mode;
214 if (!false)
215 {
216 return;
217 }
218 throw new OutOfMemoryException();
219 }
220
221 // Token: 0x06001BF2 RID: 7154 RVA: 0x0003C488 File Offset: 0x0003A688
222 internal static void RegisterChannelTemplate(ChannelData channel)
223 {
224 if (!true)
225 {
226 }
227 string id = channel.Id;
228 }
229
230 // Token: 0x06001BF3 RID: 7155 RVA: 0x0003C4A0 File Offset: 0x0003A6A0
232 {
233 if (!true)
234 {
235 }
236 string id = prov.Id;
237 }
238
239 // Token: 0x06001BF4 RID: 7156 RVA: 0x0003C4B8 File Offset: 0x0003A6B8
241 {
242 if (!true)
243 {
244 }
245 string id = prov.Id;
246 }
247
248 // Token: 0x06001BF5 RID: 7157 RVA: 0x0003C4D0 File Offset: 0x0003A6D0
249 internal static void RegisterChannels(ArrayList channels, bool onlyDelayed)
250 {
251 }
252
253 // Token: 0x06001BF6 RID: 7158 RVA: 0x0003C624 File Offset: 0x0003A824
254 internal static void RegisterTypes(ArrayList types)
255 {
256 }
257
258 // Token: 0x06001BF7 RID: 7159 RVA: 0x0003C684 File Offset: 0x0003A884
259 public static bool CustomErrorsEnabled(bool isLocalRequest)
260 {
261 if (!true)
262 {
263 return;
264 }
265 }
266
267 // Token: 0x06001BF8 RID: 7160 RVA: 0x0003C698 File Offset: 0x0003A898
268 internal static void SetCustomErrorsMode(string mode)
269 {
270 string text = mode.ToLower();
271 bool flag = text != "on";
272 bool flag2 = text != "remoteonly";
273 Type type;
274 object obj = Enum.Parse(type, text, true);
275 }
276
277 // Token: 0x06001BF9 RID: 7161 RVA: 0x0003C6D8 File Offset: 0x0003A8D8
278 // Note: this type is marked as 'beforefieldinit'.
280 {
281 }
282
283 // Token: 0x04000E32 RID: 3634
284 private static string applicationID;
285
286 // Token: 0x04000E33 RID: 3635
287 private static string applicationName;
288
289 // Token: 0x04000E34 RID: 3636
290 private static string processGuid;
291
292 // Token: 0x04000E35 RID: 3637
293 private static bool defaultConfigRead;
294
295 // Token: 0x04000E36 RID: 3638
296 private static bool defaultDelayedConfigRead;
297
298 // Token: 0x04000E37 RID: 3639
300
301 // Token: 0x04000E38 RID: 3640
303
304 // Token: 0x04000E39 RID: 3641
306
307 // Token: 0x04000E3A RID: 3642
309
310 // Token: 0x04000E3B RID: 3643
312
313 // Token: 0x04000E3C RID: 3644
315
316 // Token: 0x04000E3D RID: 3645
318
319 // Token: 0x04000E3E RID: 3646
321 }
322}
class f__AnonymousType0<< Count > j__TPar
static object Parse(Type enumType, string value)
Definition Enum.cs:133
static void EnableProxyActivation(Type type, bool enable)
static void RegisterActivatedServiceType(ActivatedServiceTypeEntry entry)
static void RegisterChannelTemplate(ChannelData channel)
static void RegisterActivatedClientType(ActivatedClientTypeEntry entry)
static void RegisterChannels(ArrayList channels, bool onlyDelayed)
static void RegisterWellKnownClientType(WellKnownClientTypeEntry entry)
static bool CustomErrorsEnabled(bool isLocalRequest)
static void RegisterWellKnownServiceType(WellKnownServiceTypeEntry entry)
static WellKnownClientTypeEntry IsWellKnownClientType(Type svrType)
static ActivatedClientTypeEntry IsRemotelyActivatedClientType(Type svrType)
static void RegisterServerProviderTemplate(ProviderData prov)
static void RegisterClientProviderTemplate(ProviderData prov)
static ServerIdentity CreateWellKnownServerIdentity(Type objectType, string objectUri, WellKnownObjectMode mode)