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
UnicodeEncoding.cs
Go to the documentation of this file.
1using System;
2using System.IO;
7
8namespace System.Text
9{
10 [global::Cpp2ILInjected.Token(Token = "0x2000285")]
11 [global::System.Serializable]
13 {
14 [global::Cpp2ILInjected.Token(Token = "0x60015FF")]
15 [global::Cpp2ILInjected.Address(RVA = "0x1ADF8CC", Offset = "0x1ADF8CC", Length = "0x34")]
16 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
17 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Player_OldConsole", Member = ".cctor", ReturnType = typeof(void))]
18 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Player_OldSwitch", Member = ".cctor", ReturnType = typeof(void))]
19 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.Player", Member = ".cctor", ReturnType = typeof(void))]
20 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
21 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Encoding), Member = ".ctor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
23 {
24 throw null;
25 }
26
27 [global::Cpp2ILInjected.Token(Token = "0x6001600")]
28 [global::Cpp2ILInjected.Address(RVA = "0x1ADF900", Offset = "0x1ADF900", Length = "0x48")]
29 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
30 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Encoding), Member = "get_Unicode", ReturnType = typeof(Encoding))]
31 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Encoding), Member = "get_BigEndianUnicode", ReturnType = typeof(Encoding))]
32 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.StringWriter), Member = "get_Encoding", ReturnType = typeof(Encoding))]
33 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
34 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Encoding), Member = ".ctor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
36 {
37 throw null;
38 }
39
40 [global::Cpp2ILInjected.Token(Token = "0x6001601")]
41 [global::Cpp2ILInjected.Address(RVA = "0x1ADF948", Offset = "0x1ADF948", Length = "0x78")]
42 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
43 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.TextAsset.EncodingUtility", Member = ".cctor", ReturnType = typeof(void))]
44 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
45 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Encoding), Member = ".ctor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
46 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
48 {
49 throw null;
50 }
51
52 [global::Cpp2ILInjected.Token(Token = "0x6001602")]
53 [global::Cpp2ILInjected.Address(RVA = "0x1ADF9C0", Offset = "0x1ADF9C0", Length = "0xC8")]
54 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
55 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EncoderFallback), Member = "get_ExceptionFallback", ReturnType = typeof(EncoderFallback))]
56 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DecoderFallback), Member = "get_ExceptionFallback", ReturnType = typeof(DecoderFallback))]
57 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EncoderReplacementFallback), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
58 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DecoderReplacementFallback), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
59 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
60 internal override void SetDefaultFallbacks()
61 {
62 throw null;
63 }
64
65 [global::Cpp2ILInjected.Token(Token = "0x6001603")]
66 [global::Cpp2ILInjected.Address(RVA = "0x1ADFA88", Offset = "0x1ADFA88", Length = "0x178")]
67 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
68 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
69 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
70 {
71 typeof(string),
72 typeof(string)
73 }, ReturnType = typeof(void))]
74 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[]
75 {
76 typeof(string),
77 typeof(string)
78 }, ReturnType = typeof(void))]
79 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 17)]
80 public override int GetByteCount(char[] chars, int index, int count)
81 {
82 throw null;
83 }
84
85 [global::Cpp2ILInjected.Token(Token = "0x6001604")]
86 [global::Cpp2ILInjected.Address(RVA = "0x1ADFC00", Offset = "0x1ADFC00", Length = "0x8C")]
87 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
88 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.CompilerServices.RuntimeHelpers), Member = "get_OffsetToStringData", ReturnType = typeof(int))]
89 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
90 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
91 public override int GetByteCount(string s)
92 {
93 throw null;
94 }
95
96 [global::System.CLSCompliant(false)]
97 [global::Cpp2ILInjected.Token(Token = "0x6001605")]
98 [global::Cpp2ILInjected.Address(RVA = "0x1ADFC8C", Offset = "0x1ADFC8C", Length = "0xD0")]
99 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
100 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[]
101 {
102 typeof(string),
103 typeof(string)
104 }, ReturnType = typeof(void))]
105 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
106 {
107 typeof(string),
108 typeof(string)
109 }, ReturnType = typeof(void))]
110 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
111 public unsafe override int GetByteCount(char* chars, int count)
112 {
113 throw null;
114 }
115
116 [global::Cpp2ILInjected.Token(Token = "0x6001606")]
117 [global::Cpp2ILInjected.Address(RVA = "0x1ADFD5C", Offset = "0x1ADFD5C", Length = "0x248")]
118 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
119 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
120 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.CompilerServices.RuntimeHelpers), Member = "get_OffsetToStringData", ReturnType = typeof(int))]
121 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Span<>), Member = "op_Implicit", MemberParameters = new object[] { "T[]" }, ReturnType = "System.Span`1<T>")]
122 [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&")]
123 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[]
124 {
125 typeof(string),
126 typeof(string)
127 }, ReturnType = typeof(void))]
128 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
129 {
130 typeof(string),
131 typeof(string)
132 }, ReturnType = typeof(void))]
133 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 22)]
134 public override int GetBytes(string s, int charIndex, int charCount, byte[] bytes, int byteIndex)
135 {
136 throw null;
137 }
138
139 [global::Cpp2ILInjected.Token(Token = "0x6001607")]
140 [global::Cpp2ILInjected.Address(RVA = "0x1ADFFA4", Offset = "0x1ADFFA4", Length = "0x264")]
141 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
142 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
143 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Span<>), Member = "op_Implicit", MemberParameters = new object[] { "T[]" }, ReturnType = "System.Span`1<T>")]
144 [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&")]
145 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[]
146 {
147 typeof(string),
148 typeof(string)
149 }, ReturnType = typeof(void))]
150 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
151 {
152 typeof(string),
153 typeof(string)
154 }, ReturnType = typeof(void))]
155 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 22)]
156 public override int GetBytes(char[] chars, int charIndex, int charCount, byte[] bytes, int byteIndex)
157 {
158 throw null;
159 }
160
161 [global::System.CLSCompliant(false)]
162 [global::Cpp2ILInjected.Token(Token = "0x6001608")]
163 [global::Cpp2ILInjected.Address(RVA = "0x1AE0208", Offset = "0x1AE0208", Length = "0xF8")]
164 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
165 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
166 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[]
167 {
168 typeof(string),
169 typeof(string)
170 }, ReturnType = typeof(void))]
171 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
172 {
173 typeof(string),
174 typeof(string)
175 }, ReturnType = typeof(void))]
176 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
177 public unsafe override int GetBytes(char* chars, int charCount, byte* bytes, int byteCount)
178 {
179 throw null;
180 }
181
182 [global::Cpp2ILInjected.Token(Token = "0x6001609")]
183 [global::Cpp2ILInjected.Address(RVA = "0x1AE0300", Offset = "0x1AE0300", Length = "0x178")]
184 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
185 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
186 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
187 {
188 typeof(string),
189 typeof(string)
190 }, ReturnType = typeof(void))]
191 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[]
192 {
193 typeof(string),
194 typeof(string)
195 }, ReturnType = typeof(void))]
196 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 17)]
197 public override int GetCharCount(byte[] bytes, int index, int count)
198 {
199 throw null;
200 }
201
202 [global::System.CLSCompliant(false)]
203 [global::Cpp2ILInjected.Token(Token = "0x600160A")]
204 [global::Cpp2ILInjected.Address(RVA = "0x1AE0478", Offset = "0x1AE0478", Length = "0xD0")]
205 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
206 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[]
207 {
208 typeof(string),
209 typeof(string)
210 }, ReturnType = typeof(void))]
211 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
212 {
213 typeof(string),
214 typeof(string)
215 }, ReturnType = typeof(void))]
216 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
217 public unsafe override int GetCharCount(byte* bytes, int count)
218 {
219 throw null;
220 }
221
222 [global::Cpp2ILInjected.Token(Token = "0x600160B")]
223 [global::Cpp2ILInjected.Address(RVA = "0x1AE0548", Offset = "0x1AE0548", Length = "0x264")]
224 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
225 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
226 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Span<char>), Member = "op_Implicit", MemberParameters = new object[] { typeof(char[]) }, ReturnType = "System.Span`1<T>")]
227 [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&")]
228 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[]
229 {
230 typeof(string),
231 typeof(string)
232 }, ReturnType = typeof(void))]
233 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
234 {
235 typeof(string),
236 typeof(string)
237 }, ReturnType = typeof(void))]
238 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 22)]
239 public override int GetChars(byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex)
240 {
241 throw null;
242 }
243
244 [global::System.CLSCompliant(false)]
245 [global::Cpp2ILInjected.Token(Token = "0x600160C")]
246 [global::Cpp2ILInjected.Address(RVA = "0x1AE07AC", Offset = "0x1AE07AC", Length = "0xF8")]
247 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
248 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
249 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[]
250 {
251 typeof(string),
252 typeof(string)
253 }, ReturnType = typeof(void))]
254 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
255 {
256 typeof(string),
257 typeof(string)
258 }, ReturnType = typeof(void))]
259 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
260 public unsafe override int GetChars(byte* bytes, int byteCount, char* chars, int charCount)
261 {
262 throw null;
263 }
264
265 [global::Cpp2ILInjected.Token(Token = "0x600160D")]
266 [global::Cpp2ILInjected.Address(RVA = "0x1AE08A4", Offset = "0x1AE08A4", Length = "0x1BC")]
267 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
268 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
269 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "CreateStringFromEncoding", MemberParameters = new object[]
270 {
271 typeof(byte*),
272 typeof(int),
274 }, ReturnType = typeof(string))]
275 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
276 {
277 typeof(string),
278 typeof(string)
279 }, ReturnType = typeof(void))]
280 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[]
281 {
282 typeof(string),
283 typeof(string)
284 }, ReturnType = typeof(void))]
285 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 17)]
286 public unsafe override string GetString(byte[] bytes, int index, int count)
287 {
288 throw null;
289 }
290
291 [global::Cpp2ILInjected.Token(Token = "0x600160E")]
292 [global::Cpp2ILInjected.Address(RVA = "0x1AE0A60", Offset = "0x1AE0A60", Length = "0x514")]
293 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
294 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
295 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Encoder), Member = "get_InternalHasFallbackBuffer", ReturnType = typeof(bool))]
296 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Encoder), Member = "get_FallbackBuffer", ReturnType = typeof(EncoderFallbackBuffer))]
297 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EncoderFallbackBuffer), Member = "InternalInitialize", MemberParameters = new object[]
298 {
299 typeof(char*),
300 typeof(char*),
302 typeof(bool)
303 }, ReturnType = typeof(void))]
304 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EncoderFallbackBuffer), Member = "InternalGetNextChar", ReturnType = typeof(char))]
305 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::SR), Member = "Format", MemberParameters = new object[]
306 {
307 typeof(string),
308 typeof(object)
309 }, ReturnType = typeof(string))]
310 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[]
311 {
312 typeof(string),
313 typeof(string)
314 }, ReturnType = typeof(void))]
315 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
316 {
317 typeof(string),
318 typeof(string)
319 }, ReturnType = typeof(void))]
320 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = "GetType", ReturnType = typeof(global::System.Type))]
321 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::SR), Member = "Format", MemberParameters = new object[]
322 {
323 typeof(string),
324 typeof(object),
325 typeof(object)
326 }, ReturnType = typeof(string))]
327 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
328 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 21)]
329 internal unsafe override int GetByteCount(char* chars, int count, EncoderNLS encoder)
330 {
331 throw null;
332 }
333
334 [global::Cpp2ILInjected.Token(Token = "0x600160F")]
335 [global::Cpp2ILInjected.Address(RVA = "0x1AE0F74", Offset = "0x1AE0F74", Length = "0x708")]
336 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
337 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
338 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Encoder), Member = "get_InternalHasFallbackBuffer", ReturnType = typeof(bool))]
339 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Encoder), Member = "get_FallbackBuffer", ReturnType = typeof(EncoderFallbackBuffer))]
340 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EncoderFallbackBuffer), Member = "InternalInitialize", MemberParameters = new object[]
341 {
342 typeof(char*),
343 typeof(char*),
345 typeof(bool)
346 }, ReturnType = typeof(void))]
347 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EncoderFallbackBuffer), Member = "InternalGetNextChar", ReturnType = typeof(char))]
348 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Encoding), Member = "ThrowBytesOverflow", MemberParameters = new object[]
349 {
350 typeof(EncoderNLS),
351 typeof(bool)
352 }, ReturnType = typeof(void))]
353 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::SR), Member = "Format", MemberParameters = new object[]
354 {
355 typeof(string),
356 typeof(object)
357 }, ReturnType = typeof(string))]
358 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[]
359 {
360 typeof(string),
361 typeof(string)
362 }, ReturnType = typeof(void))]
363 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = "GetType", ReturnType = typeof(global::System.Type))]
364 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::SR), Member = "Format", MemberParameters = new object[]
365 {
366 typeof(string),
367 typeof(object),
368 typeof(object)
369 }, ReturnType = typeof(string))]
370 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
371 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 16)]
372 internal unsafe override int GetBytes(char* chars, int charCount, byte* bytes, int byteCount, EncoderNLS encoder)
373 {
374 throw null;
375 }
376
377 [global::Cpp2ILInjected.Token(Token = "0x6001610")]
378 [global::Cpp2ILInjected.Address(RVA = "0x1AE167C", Offset = "0x1AE167C", Length = "0x620")]
379 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
380 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
381 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Text.Decoder), Member = "get_FallbackBuffer", ReturnType = typeof(DecoderFallbackBuffer))]
382 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DecoderFallbackBuffer), Member = "InternalInitialize", MemberParameters = new object[]
383 {
384 typeof(byte*),
385 typeof(char*)
386 }, ReturnType = typeof(void))]
387 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 12)]
388 internal unsafe override int GetCharCount(byte* bytes, int count, DecoderNLS baseDecoder)
389 {
390 throw null;
391 }
392
393 [global::Cpp2ILInjected.Token(Token = "0x6001611")]
394 [global::Cpp2ILInjected.Address(RVA = "0x1AE1C9C", Offset = "0x1AE1C9C", Length = "0x820")]
395 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
396 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
397 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Text.Decoder), Member = "get_FallbackBuffer", ReturnType = typeof(DecoderFallbackBuffer))]
398 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DecoderFallbackBuffer), Member = "InternalInitialize", MemberParameters = new object[]
399 {
400 typeof(byte*),
401 typeof(char*)
402 }, ReturnType = typeof(void))]
403 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DecoderFallbackBuffer), Member = "InternalReset", ReturnType = typeof(void))]
404 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Encoding), Member = "ThrowCharsOverflow", MemberParameters = new object[]
405 {
406 typeof(DecoderNLS),
407 typeof(bool)
408 }, ReturnType = typeof(void))]
409 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 12)]
410 internal unsafe override int GetChars(byte* bytes, int byteCount, char* chars, int charCount, DecoderNLS baseDecoder)
411 {
412 throw null;
413 }
414
415 [global::Cpp2ILInjected.Token(Token = "0x6001612")]
416 [global::Cpp2ILInjected.Address(RVA = "0x1AE24BC", Offset = "0x1AE24BC", Length = "0x74")]
417 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
418 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
419 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Encoder), Member = ".ctor", ReturnType = typeof(void))]
420 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
421 public override Encoder GetEncoder()
422 {
423 throw null;
424 }
425
426 [global::Cpp2ILInjected.Token(Token = "0x6001613")]
427 [global::Cpp2ILInjected.Address(RVA = "0x1AE2530", Offset = "0x1AE2530", Length = "0x5C")]
428 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
429 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnicodeEncoding.Decoder), Member = ".ctor", MemberParameters = new object[] { typeof(UnicodeEncoding) }, ReturnType = typeof(void))]
430 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
431 public override global::System.Text.Decoder GetDecoder()
432 {
433 throw null;
434 }
435
436 [global::Cpp2ILInjected.Token(Token = "0x6001614")]
437 [global::Cpp2ILInjected.Address(RVA = "0x1AE258C", Offset = "0x1AE258C", Length = "0xC4")]
438 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
439 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
440 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
441 public override byte[] GetPreamble()
442 {
443 throw null;
444 }
445
446 [global::Cpp2ILInjected.Token(Token = "0x17000231")]
447 public override global::System.ReadOnlySpan<byte> Preamble
448 {
449 [global::Cpp2ILInjected.Token(Token = "0x6001615")]
450 [global::Cpp2ILInjected.Address(RVA = "0x1AE2650", Offset = "0x1AE2650", Length = "0x170")]
451 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
452 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
453 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = "GetType", ReturnType = typeof(global::System.Type))]
454 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Type), Member = "GetTypeFromHandle", MemberParameters = new object[] { typeof(global::System.RuntimeTypeHandle) }, ReturnType = typeof(global::System.Type))]
455 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Type), Member = "op_Inequality", MemberParameters = new object[]
456 {
457 typeof(global::System.Type),
458 typeof(global::System.Type)
459 }, ReturnType = typeof(bool))]
460 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ReadOnlySpan<>), Member = "op_Implicit", MemberParameters = new object[] { "T[]" }, ReturnType = "System.ReadOnlySpan`1<T>")]
461 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
462 get
463 {
464 throw null;
465 }
466 }
467
468 [global::Cpp2ILInjected.Token(Token = "0x6001616")]
469 [global::Cpp2ILInjected.Address(RVA = "0x1AE27C0", Offset = "0x1AE27C0", Length = "0xF4")]
470 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
471 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
472 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
473 {
474 typeof(string),
475 typeof(string)
476 }, ReturnType = typeof(void))]
477 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
478 public override int GetMaxByteCount(int charCount)
479 {
480 throw null;
481 }
482
483 [global::Cpp2ILInjected.Token(Token = "0x6001617")]
484 [global::Cpp2ILInjected.Address(RVA = "0x1AE28B4", Offset = "0x1AE28B4", Length = "0xF8")]
485 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
486 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
487 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
488 {
489 typeof(string),
490 typeof(string)
491 }, ReturnType = typeof(void))]
492 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
493 public override int GetMaxCharCount(int byteCount)
494 {
495 throw null;
496 }
497
498 [global::Cpp2ILInjected.Token(Token = "0x6001618")]
499 [global::Cpp2ILInjected.Address(RVA = "0x1AE29AC", Offset = "0x1AE29AC", Length = "0x104")]
500 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
501 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
502 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
503 public override bool Equals(object value)
504 {
505 throw null;
506 }
507
508 [global::Cpp2ILInjected.Token(Token = "0x6001619")]
509 [global::Cpp2ILInjected.Address(RVA = "0x1AE2AB0", Offset = "0x1AE2AB0", Length = "0x70")]
510 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
511 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
512 public override int GetHashCode()
513 {
514 throw null;
515 }
516
517 // Note: this type is marked as 'beforefieldinit'.
518 [global::Cpp2ILInjected.Token(Token = "0x600161A")]
519 [global::Cpp2ILInjected.Address(RVA = "0x1AE2B20", Offset = "0x1AE2B20", Length = "0x164")]
520 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
521 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
522 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Encoding), Member = ".ctor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
523 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
525 {
526 throw null;
527 }
528
529 [global::Cpp2ILInjected.Token(Token = "0x4000B4E")]
531
532 [global::Cpp2ILInjected.Token(Token = "0x4000B4F")]
534
535 [global::Cpp2ILInjected.Token(Token = "0x4000B50")]
536 private static readonly byte[] s_bigEndianPreamble;
537
538 [global::Cpp2ILInjected.Token(Token = "0x4000B51")]
539 private static readonly byte[] s_littleEndianPreamble;
540
541 [global::Cpp2ILInjected.Token(Token = "0x4000B52")]
542 [global::Cpp2ILInjected.FieldOffset(Offset = "0x38")]
543 internal bool isThrowException;
544
545 [global::Cpp2ILInjected.Token(Token = "0x4000B53")]
546 [global::Cpp2ILInjected.FieldOffset(Offset = "0x39")]
547 internal bool bigEndian;
548
549 [global::Cpp2ILInjected.Token(Token = "0x4000B54")]
550 [global::Cpp2ILInjected.FieldOffset(Offset = "0x3A")]
551 internal bool byteOrderMark;
552
553 [global::Cpp2ILInjected.Token(Token = "0x4000B55")]
555
556 [global::Cpp2ILInjected.Token(Token = "0x2000286")]
557 [global::System.Serializable]
558 private sealed class Decoder : DecoderNLS
559 {
560 [global::Cpp2ILInjected.Token(Token = "0x600161B")]
561 [global::Cpp2ILInjected.Address(RVA = "0x1AE2C84", Offset = "0x1AE2C84", Length = "0x10")]
562 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UnicodeEncoding), Member = "GetDecoder", ReturnType = typeof(global::System.Text.Decoder))]
563 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
564 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DecoderNLS), Member = ".ctor", MemberParameters = new object[] { typeof(Encoding) }, ReturnType = typeof(void))]
565 public Decoder(UnicodeEncoding encoding)
566 {
567 throw null;
568 }
569
570 [global::Cpp2ILInjected.Token(Token = "0x600161C")]
571 [global::Cpp2ILInjected.Address(RVA = "0x1AE2C94", Offset = "0x1AE2C94", Length = "0x28")]
572 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
573 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
574 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
575 public override void Reset()
576 {
577 throw null;
578 }
579
580 [global::Cpp2ILInjected.Token(Token = "0x17000232")]
581 internal override bool HasState
582 {
583 [global::Cpp2ILInjected.Token(Token = "0x600161D")]
584 [global::Cpp2ILInjected.Address(RVA = "0x1AE2CBC", Offset = "0x1AE2CBC", Length = "0x24")]
585 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
586 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
587 get
588 {
589 throw null;
590 }
591 }
592
593 [global::Cpp2ILInjected.Token(Token = "0x4000B56")]
594 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
595 internal int lastByte;
596
597 [global::Cpp2ILInjected.Token(Token = "0x4000B57")]
598 [global::Cpp2ILInjected.FieldOffset(Offset = "0x34")]
599 internal char lastChar;
600 }
601 }
602}
class f__AnonymousType0<< Count > j__TPar
Decoder(UnicodeEncoding encoding)
override void SetDefaultFallbacks()
override int GetCharCount(byte[] bytes, int index, int count)
static readonly ulong highLowPatternMask
unsafe override int GetCharCount(byte *bytes, int count, DecoderNLS baseDecoder)
unsafe override int GetChars(byte *bytes, int byteCount, char *chars, int charCount, DecoderNLS baseDecoder)
unsafe override int GetBytes(char *chars, int charCount, byte *bytes, int byteCount, EncoderNLS encoder)
UnicodeEncoding(bool bigEndian, bool byteOrderMark, bool throwOnInvalidBytes)
unsafe override int GetByteCount(char *chars, int count, EncoderNLS encoder)
unsafe override int GetByteCount(char *chars, int count)
override Encoder GetEncoder()
unsafe override int GetChars(byte *bytes, int byteCount, char *chars, int charCount)
static readonly UnicodeEncoding s_littleEndianDefault
static readonly byte[] s_littleEndianPreamble
unsafe override int GetCharCount(byte *bytes, int count)
override int GetByteCount(string s)
static readonly byte[] s_bigEndianPreamble
static readonly UnicodeEncoding s_bigEndianDefault
override int GetChars(byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex)
UnicodeEncoding(bool bigEndian, bool byteOrderMark)
override int GetBytes(char[] chars, int charIndex, int charCount, byte[] bytes, int byteIndex)
override int GetMaxCharCount(int byteCount)
override int GetBytes(string s, int charIndex, int charCount, byte[] bytes, int byteIndex)
override int GetMaxByteCount(int charCount)
override int GetByteCount(char[] chars, int index, int count)
override global::System.Text.Decoder GetDecoder()
override global::System.ReadOnlySpan< byte > Preamble
override bool Equals(object value)
unsafe override int GetBytes(char *chars, int charCount, byte *bytes, int byteCount)
unsafe override string GetString(byte[] bytes, int index, int count)