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
UTF32Encoding.cs
Go to the documentation of this file.
1using System;
2using System.IO;
7
8namespace System.Text
9{
10 [global::Cpp2ILInjected.Token(Token = "0x200027A")]
11 [global::System.Serializable]
12 public sealed class UTF32Encoding : Encoding
13 {
14 [global::Cpp2ILInjected.Token(Token = "0x6001588")]
15 [global::Cpp2ILInjected.Address(RVA = "0x1AD7EA4", Offset = "0x1AD7EA4", Length = "0x28")]
16 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
17 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
18 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Encoding), Member = ".ctor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
20 {
21 throw null;
22 }
23
24 [global::Cpp2ILInjected.Token(Token = "0x6001589")]
25 [global::Cpp2ILInjected.Address(RVA = "0x1AD7F3C", Offset = "0x1AD7F3C", Length = "0x40")]
26 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
27 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Encoding), Member = "GetEncoding", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(Encoding))]
28 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Encoding), Member = "get_UTF32", ReturnType = typeof(Encoding))]
29 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.StreamReader), Member = "DetectEncoding", ReturnType = typeof(void))]
30 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
31 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Encoding), Member = ".ctor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
32 public UTF32Encoding(bool bigEndian, bool byteOrderMark)
33 {
34 throw null;
35 }
36
37 [global::Cpp2ILInjected.Token(Token = "0x600158A")]
38 [global::Cpp2ILInjected.Address(RVA = "0x1AD7ECC", Offset = "0x1AD7ECC", Length = "0x70")]
39 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
40 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.TextAsset.EncodingUtility", Member = ".cctor", ReturnType = typeof(void))]
41 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
42 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Encoding), Member = ".ctor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
43 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
44 public UTF32Encoding(bool bigEndian, bool byteOrderMark, bool throwOnInvalidCharacters)
45 {
46 throw null;
47 }
48
49 [global::Cpp2ILInjected.Token(Token = "0x600158B")]
50 [global::Cpp2ILInjected.Address(RVA = "0x1AD7F7C", Offset = "0x1AD7F7C", Length = "0xC8")]
51 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
52 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EncoderFallback), Member = "get_ExceptionFallback", ReturnType = typeof(EncoderFallback))]
53 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DecoderFallback), Member = "get_ExceptionFallback", ReturnType = typeof(DecoderFallback))]
54 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EncoderReplacementFallback), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
55 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DecoderReplacementFallback), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
56 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
57 internal override void SetDefaultFallbacks()
58 {
59 throw null;
60 }
61
62 [global::Cpp2ILInjected.Token(Token = "0x600158C")]
63 [global::Cpp2ILInjected.Address(RVA = "0x1AD8044", Offset = "0x1AD8044", Length = "0x178")]
64 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
65 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
66 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
67 {
68 typeof(string),
69 typeof(string)
70 }, ReturnType = typeof(void))]
71 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[]
72 {
73 typeof(string),
74 typeof(string)
75 }, ReturnType = typeof(void))]
76 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 17)]
77 public override int GetByteCount(char[] chars, int index, int count)
78 {
79 throw null;
80 }
81
82 [global::Cpp2ILInjected.Token(Token = "0x600158D")]
83 [global::Cpp2ILInjected.Address(RVA = "0x1AD81BC", Offset = "0x1AD81BC", Length = "0x8C")]
84 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
85 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.CompilerServices.RuntimeHelpers), Member = "get_OffsetToStringData", ReturnType = typeof(int))]
86 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
87 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
88 public override int GetByteCount(string s)
89 {
90 throw null;
91 }
92
93 [global::System.CLSCompliant(false)]
94 [global::Cpp2ILInjected.Token(Token = "0x600158E")]
95 [global::Cpp2ILInjected.Address(RVA = "0x1AD8248", Offset = "0x1AD8248", Length = "0xD0")]
96 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
97 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[]
98 {
99 typeof(string),
100 typeof(string)
101 }, ReturnType = typeof(void))]
102 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
103 {
104 typeof(string),
105 typeof(string)
106 }, ReturnType = typeof(void))]
107 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
108 public unsafe override int GetByteCount(char* chars, int count)
109 {
110 throw null;
111 }
112
113 [global::Cpp2ILInjected.Token(Token = "0x600158F")]
114 [global::Cpp2ILInjected.Address(RVA = "0x1AD8318", Offset = "0x1AD8318", Length = "0x248")]
115 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
116 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
117 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.CompilerServices.RuntimeHelpers), Member = "get_OffsetToStringData", ReturnType = typeof(int))]
118 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Span<>), Member = "op_Implicit", MemberParameters = new object[] { "T[]" }, ReturnType = "System.Span`1<T>")]
119 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.MemoryMarshal), Member = "GetReference", MemberTypeParameters = new object[] { "T" }, MemberParameters = new object[] { "System.Span`1<T>" }, ReturnType = "T&")]
120 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[]
121 {
122 typeof(string),
123 typeof(string)
124 }, ReturnType = typeof(void))]
125 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
126 {
127 typeof(string),
128 typeof(string)
129 }, ReturnType = typeof(void))]
130 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 22)]
131 public override int GetBytes(string s, int charIndex, int charCount, byte[] bytes, int byteIndex)
132 {
133 throw null;
134 }
135
136 [global::Cpp2ILInjected.Token(Token = "0x6001590")]
137 [global::Cpp2ILInjected.Address(RVA = "0x1AD8560", Offset = "0x1AD8560", Length = "0x264")]
138 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
139 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
140 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Span<>), Member = "op_Implicit", MemberParameters = new object[] { "T[]" }, ReturnType = "System.Span`1<T>")]
141 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.MemoryMarshal), Member = "GetReference", MemberTypeParameters = new object[] { "T" }, MemberParameters = new object[] { "System.Span`1<T>" }, ReturnType = "T&")]
142 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[]
143 {
144 typeof(string),
145 typeof(string)
146 }, ReturnType = typeof(void))]
147 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
148 {
149 typeof(string),
150 typeof(string)
151 }, ReturnType = typeof(void))]
152 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 22)]
153 public override int GetBytes(char[] chars, int charIndex, int charCount, byte[] bytes, int byteIndex)
154 {
155 throw null;
156 }
157
158 [global::System.CLSCompliant(false)]
159 [global::Cpp2ILInjected.Token(Token = "0x6001591")]
160 [global::Cpp2ILInjected.Address(RVA = "0x1AD87C4", Offset = "0x1AD87C4", Length = "0xF8")]
161 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
162 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
163 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[]
164 {
165 typeof(string),
166 typeof(string)
167 }, ReturnType = typeof(void))]
168 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
169 {
170 typeof(string),
171 typeof(string)
172 }, ReturnType = typeof(void))]
173 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
174 public unsafe override int GetBytes(char* chars, int charCount, byte* bytes, int byteCount)
175 {
176 throw null;
177 }
178
179 [global::Cpp2ILInjected.Token(Token = "0x6001592")]
180 [global::Cpp2ILInjected.Address(RVA = "0x1AD88BC", Offset = "0x1AD88BC", Length = "0x178")]
181 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
182 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
183 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
184 {
185 typeof(string),
186 typeof(string)
187 }, ReturnType = typeof(void))]
188 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[]
189 {
190 typeof(string),
191 typeof(string)
192 }, ReturnType = typeof(void))]
193 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 17)]
194 public override int GetCharCount(byte[] bytes, int index, int count)
195 {
196 throw null;
197 }
198
199 [global::System.CLSCompliant(false)]
200 [global::Cpp2ILInjected.Token(Token = "0x6001593")]
201 [global::Cpp2ILInjected.Address(RVA = "0x1AD8A34", Offset = "0x1AD8A34", Length = "0xD0")]
202 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
203 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[]
204 {
205 typeof(string),
206 typeof(string)
207 }, ReturnType = typeof(void))]
208 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
209 {
210 typeof(string),
211 typeof(string)
212 }, ReturnType = typeof(void))]
213 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
214 public unsafe override int GetCharCount(byte* bytes, int count)
215 {
216 throw null;
217 }
218
219 [global::Cpp2ILInjected.Token(Token = "0x6001594")]
220 [global::Cpp2ILInjected.Address(RVA = "0x1AD8B04", Offset = "0x1AD8B04", Length = "0x264")]
221 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
222 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
223 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Span<char>), Member = "op_Implicit", MemberParameters = new object[] { typeof(char[]) }, ReturnType = "System.Span`1<T>")]
224 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.MemoryMarshal[]), Member = "GetReference", MemberTypeParameters = new object[] { typeof(char) }, MemberParameters = new object[] { typeof(global::System.Span<char>) }, ReturnType = "T&")]
225 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[]
226 {
227 typeof(string),
228 typeof(string)
229 }, ReturnType = typeof(void))]
230 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
231 {
232 typeof(string),
233 typeof(string)
234 }, ReturnType = typeof(void))]
235 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 22)]
236 public override int GetChars(byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex)
237 {
238 throw null;
239 }
240
241 [global::System.CLSCompliant(false)]
242 [global::Cpp2ILInjected.Token(Token = "0x6001595")]
243 [global::Cpp2ILInjected.Address(RVA = "0x1AD8D68", Offset = "0x1AD8D68", Length = "0xF8")]
244 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
245 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
246 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[]
247 {
248 typeof(string),
249 typeof(string)
250 }, ReturnType = typeof(void))]
251 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
252 {
253 typeof(string),
254 typeof(string)
255 }, ReturnType = typeof(void))]
256 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
257 public unsafe override int GetChars(byte* bytes, int byteCount, char* chars, int charCount)
258 {
259 throw null;
260 }
261
262 [global::Cpp2ILInjected.Token(Token = "0x6001596")]
263 [global::Cpp2ILInjected.Address(RVA = "0x1AD8E60", Offset = "0x1AD8E60", Length = "0x1BC")]
264 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
265 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
266 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "CreateStringFromEncoding", MemberParameters = new object[]
267 {
268 typeof(byte*),
269 typeof(int),
271 }, ReturnType = typeof(string))]
272 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
273 {
274 typeof(string),
275 typeof(string)
276 }, ReturnType = typeof(void))]
277 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[]
278 {
279 typeof(string),
280 typeof(string)
281 }, ReturnType = typeof(void))]
282 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 17)]
283 public unsafe override string GetString(byte[] bytes, int index, int count)
284 {
285 throw null;
286 }
287
288 [global::Cpp2ILInjected.Token(Token = "0x6001597")]
289 [global::Cpp2ILInjected.Address(RVA = "0x1AD901C", Offset = "0x1AD901C", Length = "0x2AC")]
290 [global::Cpp2ILInjected.CallAnalysis.ContainsInvalidInstructions]
291 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
292 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
293 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Encoder), Member = "get_FallbackBuffer", ReturnType = typeof(EncoderFallbackBuffer))]
294 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = "GetType", ReturnType = typeof(global::System.Type))]
295 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::SR), Member = "Format", MemberParameters = new object[]
296 {
297 typeof(string),
298 typeof(object),
299 typeof(object)
300 }, ReturnType = typeof(string))]
301 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
302 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EncoderFallbackBuffer), Member = "InternalInitialize", MemberParameters = new object[]
303 {
304 typeof(char*),
305 typeof(char*),
306 typeof(EncoderNLS),
307 typeof(bool)
308 }, ReturnType = typeof(void))]
309 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EncoderFallbackBuffer), Member = "InternalGetNextChar", ReturnType = typeof(char))]
310 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(char), Member = "IsLowSurrogate", MemberParameters = new object[] { typeof(char) }, ReturnType = typeof(bool))]
311 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(char), Member = "IsHighSurrogate", MemberParameters = new object[] { typeof(char) }, ReturnType = typeof(bool))]
312 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
313 {
314 typeof(string),
315 typeof(string)
316 }, ReturnType = typeof(void))]
317 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 14)]
318 internal unsafe override int GetByteCount(char* chars, int count, EncoderNLS encoder)
319 {
320 throw null;
321 }
322
323 [global::Cpp2ILInjected.Token(Token = "0x6001598")]
324 [global::Cpp2ILInjected.Address(RVA = "0x1AD92C8", Offset = "0x1AD92C8", Length = "0x3A0")]
325 [global::Cpp2ILInjected.CallAnalysis.ContainsInvalidInstructions]
326 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
327 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
328 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Encoder), Member = "get_FallbackBuffer", ReturnType = typeof(EncoderFallbackBuffer))]
329 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = "GetType", ReturnType = typeof(global::System.Type))]
330 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::SR), Member = "Format", MemberParameters = new object[]
331 {
332 typeof(string),
333 typeof(object),
334 typeof(object)
335 }, ReturnType = typeof(string))]
336 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
337 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EncoderFallbackBuffer), Member = "InternalInitialize", MemberParameters = new object[]
338 {
339 typeof(char*),
340 typeof(char*),
341 typeof(EncoderNLS),
342 typeof(bool)
343 }, ReturnType = typeof(void))]
344 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EncoderFallbackBuffer), Member = "InternalGetNextChar", ReturnType = typeof(char))]
345 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(char), Member = "IsLowSurrogate", MemberParameters = new object[] { typeof(char) }, ReturnType = typeof(bool))]
346 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(char), Member = "IsHighSurrogate", MemberParameters = new object[] { typeof(char) }, ReturnType = typeof(bool))]
347 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Encoding), Member = "ThrowBytesOverflow", MemberParameters = new object[]
348 {
349 typeof(EncoderNLS),
350 typeof(bool)
351 }, ReturnType = typeof(void))]
352 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
353 internal unsafe override int GetBytes(char* chars, int charCount, byte* bytes, int byteCount, EncoderNLS encoder)
354 {
355 throw null;
356 }
357
358 [global::Cpp2ILInjected.Token(Token = "0x6001599")]
359 [global::Cpp2ILInjected.Address(RVA = "0x1AD9684", Offset = "0x1AD9684", Length = "0x2C0")]
360 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
361 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
362 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Decoder), Member = "get_FallbackBuffer", ReturnType = typeof(DecoderFallbackBuffer))]
363 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DecoderFallbackBuffer), Member = "InternalInitialize", MemberParameters = new object[]
364 {
365 typeof(byte*),
366 typeof(char*)
367 }, ReturnType = typeof(void))]
368 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
369 {
370 typeof(string),
371 typeof(string)
372 }, ReturnType = typeof(void))]
373 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
374 internal unsafe override int GetCharCount(byte* bytes, int count, DecoderNLS baseDecoder)
375 {
376 throw null;
377 }
378
379 [global::Cpp2ILInjected.Token(Token = "0x600159A")]
380 [global::Cpp2ILInjected.Address(RVA = "0x1AD9944", Offset = "0x1AD9944", Length = "0x36C")]
381 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
382 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
383 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Decoder), Member = "get_FallbackBuffer", ReturnType = typeof(DecoderFallbackBuffer))]
384 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DecoderFallbackBuffer), Member = "InternalInitialize", MemberParameters = new object[]
385 {
386 typeof(byte*),
387 typeof(char*)
388 }, ReturnType = typeof(void))]
389 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DecoderFallbackBuffer), Member = "InternalReset", ReturnType = typeof(void))]
390 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Encoding), Member = "ThrowCharsOverflow", MemberParameters = new object[]
391 {
392 typeof(DecoderNLS),
393 typeof(bool)
394 }, ReturnType = typeof(void))]
395 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
396 internal unsafe override int GetChars(byte* bytes, int byteCount, char* chars, int charCount, DecoderNLS baseDecoder)
397 {
398 throw null;
399 }
400
401 [global::Cpp2ILInjected.Token(Token = "0x600159B")]
402 [global::Cpp2ILInjected.Address(RVA = "0x1AD9668", Offset = "0x1AD9668", Length = "0x1C")]
403 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
404 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
405 private uint GetSurrogate(char cHigh, char cLow)
406 {
407 throw null;
408 }
409
410 [global::Cpp2ILInjected.Token(Token = "0x600159C")]
411 [global::Cpp2ILInjected.Address(RVA = "0x1AD9CB0", Offset = "0x1AD9CB0", Length = "0x14")]
412 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
413 private char GetHighSurrogate(uint iChar)
414 {
415 throw null;
416 }
417
418 [global::Cpp2ILInjected.Token(Token = "0x600159D")]
419 [global::Cpp2ILInjected.Address(RVA = "0x1AD9CC4", Offset = "0x1AD9CC4", Length = "0xC")]
420 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
421 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
422 private char GetLowSurrogate(uint iChar)
423 {
424 throw null;
425 }
426
427 [global::Cpp2ILInjected.Token(Token = "0x600159E")]
428 [global::Cpp2ILInjected.Address(RVA = "0x1AD9CD0", Offset = "0x1AD9CD0", Length = "0x5C")]
429 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
430 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DecoderNLS), Member = ".ctor", MemberParameters = new object[] { typeof(Encoding) }, ReturnType = typeof(void))]
431 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
432 public override Decoder GetDecoder()
433 {
434 throw null;
435 }
436
437 [global::Cpp2ILInjected.Token(Token = "0x600159F")]
438 [global::Cpp2ILInjected.Address(RVA = "0x1AD9D34", Offset = "0x1AD9D34", Length = "0x74")]
439 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
440 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
441 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Encoder), Member = ".ctor", ReturnType = typeof(void))]
442 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
443 public override Encoder GetEncoder()
444 {
445 throw null;
446 }
447
448 [global::Cpp2ILInjected.Token(Token = "0x60015A0")]
449 [global::Cpp2ILInjected.Address(RVA = "0x1AD9DA8", Offset = "0x1AD9DA8", Length = "0xF4")]
450 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
451 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
452 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
453 {
454 typeof(string),
455 typeof(string)
456 }, ReturnType = typeof(void))]
457 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
458 public override int GetMaxByteCount(int charCount)
459 {
460 throw null;
461 }
462
463 [global::Cpp2ILInjected.Token(Token = "0x60015A1")]
464 [global::Cpp2ILInjected.Address(RVA = "0x1AD9E9C", Offset = "0x1AD9E9C", Length = "0xC0")]
465 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
466 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
467 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
468 {
469 typeof(string),
470 typeof(string)
471 }, ReturnType = typeof(void))]
472 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
473 public override int GetMaxCharCount(int byteCount)
474 {
475 throw null;
476 }
477
478 [global::Cpp2ILInjected.Token(Token = "0x60015A2")]
479 [global::Cpp2ILInjected.Address(RVA = "0x1AD9F5C", Offset = "0x1AD9F5C", Length = "0xC8")]
480 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
481 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
482 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
483 public override byte[] GetPreamble()
484 {
485 throw null;
486 }
487
488 [global::Cpp2ILInjected.Token(Token = "0x17000227")]
489 public override global::System.ReadOnlySpan<byte> Preamble
490 {
491 [global::Cpp2ILInjected.Token(Token = "0x60015A3")]
492 [global::Cpp2ILInjected.Address(RVA = "0x1ADA024", Offset = "0x1ADA024", Length = "0x170")]
493 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
494 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
495 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = "GetType", ReturnType = typeof(global::System.Type))]
496 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Type), Member = "GetTypeFromHandle", MemberParameters = new object[] { typeof(global::System.RuntimeTypeHandle) }, ReturnType = typeof(global::System.Type))]
497 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Type), Member = "op_Inequality", MemberParameters = new object[]
498 {
499 typeof(global::System.Type),
500 typeof(global::System.Type)
501 }, ReturnType = typeof(bool))]
502 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ReadOnlySpan<>), Member = "op_Implicit", MemberParameters = new object[] { "T[]" }, ReturnType = "System.ReadOnlySpan`1<T>")]
503 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
504 get
505 {
506 throw null;
507 }
508 }
509
510 [global::Cpp2ILInjected.Token(Token = "0x60015A4")]
511 [global::Cpp2ILInjected.Address(RVA = "0x1ADA194", Offset = "0x1ADA194", Length = "0xB4")]
512 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
513 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
514 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
515 public override bool Equals(object value)
516 {
517 throw null;
518 }
519
520 [global::Cpp2ILInjected.Token(Token = "0x60015A5")]
521 [global::Cpp2ILInjected.Address(RVA = "0x1ADA248", Offset = "0x1ADA248", Length = "0x70")]
522 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
523 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
524 public override int GetHashCode()
525 {
526 throw null;
527 }
528
529 // Note: this type is marked as 'beforefieldinit'.
530 [global::Cpp2ILInjected.Token(Token = "0x60015A6")]
531 [global::Cpp2ILInjected.Address(RVA = "0x1ADA2B8", Offset = "0x1ADA2B8", Length = "0xF4")]
532 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
533 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
534 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Encoding), Member = ".ctor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
535 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
537 {
538 throw null;
539 }
540
541 [global::Cpp2ILInjected.Token(Token = "0x4000B32")]
543
544 [global::Cpp2ILInjected.Token(Token = "0x4000B33")]
546
547 [global::Cpp2ILInjected.Token(Token = "0x4000B34")]
548 private static readonly byte[] s_bigEndianPreamble;
549
550 [global::Cpp2ILInjected.Token(Token = "0x4000B35")]
551 private static readonly byte[] s_littleEndianPreamble;
552
553 [global::Cpp2ILInjected.Token(Token = "0x4000B36")]
554 [global::Cpp2ILInjected.FieldOffset(Offset = "0x38")]
556
557 [global::Cpp2ILInjected.Token(Token = "0x4000B37")]
558 [global::Cpp2ILInjected.FieldOffset(Offset = "0x39")]
559 private bool _isThrowException;
560
561 [global::Cpp2ILInjected.Token(Token = "0x4000B38")]
562 [global::Cpp2ILInjected.FieldOffset(Offset = "0x3A")]
563 private bool _bigEndian;
564
565 [global::Cpp2ILInjected.Token(Token = "0x200027B")]
566 [global::System.Serializable]
567 private sealed class UTF32Decoder : DecoderNLS
568 {
569 [global::Cpp2ILInjected.Token(Token = "0x60015A7")]
570 [global::Cpp2ILInjected.Address(RVA = "0x1AD9D2C", Offset = "0x1AD9D2C", Length = "0x8")]
571 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
572 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DecoderNLS), Member = ".ctor", MemberParameters = new object[] { typeof(Encoding) }, ReturnType = typeof(void))]
574 {
575 throw null;
576 }
577
578 [global::Cpp2ILInjected.Token(Token = "0x60015A8")]
579 [global::Cpp2ILInjected.Address(RVA = "0x1ADA3AC", Offset = "0x1ADA3AC", Length = "0x20")]
580 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
581 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
582 public override void Reset()
583 {
584 throw null;
585 }
586
587 [global::Cpp2ILInjected.Token(Token = "0x17000228")]
588 internal override bool HasState
589 {
590 [global::Cpp2ILInjected.Token(Token = "0x60015A9")]
591 [global::Cpp2ILInjected.Address(RVA = "0x1ADA3CC", Offset = "0x1ADA3CC", Length = "0x10")]
592 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
593 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
594 get
595 {
596 throw null;
597 }
598 }
599
600 [global::Cpp2ILInjected.Token(Token = "0x4000B39")]
601 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
602 internal int iChar;
603
604 [global::Cpp2ILInjected.Token(Token = "0x4000B3A")]
605 [global::Cpp2ILInjected.FieldOffset(Offset = "0x34")]
606 internal int readByteCount;
607 }
608 }
609}
class f__AnonymousType0<< Count > j__TPar
override void SetDefaultFallbacks()
char GetHighSurrogate(uint iChar)
override int GetByteCount(string s)
static readonly byte[] s_littleEndianPreamble
uint GetSurrogate(char cHigh, char cLow)
static readonly UTF32Encoding s_bigEndianDefault
unsafe override int GetChars(byte *bytes, int byteCount, char *chars, int charCount)
override int GetMaxCharCount(int byteCount)
override Encoder GetEncoder()
override int GetMaxByteCount(int charCount)
static readonly byte[] s_bigEndianPreamble
override global::System.ReadOnlySpan< byte > Preamble
unsafe override int GetCharCount(byte *bytes, int count, DecoderNLS baseDecoder)
unsafe override string GetString(byte[] bytes, int index, int count)
override int GetByteCount(char[] chars, int index, int count)
unsafe override int GetBytes(char *chars, int charCount, byte *bytes, int byteCount)
override byte[] GetPreamble()
unsafe override int GetBytes(char *chars, int charCount, byte *bytes, int byteCount, EncoderNLS encoder)
unsafe override int GetByteCount(char *chars, int count, EncoderNLS encoder)
override int GetChars(byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex)
override int GetCharCount(byte[] bytes, int index, int count)
UTF32Encoding(bool bigEndian, bool byteOrderMark)
UTF32Encoding(bool bigEndian, bool byteOrderMark, bool throwOnInvalidCharacters)
unsafe override int GetByteCount(char *chars, int count)
char GetLowSurrogate(uint iChar)
override Decoder GetDecoder()
unsafe override int GetCharCount(byte *bytes, int count)
override bool Equals(object value)
unsafe override int GetChars(byte *bytes, int byteCount, char *chars, int charCount, DecoderNLS baseDecoder)
override int GetBytes(string s, int charIndex, int charCount, byte[] bytes, int byteIndex)
static readonly UTF32Encoding s_default
override int GetBytes(char[] chars, int charIndex, int charCount, byte[] bytes, int byteIndex)