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
WebUtility.cs
Go to the documentation of this file.
1using System;
3using System.IO;
6using System.Text;
9
10namespace System.Net
11{
12 [global::Cpp2ILInjected.Token(Token = "0x20001E0")]
13 public static class WebUtility
14 {
15 [global::Cpp2ILInjected.Token(Token = "0x6000BE4")]
16 [global::Cpp2ILInjected.Address(RVA = "0x1F20F78", Offset = "0x1F20F78", Length = "0x118")]
17 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(HttpListenerRequest), Member = "FinishInitialization", ReturnType = typeof(bool))]
18 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
19 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "IsNullOrEmpty", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
20 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WebUtility), Member = "IndexOfHtmlEncodingChars", MemberParameters = new object[]
21 {
22 typeof(string),
23 typeof(int)
24 }, ReturnType = typeof(int))]
25 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CultureInfo), Member = "get_InvariantCulture", ReturnType = typeof(CultureInfo))]
26 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StringWriter), Member = ".ctor", MemberParameters = new object[] { typeof(IFormatProvider) }, ReturnType = typeof(void))]
27 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WebUtility), Member = "HtmlEncode", MemberParameters = new object[]
28 {
29 typeof(string),
31 }, ReturnType = typeof(void))]
32 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
33 public static string HtmlEncode(string value)
34 {
35 throw null;
36 }
37
38 [global::Cpp2ILInjected.Token(Token = "0x6000BE5")]
39 [global::Cpp2ILInjected.Address(RVA = "0x1F211DC", Offset = "0x1F211DC", Length = "0x3B0")]
40 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
41 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WebUtility), Member = "HtmlEncode", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
42 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
43 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WebUtility), Member = "IndexOfHtmlEncodingChars", MemberParameters = new object[]
44 {
45 typeof(string),
46 typeof(int)
47 }, ReturnType = typeof(int))]
48 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WebUtility), Member = "get_HtmlEncodeConformance", ReturnType = typeof(UnicodeEncodingConformance))]
49 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RuntimeHelpers), Member = "get_OffsetToStringData", ReturnType = typeof(int))]
50 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(char), Member = "IsSurrogate", MemberParameters = new object[] { typeof(char) }, ReturnType = typeof(bool))]
51 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WebUtility), Member = "GetNextUnicodeScalarValueFromUtf16Surrogate", MemberParameters = new object[]
52 {
53 typeof(ref char*),
54 typeof(ref int)
55 }, ReturnType = typeof(int))]
56 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NumberFormatInfo), Member = "get_InvariantInfo", ReturnType = typeof(NumberFormatInfo))]
57 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(int), Member = "ToString", MemberParameters = new object[] { typeof(IFormatProvider) }, ReturnType = typeof(string))]
58 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
59 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 18)]
60 public unsafe static void HtmlEncode(string value, TextWriter output)
61 {
62 throw null;
63 }
64
65 [global::Cpp2ILInjected.Token(Token = "0x6000BE6")]
66 [global::Cpp2ILInjected.Address(RVA = "0x1F21728", Offset = "0x1F21728", Length = "0x110")]
67 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
68 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "IsNullOrEmpty", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
69 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WebUtility), Member = "StringRequiresHtmlDecoding", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
70 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CultureInfo), Member = "get_InvariantCulture", ReturnType = typeof(CultureInfo))]
71 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StringWriter), Member = ".ctor", MemberParameters = new object[] { typeof(IFormatProvider) }, ReturnType = typeof(void))]
72 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WebUtility), Member = "HtmlDecode", MemberParameters = new object[]
73 {
74 typeof(string),
76 }, ReturnType = typeof(void))]
77 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
78 public static string HtmlDecode(string value)
79 {
80 throw null;
81 }
82
83 [global::Cpp2ILInjected.Token(Token = "0x6000BE7")]
84 [global::Cpp2ILInjected.Address(RVA = "0x1F21938", Offset = "0x1F21938", Length = "0x408")]
85 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
86 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WebUtility), Member = "HtmlDecode", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
87 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
88 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WebUtility), Member = "StringRequiresHtmlDecoding", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
89 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WebUtility), Member = "get_HtmlDecodeConformance", ReturnType = typeof(UnicodeDecodingConformance))]
90 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "get_Chars", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(char))]
91 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "IndexOfAny", MemberParameters = new object[]
92 {
93 typeof(char[]),
94 typeof(int)
95 }, ReturnType = typeof(int))]
96 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Substring", MemberParameters = new object[]
97 {
98 typeof(int),
99 typeof(int)
100 }, ReturnType = typeof(string))]
101 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Substring", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(string))]
102 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NumberFormatInfo), Member = "get_InvariantInfo", ReturnType = typeof(NumberFormatInfo))]
103 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WebUtility.HtmlEntities), Member = "Lookup", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(char))]
104 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(uint), Member = "TryParse", MemberParameters = new object[]
105 {
106 typeof(string),
109 typeof(ref uint)
110 }, ReturnType = typeof(bool))]
111 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
112 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 12)]
113 public static void HtmlDecode(string value, TextWriter output)
114 {
115 throw null;
116 }
117
118 [global::Cpp2ILInjected.Token(Token = "0x6000BE8")]
119 [global::Cpp2ILInjected.Address(RVA = "0x1F21090", Offset = "0x1F21090", Length = "0x14C")]
120 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
121 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WebUtility), Member = "HtmlEncode", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
122 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WebUtility), Member = "HtmlEncode", MemberParameters = new object[]
123 {
124 typeof(string),
126 }, ReturnType = typeof(void))]
127 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
128 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WebUtility), Member = "get_HtmlEncodeConformance", ReturnType = typeof(UnicodeEncodingConformance))]
129 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RuntimeHelpers), Member = "get_OffsetToStringData", ReturnType = typeof(int))]
130 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(char), Member = "IsSurrogate", MemberParameters = new object[] { typeof(char) }, ReturnType = typeof(bool))]
131 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
132 private static int IndexOfHtmlEncodingChars(string s, int startPos)
133 {
134 throw null;
135 }
136
137 [global::Cpp2ILInjected.Token(Token = "0x17000277")]
139 {
140 [global::Cpp2ILInjected.Token(Token = "0x6000BE9")]
141 [global::Cpp2ILInjected.Address(RVA = "0x1F21D40", Offset = "0x1F21D40", Length = "0xE4")]
142 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
143 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WebUtility), Member = "HtmlDecode", MemberParameters = new object[]
144 {
145 typeof(string),
147 }, ReturnType = typeof(void))]
148 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WebUtility), Member = "StringRequiresHtmlDecoding", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
149 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
150 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
151 get
152 {
153 throw null;
154 }
155 }
156
157 [global::Cpp2ILInjected.Token(Token = "0x17000278")]
159 {
160 [global::Cpp2ILInjected.Token(Token = "0x6000BEA")]
161 [global::Cpp2ILInjected.Address(RVA = "0x1F2158C", Offset = "0x1F2158C", Length = "0xE4")]
162 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
163 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WebUtility), Member = "HtmlEncode", MemberParameters = new object[]
164 {
165 typeof(string),
167 }, ReturnType = typeof(void))]
168 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WebUtility), Member = "IndexOfHtmlEncodingChars", MemberParameters = new object[]
169 {
170 typeof(string),
171 typeof(int)
172 }, ReturnType = typeof(int))]
173 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
174 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
175 get
176 {
177 throw null;
178 }
179 }
180
181 [global::Cpp2ILInjected.Token(Token = "0x6000BEB")]
182 [global::Cpp2ILInjected.Address(RVA = "0x1F21E5C", Offset = "0x1F21E5C", Length = "0xD0")]
183 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
184 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WebUtility), Member = "UrlEncode", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
185 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WebUtility), Member = "UrlEncodeToBytes", MemberParameters = new object[]
186 {
187 typeof(byte[]),
188 typeof(int),
189 typeof(int)
190 }, ReturnType = typeof(byte[]))]
191 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
192 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WebUtility), Member = "UrlEncode", MemberParameters = new object[]
193 {
194 typeof(byte[]),
195 typeof(int),
196 typeof(int)
197 }, ReturnType = typeof(byte[]))]
198 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Array), Member = "Clone", ReturnType = typeof(object))]
199 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
200 private static byte[] UrlEncode(byte[] bytes, int offset, int count, bool alwaysCreateNewReturnValue)
201 {
202 throw null;
203 }
204
205 [global::Cpp2ILInjected.Token(Token = "0x6000BEC")]
206 [global::Cpp2ILInjected.Address(RVA = "0x1F21F2C", Offset = "0x1F21F2C", Length = "0x2D4")]
207 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
208 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WebUtility), Member = "UrlEncode", MemberParameters = new object[]
209 {
210 typeof(byte[]),
211 typeof(int),
212 typeof(int),
213 typeof(bool)
214 }, ReturnType = typeof(byte[]))]
215 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
216 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WebUtility), Member = "ValidateUrlEncodingParameters", MemberParameters = new object[]
217 {
218 typeof(byte[]),
219 typeof(int),
220 typeof(int)
221 }, ReturnType = typeof(bool))]
222 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Buffer), Member = "BlockCopy", MemberParameters = new object[]
223 {
224 typeof(Array),
225 typeof(int),
226 typeof(Array),
227 typeof(int),
228 typeof(int)
229 }, ReturnType = typeof(void))]
230 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
231 private static byte[] UrlEncode(byte[] bytes, int offset, int count)
232 {
233 throw null;
234 }
235
236 [global::Cpp2ILInjected.Token(Token = "0x6000BED")]
237 [global::Cpp2ILInjected.Address(RVA = "0x1F22368", Offset = "0x1F22368", Length = "0xBC")]
238 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
239 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
240 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Encoding), Member = "get_UTF8", ReturnType = typeof(Encoding))]
241 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WebUtility), Member = "UrlEncode", MemberParameters = new object[]
242 {
243 typeof(byte[]),
244 typeof(int),
245 typeof(int),
246 typeof(bool)
247 }, ReturnType = typeof(byte[]))]
248 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
249 public static string UrlEncode(string value)
250 {
251 throw null;
252 }
253
254 [global::Cpp2ILInjected.Token(Token = "0x6000BEE")]
255 [global::Cpp2ILInjected.Address(RVA = "0x1F22424", Offset = "0x1F22424", Length = "0x70")]
256 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
257 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WebUtility), Member = "UrlEncode", MemberParameters = new object[]
258 {
259 typeof(byte[]),
260 typeof(int),
261 typeof(int),
262 typeof(bool)
263 }, ReturnType = typeof(byte[]))]
264 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
265 public static byte[] UrlEncodeToBytes(byte[] value, int offset, int count)
266 {
267 throw null;
268 }
269
270 [global::Cpp2ILInjected.Token(Token = "0x6000BEF")]
271 [global::Cpp2ILInjected.Address(RVA = "0x1F22494", Offset = "0x1F22494", Length = "0x21C")]
272 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
273 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WebUtility), Member = "UrlDecode", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
274 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
275 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WebUtility.UrlDecoder), Member = ".ctor", MemberParameters = new object[]
276 {
277 typeof(int),
279 }, ReturnType = typeof(void))]
280 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "get_Chars", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(char))]
281 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WebUtility.UrlDecoder), Member = "AddChar", MemberParameters = new object[] { typeof(char) }, ReturnType = typeof(void))]
282 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WebUtility.UrlDecoder), Member = "AddByte", MemberParameters = new object[] { typeof(byte) }, ReturnType = typeof(void))]
283 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WebUtility.UrlDecoder), Member = "GetString", ReturnType = typeof(string))]
284 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
285 private static string UrlDecodeInternal(string value, Encoding encoding)
286 {
287 throw null;
288 }
289
290 [global::Cpp2ILInjected.Token(Token = "0x6000BF0")]
291 [global::Cpp2ILInjected.Address(RVA = "0x1F22700", Offset = "0x1F22700", Length = "0x214")]
292 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
293 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WebUtility), Member = "UrlDecodeToBytes", MemberParameters = new object[]
294 {
295 typeof(byte[]),
296 typeof(int),
297 typeof(int)
298 }, ReturnType = typeof(byte[]))]
299 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
300 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WebUtility), Member = "ValidateUrlEncodingParameters", MemberParameters = new object[]
301 {
302 typeof(byte[]),
303 typeof(int),
304 typeof(int)
305 }, ReturnType = typeof(bool))]
306 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Array), Member = "Copy", MemberParameters = new object[]
307 {
308 typeof(Array),
309 typeof(Array),
310 typeof(int)
311 }, ReturnType = typeof(void))]
312 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
313 private static byte[] UrlDecodeInternal(byte[] bytes, int offset, int count)
314 {
315 throw null;
316 }
317
318 [global::Cpp2ILInjected.Token(Token = "0x6000BF1")]
319 [global::Cpp2ILInjected.Address(RVA = "0x1F22914", Offset = "0x1F22914", Length = "0x7C")]
320 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(EndPointListener), Member = "SearchListener", MemberParameters = new object[]
321 {
322 typeof(Uri),
324 }, ReturnType = typeof(HttpListener))]
325 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(HttpListenerRequest), Member = "CreateQueryString", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
326 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
327 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Encoding), Member = "get_UTF8", ReturnType = typeof(Encoding))]
328 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WebUtility), Member = "UrlDecodeInternal", MemberParameters = new object[]
329 {
330 typeof(string),
332 }, ReturnType = typeof(string))]
333 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
334 public static string UrlDecode(string encodedValue)
335 {
336 throw null;
337 }
338
339 [global::Cpp2ILInjected.Token(Token = "0x6000BF2")]
340 [global::Cpp2ILInjected.Address(RVA = "0x1F22990", Offset = "0x1F22990", Length = "0x6C")]
341 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
342 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WebUtility), Member = "UrlDecodeInternal", MemberParameters = new object[]
343 {
344 typeof(byte[]),
345 typeof(int),
346 typeof(int)
347 }, ReturnType = typeof(byte[]))]
348 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
349 public static byte[] UrlDecodeToBytes(byte[] encodedValue, int offset, int count)
350 {
351 throw null;
352 }
353
354 [global::Cpp2ILInjected.Token(Token = "0x6000BF3")]
355 [global::Cpp2ILInjected.Address(RVA = "0x1F21E24", Offset = "0x1F21E24", Length = "0x38")]
356 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
357 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
359 {
360 throw null;
361 }
362
363 [global::Cpp2ILInjected.Token(Token = "0x6000BF4")]
364 [global::Cpp2ILInjected.Address(RVA = "0x1F21670", Offset = "0x1F21670", Length = "0xB8")]
365 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
366 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WebUtility), Member = "HtmlEncode", MemberParameters = new object[]
367 {
368 typeof(string),
370 }, ReturnType = typeof(void))]
371 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
372 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(char), Member = "IsSurrogatePair", MemberParameters = new object[]
373 {
374 typeof(char),
375 typeof(char)
376 }, ReturnType = typeof(bool))]
377 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
379 {
380 throw null;
381 }
382
383 [global::Cpp2ILInjected.Token(Token = "0x6000BF5")]
384 [global::Cpp2ILInjected.Address(RVA = "0x1F226B0", Offset = "0x1F226B0", Length = "0x50")]
385 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
386 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
387 private static int HexToInt(char h)
388 {
389 throw null;
390 }
391
392 [global::Cpp2ILInjected.Token(Token = "0x6000BF6")]
393 [global::Cpp2ILInjected.Address(RVA = "0x1F22350", Offset = "0x1F22350", Length = "0x18")]
394 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
395 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
396 private static char IntToHex(int n)
397 {
398 throw null;
399 }
400
401 [global::Cpp2ILInjected.Token(Token = "0x6000BF7")]
402 [global::Cpp2ILInjected.Address(RVA = "0x1F222DC", Offset = "0x1F222DC", Length = "0x74")]
403 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
404 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
405 private static bool IsUrlSafeChar(char ch)
406 {
407 throw null;
408 }
409
410 [global::Cpp2ILInjected.Token(Token = "0x6000BF8")]
411 [global::Cpp2ILInjected.Address(RVA = "0x1F22200", Offset = "0x1F22200", Length = "0xDC")]
412 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
413 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WebUtility), Member = "UrlEncode", MemberParameters = new object[]
414 {
415 typeof(byte[]),
416 typeof(int),
417 typeof(int)
418 }, ReturnType = typeof(byte[]))]
419 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WebUtility), Member = "UrlDecodeInternal", MemberParameters = new object[]
420 {
421 typeof(byte[]),
422 typeof(int),
423 typeof(int)
424 }, ReturnType = typeof(byte[]))]
425 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
426 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
427 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
428 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
429 private static bool ValidateUrlEncodingParameters(byte[] bytes, int offset, int count)
430 {
431 throw null;
432 }
433
434 [global::Cpp2ILInjected.Token(Token = "0x6000BF9")]
435 [global::Cpp2ILInjected.Address(RVA = "0x1F21838", Offset = "0x1F21838", Length = "0x100")]
436 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
437 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WebUtility), Member = "HtmlDecode", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
438 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WebUtility), Member = "HtmlDecode", MemberParameters = new object[]
439 {
440 typeof(string),
442 }, ReturnType = typeof(void))]
443 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
444 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WebUtility), Member = "get_HtmlDecodeConformance", ReturnType = typeof(UnicodeDecodingConformance))]
445 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "IndexOf", MemberParameters = new object[] { typeof(char) }, ReturnType = typeof(int))]
446 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "get_Chars", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(char))]
447 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(char), Member = "IsSurrogate", MemberParameters = new object[] { typeof(char) }, ReturnType = typeof(bool))]
448 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
449 private static bool StringRequiresHtmlDecoding(string s)
450 {
451 throw null;
452 }
453
454 // Note: this type is marked as 'beforefieldinit'.
455 [global::Cpp2ILInjected.Token(Token = "0x6000BFA")]
456 [global::Cpp2ILInjected.Address(RVA = "0x1F229FC", Offset = "0x1F229FC", Length = "0x1094")]
457 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
458 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
459 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
460 static WebUtility()
461 {
462 throw null;
463 }
464
465 [global::Cpp2ILInjected.Token(Token = "0x4000A1E")]
466 private const char HIGH_SURROGATE_START = '\ud800';
467
468 [global::Cpp2ILInjected.Token(Token = "0x4000A1F")]
469 private const char LOW_SURROGATE_START = '\udc00';
470
471 [global::Cpp2ILInjected.Token(Token = "0x4000A20")]
472 private const char LOW_SURROGATE_END = '\udfff';
473
474 [global::Cpp2ILInjected.Token(Token = "0x4000A21")]
475 private const int UNICODE_PLANE00_END = 65535;
476
477 [global::Cpp2ILInjected.Token(Token = "0x4000A22")]
478 private const int UNICODE_PLANE01_START = 65536;
479
480 [global::Cpp2ILInjected.Token(Token = "0x4000A23")]
481 private const int UNICODE_PLANE16_END = 1114111;
482
483 [global::Cpp2ILInjected.Token(Token = "0x4000A24")]
484 private const int UnicodeReplacementChar = 65533;
485
486 [global::Cpp2ILInjected.Token(Token = "0x4000A25")]
487 private static readonly char[] _htmlEntityEndingChars;
488
489 [global::Cpp2ILInjected.Token(Token = "0x4000A26")]
491
492 [global::Cpp2ILInjected.Token(Token = "0x4000A27")]
494
495 [global::Cpp2ILInjected.Token(Token = "0x20001E1")]
496 private class UrlDecoder
497 {
498 [global::Cpp2ILInjected.Token(Token = "0x6000BFB")]
499 [global::Cpp2ILInjected.Address(RVA = "0x1F23A90", Offset = "0x1F23A90", Length = "0x58")]
500 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
501 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WebUtility.UrlDecoder), Member = "AddChar", MemberParameters = new object[] { typeof(char) }, ReturnType = typeof(void))]
502 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WebUtility.UrlDecoder), Member = "GetString", ReturnType = typeof(string))]
503 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
504 private void FlushBytes()
505 {
506 throw null;
507 }
508
509 [global::Cpp2ILInjected.Token(Token = "0x6000BFC")]
510 [global::Cpp2ILInjected.Address(RVA = "0x1F23AE8", Offset = "0x1F23AE8", Length = "0x74")]
511 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WebUtility), Member = "UrlDecodeInternal", MemberParameters = new object[]
512 {
513 typeof(string),
515 }, ReturnType = typeof(string))]
516 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
517 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
518 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
519 internal UrlDecoder(int bufferSize, Encoding encoding)
520 {
521 throw null;
522 }
523
524 [global::Cpp2ILInjected.Token(Token = "0x6000BFD")]
525 [global::Cpp2ILInjected.Address(RVA = "0x1F23B5C", Offset = "0x1F23B5C", Length = "0x48")]
526 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
527 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WebUtility), Member = "UrlDecodeInternal", MemberParameters = new object[]
528 {
529 typeof(string),
531 }, ReturnType = typeof(string))]
532 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
533 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WebUtility.UrlDecoder), Member = "FlushBytes", ReturnType = typeof(void))]
534 internal void AddChar(char ch)
535 {
536 throw null;
537 }
538
539 [global::Cpp2ILInjected.Token(Token = "0x6000BFE")]
540 [global::Cpp2ILInjected.Address(RVA = "0x1F23BA4", Offset = "0x1F23BA4", Length = "0x70")]
541 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
542 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WebUtility), Member = "UrlDecodeInternal", MemberParameters = new object[]
543 {
544 typeof(string),
546 }, ReturnType = typeof(string))]
547 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
548 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
549 internal void AddByte(byte b)
550 {
551 throw null;
552 }
553
554 [global::Cpp2ILInjected.Token(Token = "0x6000BFF")]
555 [global::Cpp2ILInjected.Address(RVA = "0x1F23C14", Offset = "0x1F23C14", Length = "0x88")]
556 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
557 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WebUtility), Member = "UrlDecodeInternal", MemberParameters = new object[]
558 {
559 typeof(string),
561 }, ReturnType = typeof(string))]
562 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
563 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WebUtility.UrlDecoder), Member = "FlushBytes", ReturnType = typeof(void))]
564 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "CreateString", MemberParameters = new object[]
565 {
566 typeof(char[]),
567 typeof(int),
568 typeof(int)
569 }, ReturnType = typeof(string))]
570 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
571 internal string GetString()
572 {
573 throw null;
574 }
575
576 [global::Cpp2ILInjected.Token(Token = "0x4000A28")]
577 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
578 private int _bufferSize;
579
580 [global::Cpp2ILInjected.Token(Token = "0x4000A29")]
581 [global::Cpp2ILInjected.FieldOffset(Offset = "0x14")]
582 private int _numChars;
583
584 [global::Cpp2ILInjected.Token(Token = "0x4000A2A")]
585 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
586 private char[] _charBuffer;
587
588 [global::Cpp2ILInjected.Token(Token = "0x4000A2B")]
589 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
590 private int _numBytes;
591
592 [global::Cpp2ILInjected.Token(Token = "0x4000A2C")]
593 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
594 private byte[] _byteBuffer;
595
596 [global::Cpp2ILInjected.Token(Token = "0x4000A2D")]
597 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
599 }
600
601 [global::Cpp2ILInjected.Token(Token = "0x20001E2")]
602 private static class HtmlEntities
603 {
604 [global::Cpp2ILInjected.Token(Token = "0x6000C00")]
605 [global::Cpp2ILInjected.Address(RVA = "0x1F23C9C", Offset = "0x1F23C9C", Length = "0xD0")]
606 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
607 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WebUtility), Member = "HtmlDecode", MemberParameters = new object[]
608 {
609 typeof(string),
611 }, ReturnType = typeof(void))]
612 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
613 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WebUtility.HtmlEntities), Member = "CalculateKeyValue", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(long))]
614 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Array), Member = "BinarySearch", MemberTypeParameters = new object[] { "T" }, MemberParameters = new object[] { "T[]", "T" }, ReturnType = typeof(int))]
615 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
616 public static char Lookup(string entity)
617 {
618 throw null;
619 }
620
621 [global::Cpp2ILInjected.Token(Token = "0x6000C01")]
622 [global::Cpp2ILInjected.Address(RVA = "0x1F23D6C", Offset = "0x1F23D6C", Length = "0x8C")]
623 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
624 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WebUtility.HtmlEntities), Member = "Lookup", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(char))]
625 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
626 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "get_Chars", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(char))]
627 private static long CalculateKeyValue(string s)
628 {
629 throw null;
630 }
631
632 // Note: this type is marked as 'beforefieldinit'.
633 [global::Cpp2ILInjected.Token(Token = "0x6000C02")]
634 [global::Cpp2ILInjected.Address(RVA = "0x1F23DF8", Offset = "0x1F23DF8", Length = "0xEC")]
635 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
636 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RuntimeHelpers), Member = "InitializeArray", MemberParameters = new object[]
637 {
638 typeof(Array),
640 }, ReturnType = typeof(void))]
641 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
643 {
644 throw null;
645 }
646
647 [global::Cpp2ILInjected.Token(Token = "0x4000A2E")]
648 private static readonly long[] entities;
649
650 [global::Cpp2ILInjected.Token(Token = "0x4000A2F")]
651 private static readonly char[] entities_values;
652 }
653 }
654}
class f__AnonymousType0<< Count > j__TPar
static readonly long[] entities
static readonly char[] entities_values
static long CalculateKeyValue(string s)
static char Lookup(string entity)
UrlDecoder(int bufferSize, Encoding encoding)
static UnicodeEncodingConformance HtmlEncodeConformance
static char IntToHex(int n)
static string UrlEncode(string value)
const int UNICODE_PLANE16_END
static byte[] UrlDecodeToBytes(byte[] encodedValue, int offset, int count)
static readonly char[] _htmlEntityEndingChars
static void HtmlDecode(string value, TextWriter output)
static int IndexOfHtmlEncodingChars(string s, int startPos)
static UnicodeDecodingConformance _htmlDecodeConformance
static UnicodeEncodingConformance _htmlEncodeConformance
static unsafe int GetNextUnicodeScalarValueFromUtf16Surrogate(ref char *pch, ref int charsRemaining)
static string UrlDecode(string encodedValue)
const char LOW_SURROGATE_START
static string UrlDecodeInternal(string value, Encoding encoding)
const char LOW_SURROGATE_END
static void ConvertSmpToUtf16(uint smpChar, out char leadingSurrogate, out char trailingSurrogate)
static int HexToInt(char h)
static UnicodeDecodingConformance HtmlDecodeConformance
static byte[] UrlEncodeToBytes(byte[] value, int offset, int count)
const int UnicodeReplacementChar
static byte[] UrlEncode(byte[] bytes, int offset, int count)
const int UNICODE_PLANE00_END
static string HtmlEncode(string value)
Definition WebUtility.cs:33
static unsafe void HtmlEncode(string value, TextWriter output)
Definition WebUtility.cs:60
const char HIGH_SURROGATE_START
static bool ValidateUrlEncodingParameters(byte[] bytes, int offset, int count)
static bool StringRequiresHtmlDecoding(string s)
static byte[] UrlDecodeInternal(byte[] bytes, int offset, int count)
static bool IsUrlSafeChar(char ch)
static string HtmlDecode(string value)
Definition WebUtility.cs:78
const int UNICODE_PLANE01_START
static byte[] UrlEncode(byte[] bytes, int offset, int count, bool alwaysCreateNewReturnValue)