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
MonoTlsSettings.cs
Go to the documentation of this file.
1using System;
5
7{
8 // Token: 0x0200004E RID: 78
9 public sealed class MonoTlsSettings
10 {
11 // Token: 0x1700009C RID: 156
12 // (get) Token: 0x06000203 RID: 515 RVA: 0x00008CB8 File Offset: 0x00006EB8
13 // (set) Token: 0x06000204 RID: 516 RVA: 0x00008CCC File Offset: 0x00006ECC
27
28 // Token: 0x1700009D RID: 157
29 // (get) Token: 0x06000205 RID: 517 RVA: 0x00008CE0 File Offset: 0x00006EE0
30 // (set) Token: 0x06000206 RID: 518 RVA: 0x00008CF4 File Offset: 0x00006EF4
44
45 // Token: 0x1700009E RID: 158
46 // (get) Token: 0x06000207 RID: 519 RVA: 0x00002050 File Offset: 0x00000250
47 // (set) Token: 0x06000208 RID: 520 RVA: 0x00008D08 File Offset: 0x00006F08
49 {
50 get
51 {
52 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
53 }
54 set
55 {
56 }
57 }
58
59 // Token: 0x1700009F RID: 159
60 // (get) Token: 0x06000209 RID: 521 RVA: 0x00008D18 File Offset: 0x00006F18
62 {
63 get
64 {
65 return this.callbackNeedsChain;
66 }
67 }
68
69 // Token: 0x170000A0 RID: 160
70 // (get) Token: 0x0600020A RID: 522 RVA: 0x00008D2C File Offset: 0x00006F2C
71 // (set) Token: 0x0600020B RID: 523 RVA: 0x00008D40 File Offset: 0x00006F40
85
86 // Token: 0x170000A1 RID: 161
87 // (get) Token: 0x0600020C RID: 524 RVA: 0x00008D54 File Offset: 0x00006F54
88 // (set) Token: 0x0600020D RID: 525 RVA: 0x00008D68 File Offset: 0x00006F68
90 {
92 get
93 {
94 return this.<TrustAnchors>k__BackingField;
95 }
97 set
98 {
100 }
101 }
102
103 // Token: 0x170000A2 RID: 162
104 // (get) Token: 0x0600020E RID: 526 RVA: 0x00008D7C File Offset: 0x00006F7C
105 // (set) Token: 0x0600020F RID: 527 RVA: 0x00008D90 File Offset: 0x00006F90
106 public object UserSettings
107 {
109 get
110 {
111 return this.<UserSettings>k__BackingField;
112 }
114 set
115 {
117 }
118 }
119
120 // Token: 0x170000A3 RID: 163
121 // (get) Token: 0x06000210 RID: 528 RVA: 0x00008DA4 File Offset: 0x00006FA4
122 // (set) Token: 0x06000211 RID: 529 RVA: 0x00008DB8 File Offset: 0x00006FB8
123 internal string[] CertificateSearchPaths
124 {
126 get
127 {
129 }
131 set
132 {
134 }
135 }
136
137 // Token: 0x170000A4 RID: 164
138 // (get) Token: 0x06000212 RID: 530 RVA: 0x00008DCC File Offset: 0x00006FCC
139 // (set) Token: 0x06000213 RID: 531 RVA: 0x00008DE0 File Offset: 0x00006FE0
140 internal bool SendCloseNotify
141 {
143 get
144 {
145 return this.<SendCloseNotify>k__BackingField;
146 }
148 set
149 {
150 }
151 }
152
153 // Token: 0x170000A5 RID: 165
154 // (get) Token: 0x06000214 RID: 532 RVA: 0x00008DF0 File Offset: 0x00006FF0
155 // (set) Token: 0x06000215 RID: 533 RVA: 0x00008E04 File Offset: 0x00007004
157 {
159 get
160 {
162 }
164 set
165 {
167 }
168 }
169
170 // Token: 0x170000A6 RID: 166
171 // (get) Token: 0x06000216 RID: 534 RVA: 0x00008E18 File Offset: 0x00007018
172 // (set) Token: 0x06000217 RID: 535 RVA: 0x00008E2C File Offset: 0x0000702C
174 {
176 get
177 {
179 }
181 set
182 {
183 }
184 }
185
186 // Token: 0x170000A7 RID: 167
187 // (get) Token: 0x06000218 RID: 536 RVA: 0x00002050 File Offset: 0x00000250
188 // (set) Token: 0x06000219 RID: 537 RVA: 0x00008E3C File Offset: 0x0000703C
190 {
192 get
193 {
194 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
195 }
197 set
198 {
199 }
200 }
201
202 // Token: 0x170000A8 RID: 168
203 // (get) Token: 0x0600021A RID: 538 RVA: 0x00008E4C File Offset: 0x0000704C
204 // (set) Token: 0x0600021B RID: 539 RVA: 0x00008E60 File Offset: 0x00007060
205 [CLSCompliant(false)]
207 {
209 get
210 {
211 return this.<EnabledCiphers>k__BackingField;
212 }
214 set
215 {
217 }
218 }
219
220 // Token: 0x0600021C RID: 540 RVA: 0x00008E74 File Offset: 0x00007074
222 {
223 }
224
225 // Token: 0x170000A9 RID: 169
226 // (get) Token: 0x0600021D RID: 541 RVA: 0x00008E98 File Offset: 0x00007098
228 {
229 get
230 {
231 /*
232An exception occurred when decompiling this method (0600021D)
233
234ICSharpCode.Decompiler.DecompilerException: Error decompiling Mono.Security.Interface.MonoTlsSettings Mono.Security.Interface.MonoTlsSettings::get_DefaultSettings()
235
236 ---> System.Exception: Basic block has to end with unconditional control flow.
237{
238 IL_0000:
239 brtrue(IL_0000, ldc.i4:bool(1))
240}
241
242 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
243 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
244 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
245 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
246 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
247 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
248 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
249 --- End of inner exception stack trace ---
250 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
251 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
252*/;
253 }
254 }
255
256 // Token: 0x0600021E RID: 542 RVA: 0x00008EA8 File Offset: 0x000070A8
261
262 // Token: 0x170000AA RID: 170
263 // (get) Token: 0x0600021F RID: 543 RVA: 0x00008EC0 File Offset: 0x000070C0
264 [Obsolete("Do not use outside System.dll!")]
266 {
267 get
268 {
269 return this.certificateValidator;
270 }
271 }
272
273 // Token: 0x06000220 RID: 544 RVA: 0x00008ED4 File Offset: 0x000070D4
274 [Obsolete("Do not use outside System.dll!")]
276 {
277 /*
278An exception occurred when decompiling this method (06000220)
279
280ICSharpCode.Decompiler.DecompilerException: Error decompiling Mono.Security.Interface.MonoTlsSettings Mono.Security.Interface.MonoTlsSettings::CloneWithValidator(Mono.Security.Interface.ICertificateValidator)
281
282 ---> System.Exception: Basic block has to end with unconditional control flow.
283{
284 IL_0000:
285 brtrue(IL_0000, logicnot:bool(ldfld:bool(MonoTlsSettings::cloned, ldloc:MonoTlsSettings(this))))
286}
287
288 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
289 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
290 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
291 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
292 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
293 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
294 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
295 --- End of inner exception stack trace ---
296 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
297 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
298*/;
299 }
300
301 // Token: 0x06000221 RID: 545 RVA: 0x00002050 File Offset: 0x00000250
303 {
304 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
305 }
306
307 // Token: 0x06000222 RID: 546 RVA: 0x00008EE8 File Offset: 0x000070E8
309 {
312 bool flag = other.checkCertName;
313 this.checkCertName = flag;
314 bool flag2 = other.checkCertRevocationStatus;
316 bool flag3 = other.skipSystemValidators;
318 bool flag4 = other.callbackNeedsChain;
324 bool hasValue = other.<CertificateValidationTime>k__BackingField.hasValue;
327 this.<SendCloseNotify>k__BackingField = flag5;
331 this.<DisallowUnauthenticatedCertificateRequest>k__BackingField = flag6;
333 {
334 }
336 {
338 }
339 this.cloned = true;
340 }
341
342 // Token: 0x0400022D RID: 557
344 private MonoRemoteCertificateValidationCallback <RemoteCertificateValidationCallback>k__BackingField;
345
346 // Token: 0x0400022E RID: 558
348 private MonoLocalCertificateSelectionCallback <ClientCertificateSelectionCallback>k__BackingField;
349
350 // Token: 0x0400022F RID: 559
353
354 // Token: 0x04000230 RID: 560
356 private X509CertificateCollection <TrustAnchors>k__BackingField;
357
358 // Token: 0x04000231 RID: 561
360 private object <UserSettings>k__BackingField;
361
362 // Token: 0x04000232 RID: 562
365
366 // Token: 0x04000233 RID: 563
368 private bool <SendCloseNotify>k__BackingField;
369
370 // Token: 0x04000234 RID: 564
373
374 // Token: 0x04000235 RID: 565
376 private bool <DisallowUnauthenticatedCertificateRequest>k__BackingField;
377
378 // Token: 0x04000236 RID: 566
381
382 // Token: 0x04000237 RID: 567
385
386 // Token: 0x04000238 RID: 568
387 private bool cloned;
388
389 // Token: 0x04000239 RID: 569
390 private bool checkCertName = true;
391
392 // Token: 0x0400023A RID: 570
394
395 // Token: 0x0400023B RID: 571
397
398 // Token: 0x0400023C RID: 572
400
401 // Token: 0x0400023D RID: 573
402 private bool callbackNeedsChain = true;
403
404 // Token: 0x0400023E RID: 574
406
407 // Token: 0x0400023F RID: 575
409 }
410}
class f__AnonymousType0<< Count > j__TPar
string[]< ClientCertificateIssuers > k__BackingField
bool< DisallowUnauthenticatedCertificateRequest > k__BackingField
TlsProtocols?< EnabledProtocols > k__BackingField
X509CertificateCollection TrustAnchors
MonoLocalCertificateSelectionCallback ClientCertificateSelectionCallback
string[]< CertificateSearchPaths > k__BackingField
CipherSuiteCode[]< EnabledCiphers > k__BackingField
MonoLocalCertificateSelectionCallback< ClientCertificateSelectionCallback > k__BackingField
MonoTlsSettings CloneWithValidator(ICertificateValidator validator)
MonoRemoteCertificateValidationCallback RemoteCertificateValidationCallback
DateTime?< CertificateValidationTime > k__BackingField
static MonoTlsSettings CopyDefaultSettings()
X509CertificateCollection< TrustAnchors > k__BackingField
MonoRemoteCertificateValidationCallback< RemoteCertificateValidationCallback > k__BackingField