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
RequestCacheManager.cs
Go to the documentation of this file.
1using System;
2
3namespace System.Net.Cache
4{
5 // Token: 0x020002E2 RID: 738
6 internal sealed class RequestCacheManager
7 {
8 // Token: 0x060012F3 RID: 4851 RVA: 0x0003ABB4 File Offset: 0x00038DB4
10 {
11 /*
12An exception occurred when decompiling this method (060012F3)
13
14ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Net.Cache.RequestCacheBinding System.Net.Cache.RequestCacheManager::GetBinding(System.String)
15
16 ---> System.Exception: Basic block has to end with unconditional control flow.
17{
18 Block_2:
19 brtrue(IL_0000, ldc.i4:bool(1))
20}
21
22 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
23 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
24 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
25 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
26 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
27 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
28 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
29 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
30 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
31 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
32 --- End of inner exception stack trace ---
33 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
34 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
35*/;
36 }
37
38 // Token: 0x060012F4 RID: 4852 RVA: 0x0003ABE0 File Offset: 0x00038DE0
39 internal static void SetBinding(string uriScheme, RequestCacheBinding binding)
40 {
41 while (uriScheme == null)
42 {
43 }
44 if (!true)
45 {
46 }
47 if (!true)
48 {
49 if (!true)
50 {
51 }
53 }
54 if (!true)
55 {
56 }
57 if (!true)
58 {
59 int stringLength = uriScheme._stringLength;
60 if (stringLength != 0)
61 {
62 if (stringLength == 0)
63 {
64 }
65 if (stringLength == 0)
66 {
67 }
68 if (stringLength == 0)
69 {
70 }
71 return;
72 }
73 }
74 }
75
76 // Token: 0x060012F5 RID: 4853 RVA: 0x0003AC1C File Offset: 0x00038E1C
77 private static void LoadConfigSettings()
78 {
79 if (!true)
80 {
81 }
82 if (!true)
83 {
84 }
85 if (true)
86 {
87 return;
88 }
89 if (!true)
90 {
91 }
92 if (!false)
93 {
94 return;
95 }
96 throw new OutOfMemoryException();
97 }
98
99 // Token: 0x060012F6 RID: 4854 RVA: 0x0003AC58 File Offset: 0x00038E58
100 // Note: this type is marked as 'beforefieldinit'.
102 {
103 }
104
105 // Token: 0x04000F6D RID: 3949
107
108 // Token: 0x04000F6E RID: 3950
110
111 // Token: 0x04000F6F RID: 3951
113
114 // Token: 0x04000F70 RID: 3952
116
117 // Token: 0x04000F71 RID: 3953
119 }
120}
class f__AnonymousType0<< Count > j__TPar
static RequestCacheBinding s_DefaultFtpBinding
static RequestCacheBinding s_DefaultGlobalBinding
static RequestCachingSectionInternal s_CacheConfigSettings
static RequestCacheBinding s_DefaultHttpBinding
static void SetBinding(string uriScheme, RequestCacheBinding binding)
static RequestCacheBinding GetBinding(string internedScheme)
static readonly RequestCacheBinding s_BypassCacheBinding