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
HttpListenerPrefixCollection.cs
Go to the documentation of this file.
1using System;
5
6namespace System.Net
7{
8 // Token: 0x0200024D RID: 589
10 {
11 // Token: 0x06000F08 RID: 3848 RVA: 0x0002FE10 File Offset: 0x0002E010
16
17 // Token: 0x17000324 RID: 804
18 // (get) Token: 0x06000F09 RID: 3849 RVA: 0x0002FE2C File Offset: 0x0002E02C
19 public int Count
20 {
21 get
22 {
23 return this.prefixes._size;
24 }
25 }
26
27 // Token: 0x17000325 RID: 805
28 // (get) Token: 0x06000F0A RID: 3850 RVA: 0x0002FE44 File Offset: 0x0002E044
29 public bool IsReadOnly
30 {
31 get
32 {
33 }
34 }
35
36 // Token: 0x17000326 RID: 806
37 // (get) Token: 0x06000F0B RID: 3851 RVA: 0x0002FE54 File Offset: 0x0002E054
38 public bool IsSynchronized
39 {
40 get
41 {
42 }
43 }
44
45 // Token: 0x06000F0C RID: 3852 RVA: 0x00002050 File Offset: 0x00000250
46 public void Add(string uriPrefix)
47 {
48 throw new global::Cpp2IlInjected.AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
49 }
50
51 // Token: 0x06000F0D RID: 3853 RVA: 0x00002050 File Offset: 0x00000250
52 public void Clear()
53 {
54 throw new global::Cpp2IlInjected.AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
55 }
56
57 // Token: 0x06000F0E RID: 3854 RVA: 0x0002FE64 File Offset: 0x0002E064
58 public bool Contains(string uriPrefix)
59 {
60 /*
61An exception occurred when decompiling this method (06000F0E)
62
63ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.Net.HttpListenerPrefixCollection::Contains(System.String)
64
65 ---> System.Exception: Basic block has to end with unconditional control flow.
66{
67 Block_0:
68 call:void(HttpListener::CheckDisposed, ldfld:HttpListener(HttpListenerPrefixCollection::listener, ldloc:HttpListenerPrefixCollection(this)))
69 stloc:class [mscorlib]System.Collections.Generic.List`1<string>(var_0_11, ldfld:class [mscorlib]System.Collections.Generic.List`1<string>(HttpListenerPrefixCollection::prefixes, ldloc:HttpListenerPrefixCollection(this)))
70}
71
72 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
73 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
74 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
75 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
76 --- End of inner exception stack trace ---
77 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
78 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
79*/;
80 }
81
82 // Token: 0x06000F0F RID: 3855 RVA: 0x0002FE84 File Offset: 0x0002E084
83 public void CopyTo(string[] array, int offset)
84 {
87 }
88
89 // Token: 0x06000F10 RID: 3856 RVA: 0x0002FEA4 File Offset: 0x0002E0A4
90 public void CopyTo(Array array, int offset)
91 {
94 }
95
96 // Token: 0x06000F11 RID: 3857 RVA: 0x0002FEC4 File Offset: 0x0002E0C4
98 {
99 /*
100An exception occurred when decompiling this method (06000F11)
101
102ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.Generic.IEnumerator`1<System.String> System.Net.HttpListenerPrefixCollection::GetEnumerator()
103
104 ---> System.Exception: Basic block has to end with unconditional control flow.
105{
106 Block_0:
107 stloc:class [mscorlib]System.Collections.Generic.List`1<string>(var_0_06, ldfld:class [mscorlib]System.Collections.Generic.List`1<string>(HttpListenerPrefixCollection::prefixes, ldloc:HttpListenerPrefixCollection(this)))
108}
109
110 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
111 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
112 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
113 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
114 --- End of inner exception stack trace ---
115 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
116 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
117*/;
118 }
119
120 // Token: 0x06000F12 RID: 3858 RVA: 0x0002FED8 File Offset: 0x0002E0D8
122 {
123 /*
124An exception occurred when decompiling this method (06000F12)
125
126ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.IEnumerator System.Net.HttpListenerPrefixCollection::System.Collections.IEnumerable.GetEnumerator()
127
128 ---> System.Exception: Basic block has to end with unconditional control flow.
129{
130 Block_0:
131 stloc:class [mscorlib]System.Collections.Generic.List`1<string>(var_0_06, ldfld:class [mscorlib]System.Collections.Generic.List`1<string>(HttpListenerPrefixCollection::prefixes, ldloc:HttpListenerPrefixCollection(this)))
132}
133
134 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
135 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
136 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
137 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
138 --- End of inner exception stack trace ---
139 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
140 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
141*/;
142 }
143
144 // Token: 0x06000F13 RID: 3859 RVA: 0x0002FEEC File Offset: 0x0002E0EC
145 public bool Remove(string uriPrefix)
146 {
147 do
148 {
149 this.listener.CheckDisposed();
150 }
151 while (uriPrefix == null);
154 if (httpListener.listening)
155 {
157 }
158 return true;
159 }
160
161 // Token: 0x06000F14 RID: 3860 RVA: 0x0002FF28 File Offset: 0x0002E128
163 {
164 throw new NotSupportedException();
165 }
166
167 // Token: 0x04000C30 RID: 3120
169
170 // Token: 0x04000C31 RID: 3121
172 }
173}
class f__AnonymousType0<< Count > j__TPar
static void RemovePrefix(string prefix, HttpListener listener)