terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
EndPointManager.cs
Go to the documentation of this file.
1using System;
7
8namespace System.Net
9{
10 [global::Cpp2ILInjected.Token(Token = "0x2000242")]
11 internal sealed class EndPointManager
12 {
13 [global::Cpp2ILInjected.Token(Token = "0x6000E8B")]
14 [global::Cpp2ILInjected.Address(RVA = "0x1F46FF4", Offset = "0x1F46FF4", Length = "0x8")]
15 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
16 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
18 {
19 throw null;
20 }
21
22 [global::Cpp2ILInjected.Token(Token = "0x6000E8C")]
23 [global::Cpp2ILInjected.Address(RVA = "0x1F46FFC", Offset = "0x1F46FFC", Length = "0x6D8")]
24 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
25 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(HttpListener), Member = "Start", ReturnType = typeof(void))]
26 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
27 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ArrayList), Member = ".ctor", ReturnType = typeof(void))]
28 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Enter", MemberParameters = new object[]
29 {
30 typeof(object),
31 typeof(ref bool)
32 }, ReturnType = typeof(void))]
33 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HttpListener), Member = "CheckDisposed", ReturnType = typeof(void))]
34 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HttpListenerPrefixCollection), Member = "GetEnumerator", ReturnType = typeof(IEnumerator<string>))]
35 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EndPointManager), Member = "AddPrefixInternal", MemberParameters = new object[]
36 {
37 typeof(string),
38 typeof(HttpListener)
39 }, ReturnType = typeof(void))]
40 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Exit", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
41 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EndPointManager), Member = "RemovePrefix", MemberParameters = new object[]
42 {
43 typeof(string),
44 typeof(HttpListener)
45 }, ReturnType = typeof(void))]
46 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 50)]
47 public static void AddListener(HttpListener listener)
48 {
49 throw null;
50 }
51
52 [global::Cpp2ILInjected.Token(Token = "0x6000E8D")]
53 [global::Cpp2ILInjected.Address(RVA = "0x1F479E0", Offset = "0x1F479E0", Length = "0x11C")]
54 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
55 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(HttpListenerPrefixCollection), Member = "Add", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
56 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
57 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Enter", MemberParameters = new object[]
58 {
59 typeof(object),
60 typeof(ref bool)
61 }, ReturnType = typeof(void))]
62 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EndPointManager), Member = "AddPrefixInternal", MemberParameters = new object[]
63 {
64 typeof(string),
65 typeof(HttpListener)
66 }, ReturnType = typeof(void))]
67 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Exit", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
68 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
69 public static void AddPrefix(string prefix, HttpListener listener)
70 {
71 throw null;
72 }
73
74 [global::Cpp2ILInjected.Token(Token = "0x6000E8E")]
75 [global::Cpp2ILInjected.Address(RVA = "0x1F4777C", Offset = "0x1F4777C", Length = "0x148")]
76 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
77 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(EndPointManager), Member = "AddListener", MemberParameters = new object[] { typeof(HttpListener) }, ReturnType = typeof(void))]
78 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(EndPointManager), Member = "AddPrefix", MemberParameters = new object[]
79 {
80 typeof(string),
81 typeof(HttpListener)
82 }, ReturnType = typeof(void))]
83 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
84 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ListenerPrefix), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
85 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "IndexOf", MemberParameters = new object[] { typeof(char) }, ReturnType = typeof(int))]
86 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "IndexOf", MemberParameters = new object[]
87 {
88 typeof(string),
90 }, ReturnType = typeof(int))]
91 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EndPointManager), Member = "GetEPListener", MemberParameters = new object[]
92 {
93 typeof(string),
94 typeof(int),
95 typeof(HttpListener),
96 typeof(bool)
97 }, ReturnType = typeof(EndPointListener))]
98 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EndPointListener), Member = "AddPrefix", MemberParameters = new object[]
99 {
100 typeof(ListenerPrefix),
101 typeof(HttpListener)
102 }, ReturnType = typeof(void))]
103 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HttpListenerException), Member = ".ctor", MemberParameters = new object[]
104 {
105 typeof(int),
106 typeof(string)
107 }, ReturnType = typeof(void))]
108 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
109 private static void AddPrefixInternal(string p, HttpListener listener)
110 {
111 throw null;
112 }
113
114 [global::Cpp2ILInjected.Token(Token = "0x6000E8F")]
115 [global::Cpp2ILInjected.Address(RVA = "0x1F47AFC", Offset = "0x1F47AFC", Length = "0x3CC")]
116 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
117 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(EndPointManager), Member = "AddPrefixInternal", MemberParameters = new object[]
118 {
119 typeof(string),
121 }, ReturnType = typeof(void))]
122 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(EndPointManager), Member = "RemovePrefixInternal", MemberParameters = new object[]
123 {
124 typeof(string),
125 typeof(HttpListener)
126 }, ReturnType = typeof(void))]
127 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
128 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "op_Equality", MemberParameters = new object[]
129 {
130 typeof(string),
131 typeof(string)
132 }, ReturnType = typeof(bool))]
133 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(IPAddress), Member = "TryParse", MemberParameters = new object[]
134 {
135 typeof(string),
136 typeof(ref IPAddress)
137 }, ReturnType = typeof(bool))]
138 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dns), Member = "GetHostByName", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(IPHostEntry))]
139 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Hashtable), Member = ".ctor", ReturnType = typeof(void))]
140 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EndPointListener), Member = ".ctor", MemberParameters = new object[]
141 {
142 typeof(HttpListener),
143 typeof(IPAddress),
144 typeof(int),
145 typeof(bool)
146 }, ReturnType = typeof(void))]
147 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 32)]
148 private static EndPointListener GetEPListener(string host, int port, HttpListener listener, bool secure)
149 {
150 throw null;
151 }
152
153 [global::Cpp2ILInjected.Token(Token = "0x6000E90")]
154 [global::Cpp2ILInjected.Address(RVA = "0x1F4630C", Offset = "0x1F4630C", Length = "0x230")]
155 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
156 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
157 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Enter", MemberParameters = new object[]
158 {
159 typeof(object),
160 typeof(ref bool)
161 }, ReturnType = typeof(void))]
162 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EndPointListener), Member = "Close", ReturnType = typeof(void))]
163 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Exit", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
164 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 14)]
166 {
167 throw null;
168 }
169
170 [global::Cpp2ILInjected.Token(Token = "0x6000E91")]
171 [global::Cpp2ILInjected.Address(RVA = "0x1F47EC8", Offset = "0x1F47EC8", Length = "0x354")]
172 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
173 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(HttpListener), Member = "Close", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
174 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(HttpListenerPrefixCollection), Member = "Clear", ReturnType = typeof(void))]
175 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
176 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Enter", MemberParameters = new object[]
177 {
178 typeof(object),
179 typeof(ref bool)
180 }, ReturnType = typeof(void))]
181 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HttpListener), Member = "CheckDisposed", ReturnType = typeof(void))]
182 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HttpListenerPrefixCollection), Member = "GetEnumerator", ReturnType = typeof(IEnumerator<string>))]
183 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EndPointManager), Member = "RemovePrefixInternal", MemberParameters = new object[]
184 {
185 typeof(string),
186 typeof(HttpListener)
187 }, ReturnType = typeof(void))]
188 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Exit", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
189 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 20)]
190 public static void RemoveListener(HttpListener listener)
191 {
192 throw null;
193 }
194
195 [global::Cpp2ILInjected.Token(Token = "0x6000E92")]
196 [global::Cpp2ILInjected.Address(RVA = "0x1F478C4", Offset = "0x1F478C4", Length = "0x11C")]
197 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
198 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(EndPointManager), Member = "AddListener", MemberParameters = new object[] { typeof(HttpListener) }, ReturnType = typeof(void))]
199 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(HttpListenerPrefixCollection), Member = "Remove", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
200 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
201 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Enter", MemberParameters = new object[]
202 {
203 typeof(object),
204 typeof(ref bool)
205 }, ReturnType = typeof(void))]
206 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EndPointManager), Member = "RemovePrefixInternal", MemberParameters = new object[]
207 {
208 typeof(string),
209 typeof(HttpListener)
210 }, ReturnType = typeof(void))]
211 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Exit", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
212 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
213 public static void RemovePrefix(string prefix, HttpListener listener)
214 {
215 throw null;
216 }
217
218 [global::Cpp2ILInjected.Token(Token = "0x6000E93")]
219 [global::Cpp2ILInjected.Address(RVA = "0x1F4821C", Offset = "0x1F4821C", Length = "0x108")]
220 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
221 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(EndPointManager), Member = "RemoveListener", MemberParameters = new object[] { typeof(HttpListener) }, ReturnType = typeof(void))]
222 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(EndPointManager), Member = "RemovePrefix", MemberParameters = new object[]
223 {
224 typeof(string),
225 typeof(HttpListener)
226 }, ReturnType = typeof(void))]
227 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
228 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ListenerPrefix), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
229 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "IndexOf", MemberParameters = new object[] { typeof(char) }, ReturnType = typeof(int))]
230 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "IndexOf", MemberParameters = new object[]
231 {
232 typeof(string),
234 }, ReturnType = typeof(int))]
235 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EndPointManager), Member = "GetEPListener", MemberParameters = new object[]
236 {
237 typeof(string),
238 typeof(int),
239 typeof(HttpListener),
240 typeof(bool)
241 }, ReturnType = typeof(EndPointListener))]
242 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EndPointListener), Member = "RemovePrefix", MemberParameters = new object[]
243 {
244 typeof(ListenerPrefix),
245 typeof(HttpListener)
246 }, ReturnType = typeof(void))]
247 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
248 private static void RemovePrefixInternal(string prefix, HttpListener listener)
249 {
250 throw null;
251 }
252
253 // Note: this type is marked as 'beforefieldinit'.
254 [global::Cpp2ILInjected.Token(Token = "0x6000E94")]
255 [global::Cpp2ILInjected.Address(RVA = "0x1F48324", Offset = "0x1F48324", Length = "0x70")]
256 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
257 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Hashtable), Member = ".ctor", ReturnType = typeof(void))]
258 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
260 {
261 throw null;
262 }
263
264 [global::Cpp2ILInjected.Token(Token = "0x4000BE1")]
266 }
267}
class f__AnonymousType0<< Count > j__TPar
static void AddPrefixInternal(string p, HttpListener listener)
static void RemovePrefix(string prefix, HttpListener listener)
static void RemoveEndPoint(EndPointListener epl, IPEndPoint ep)
static void AddPrefix(string prefix, HttpListener listener)
static void RemoveListener(HttpListener listener)
static void RemovePrefixInternal(string prefix, HttpListener listener)
static EndPointListener GetEPListener(string host, int port, HttpListener listener, bool secure)
static Hashtable ip_to_endpoints
static void AddListener(HttpListener listener)