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
ValueStringBuilder.cs
Go to the documentation of this file.
1using System;
8
9namespace System.Text
10{
11 [DefaultMember("Item")]
12 [Obsolete("Types with embedded references are not supported in this version of your compiler.", true)]
13 [global::Cpp2ILInjected.Token(Token = "0x200000A")]
14 internal ref struct ValueStringBuilder
15 {
16 [global::Cpp2ILInjected.Token(Token = "0x6000040")]
17 [global::Cpp2ILInjected.Address(RVA = "0x1D57554", Offset = "0x1D57554", Length = "0x10")]
18 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
20 {
21 throw null;
22 }
23
24 [global::Cpp2ILInjected.Token(Token = "0x17000003")]
25 public int Length
26 {
27 [global::Cpp2ILInjected.Token(Token = "0x6000041")]
28 [global::Cpp2ILInjected.Address(RVA = "0x1D5BD2C", Offset = "0x1D5BD2C", Length = "0x8")]
29 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
30 get
31 {
32 throw null;
33 }
34 }
35
36 [global::Cpp2ILInjected.Token(Token = "0x6000042")]
37 [global::Cpp2ILInjected.Address(RVA = "0x1D579B4", Offset = "0x1D579B4", Length = "0x190")]
38 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
39 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BigNumber), Member = "FormatBigIntegerToHex", MemberParameters = new object[]
40 {
41 typeof(bool),
43 typeof(char),
44 typeof(int),
47 typeof(ref int),
48 typeof(ref bool)
49 }, ReturnType = typeof(string))]
50 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BigNumber), Member = "FormatBigInteger", MemberParameters = new object[]
51 {
52 typeof(bool),
54 typeof(string),
58 typeof(ref int),
59 typeof(ref bool)
60 }, ReturnType = typeof(string))]
61 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
62 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = "System.ThrowHelper", Member = "ThrowArgumentOutOfRangeException", ReturnType = typeof(void))]
63 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Span<char>), Member = "op_Implicit", MemberParameters = new object[] { typeof(Span<char>) }, ReturnType = "System.ReadOnlySpan`1<T>")]
64 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "CreateString", MemberParameters = new object[] { typeof(ReadOnlySpan<char>) }, ReturnType = typeof(string))]
65 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
66 public override string ToString()
67 {
68 throw null;
69 }
70
71 [global::Cpp2ILInjected.Token(Token = "0x6000043")]
72 [global::Cpp2ILInjected.Address(RVA = "0x1D57734", Offset = "0x1D57734", Length = "0x280")]
73 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
74 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BigNumber), Member = "FormatBigIntegerToHex", MemberParameters = new object[]
75 {
76 typeof(bool),
78 typeof(char),
79 typeof(int),
82 typeof(ref int),
83 typeof(ref bool)
84 }, ReturnType = typeof(string))]
85 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BigNumber), Member = "FormatBigInteger", MemberParameters = new object[]
86 {
87 typeof(bool),
89 typeof(string),
93 typeof(ref int),
94 typeof(ref bool)
95 }, ReturnType = typeof(string))]
96 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
97 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = "System.ThrowHelper", Member = "ThrowArgumentOutOfRangeException", ReturnType = typeof(void))]
98 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Span<char>), Member = "TryCopyTo", MemberParameters = new object[] { typeof(Span<char>) }, ReturnType = typeof(bool))]
99 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 19)]
101 {
102 throw null;
103 }
104
105 [global::Cpp2ILInjected.Token(Token = "0x6000044")]
106 [global::Cpp2ILInjected.Address(RVA = "0x1D57564", Offset = "0x1D57564", Length = "0x1D0")]
107 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
108 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BigNumber), Member = "FormatBigIntegerToHex", MemberParameters = new object[]
109 {
110 typeof(bool),
112 typeof(char),
113 typeof(int),
116 typeof(ref int),
117 typeof(ref bool)
118 }, ReturnType = typeof(string))]
119 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
120 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ValueStringBuilder), Member = "Grow", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
121 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = "System.ThrowHelper", Member = "ThrowArgumentOutOfRangeException", ReturnType = typeof(void))]
122 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Span<char>), Member = "CopyTo", MemberParameters = new object[] { typeof(Span<char>) }, ReturnType = typeof(void))]
123 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Span<char>), Member = "Fill", MemberParameters = new object[] { typeof(char) }, ReturnType = typeof(void))]
124 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
125 public void Insert(int index, char value, int count)
126 {
127 throw null;
128 }
129
130 [global::Cpp2ILInjected.Token(Token = "0x6000045")]
131 [global::Cpp2ILInjected.Address(RVA = "0x1D5BF84", Offset = "0x1D5BF84", Length = "0x70")]
132 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
133 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
134 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
135 [MethodImpl(256)]
136 public void Append(char c)
137 {
138 throw null;
139 }
140
141 [global::Cpp2ILInjected.Token(Token = "0x6000046")]
142 [global::Cpp2ILInjected.Address(RVA = "0x1D5C068", Offset = "0x1D5C068", Length = "0x98")]
143 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
144 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
145 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "get_Chars", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(char))]
146 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
147 [MethodImpl(256)]
148 public void Append(string s)
149 {
150 throw null;
151 }
152
153 [global::Cpp2ILInjected.Token(Token = "0x6000047")]
154 [global::Cpp2ILInjected.Address(RVA = "0x1D5C100", Offset = "0x1D5C100", Length = "0x128")]
155 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
156 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Globalization.FormatProvider.Number", Member = "NumberToString", MemberParameters = new object[]
157 {
160 typeof(char),
161 typeof(int),
163 typeof(bool)
164 }, ReturnType = typeof(void))]
165 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Globalization.FormatProvider.Number", Member = "FormatCurrency", MemberParameters = new object[]
166 {
169 typeof(int),
170 typeof(int),
172 }, ReturnType = typeof(void))]
173 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Globalization.FormatProvider.Number", Member = "FormatFixed", MemberParameters = new object[]
174 {
175 typeof(ref ValueStringBuilder),
177 typeof(int),
178 typeof(int),
180 typeof(int[]),
181 typeof(string),
182 typeof(string)
183 }, ReturnType = typeof(void))]
184 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Globalization.FormatProvider.Number", Member = "FormatNumber", MemberParameters = new object[]
185 {
186 typeof(ref ValueStringBuilder),
188 typeof(int),
189 typeof(int),
191 }, ReturnType = typeof(void))]
192 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Globalization.FormatProvider.Number", Member = "FormatScientific", MemberParameters = new object[]
193 {
194 typeof(ref ValueStringBuilder),
196 typeof(int),
197 typeof(int),
199 typeof(char)
200 }, ReturnType = typeof(void))]
201 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Globalization.FormatProvider.Number", Member = "FormatExponent", MemberParameters = new object[]
202 {
203 typeof(ref ValueStringBuilder),
205 typeof(int),
206 typeof(char),
207 typeof(int),
208 typeof(bool)
209 }, ReturnType = typeof(void))]
210 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Globalization.FormatProvider.Number", Member = "FormatGeneral", MemberParameters = new object[]
211 {
212 typeof(ref ValueStringBuilder),
214 typeof(int),
215 typeof(int),
217 typeof(char),
218 typeof(bool)
219 }, ReturnType = typeof(void))]
220 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Globalization.FormatProvider.Number", Member = "FormatPercent", MemberParameters = new object[]
221 {
222 typeof(ref ValueStringBuilder),
224 typeof(int),
225 typeof(int),
227 }, ReturnType = typeof(void))]
228 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Globalization.FormatProvider.Number", Member = "NumberToStringFormat", MemberParameters = new object[]
229 {
230 typeof(ref ValueStringBuilder),
234 }, ReturnType = typeof(void))]
235 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 16)]
236 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ValueStringBuilder), Member = "Grow", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
237 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "GetRawStringData", ReturnType = typeof(ref char))]
238 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = "System.ThrowHelper", Member = "ThrowArgumentOutOfRangeException", ReturnType = typeof(void))]
239 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ReadOnlySpan<char>), Member = "CopyTo", MemberParameters = new object[] { typeof(Span<char>) }, ReturnType = typeof(void))]
240 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
241 private void AppendSlow(string s)
242 {
243 throw null;
244 }
245
246 [global::Cpp2ILInjected.Token(Token = "0x6000048")]
247 [global::Cpp2ILInjected.Address(RVA = "0x1D5AEE4", Offset = "0x1D5AEE4", Length = "0xDC")]
248 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
249 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Globalization.FormatProvider.Number", Member = "FormatFixed", MemberParameters = new object[]
250 {
253 typeof(int),
254 typeof(int),
256 typeof(int[]),
257 typeof(string),
258 typeof(string)
259 }, ReturnType = typeof(void))]
260 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
261 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ValueStringBuilder), Member = "Grow", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
262 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = "System.ThrowHelper", Member = "ThrowArgumentOutOfRangeException", ReturnType = typeof(void))]
263 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
264 public void Append(char c, int count)
265 {
266 throw null;
267 }
268
269 [global::Cpp2ILInjected.Token(Token = "0x6000049")]
270 [global::Cpp2ILInjected.Address(RVA = "0x1D5AE04", Offset = "0x1D5AE04", Length = "0xE0")]
271 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
272 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Globalization.FormatProvider.Number", Member = "FormatFixed", MemberParameters = new object[]
273 {
276 typeof(int),
277 typeof(int),
279 typeof(int[]),
280 typeof(string),
281 typeof(string)
282 }, ReturnType = typeof(void))]
283 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
284 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ValueStringBuilder), Member = "Grow", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
285 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = "System.ThrowHelper", Member = "ThrowArgumentOutOfRangeException", ReturnType = typeof(void))]
286 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
287 public unsafe void Append(char* value, int length)
288 {
289 throw null;
290 }
291
292 [global::Cpp2ILInjected.Token(Token = "0x600004A")]
293 [global::Cpp2ILInjected.Address(RVA = "0x1D5C228", Offset = "0x1D5C228", Length = "0xC0")]
294 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
295 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
296 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ValueStringBuilder), Member = "Grow", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
297 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = "System.ThrowHelper", Member = "ThrowArgumentOutOfRangeException", ReturnType = typeof(void))]
298 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
299 [MethodImpl(256)]
301 {
302 throw null;
303 }
304
305 [global::Cpp2ILInjected.Token(Token = "0x600004B")]
306 [global::Cpp2ILInjected.Address(RVA = "0x1D5BFF4", Offset = "0x1D5BFF4", Length = "0x74")]
307 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
308 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BigNumber), Member = "FormatBigIntegerToHex", MemberParameters = new object[]
309 {
310 typeof(bool),
312 typeof(char),
313 typeof(int),
316 typeof(ref int),
317 typeof(ref bool)
318 }, ReturnType = typeof(string))]
319 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Globalization.FormatProvider.Number", Member = "FormatCurrency", MemberParameters = new object[]
320 {
321 typeof(ref ValueStringBuilder),
323 typeof(int),
324 typeof(int),
326 }, ReturnType = typeof(void))]
327 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Globalization.FormatProvider.Number", Member = "FormatFixed", MemberParameters = new object[]
328 {
329 typeof(ref ValueStringBuilder),
331 typeof(int),
332 typeof(int),
334 typeof(int[]),
335 typeof(string),
336 typeof(string)
337 }, ReturnType = typeof(void))]
338 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Globalization.FormatProvider.Number", Member = "FormatNumber", MemberParameters = new object[]
339 {
340 typeof(ref ValueStringBuilder),
342 typeof(int),
343 typeof(int),
345 }, ReturnType = typeof(void))]
346 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Globalization.FormatProvider.Number", Member = "FormatScientific", MemberParameters = new object[]
347 {
348 typeof(ref ValueStringBuilder),
350 typeof(int),
351 typeof(int),
353 typeof(char)
354 }, ReturnType = typeof(void))]
355 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Globalization.FormatProvider.Number", Member = "FormatExponent", MemberParameters = new object[]
356 {
357 typeof(ref ValueStringBuilder),
359 typeof(int),
360 typeof(char),
361 typeof(int),
362 typeof(bool)
363 }, ReturnType = typeof(void))]
364 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Globalization.FormatProvider.Number", Member = "FormatGeneral", MemberParameters = new object[]
365 {
366 typeof(ref ValueStringBuilder),
368 typeof(int),
369 typeof(int),
371 typeof(char),
372 typeof(bool)
373 }, ReturnType = typeof(void))]
374 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Globalization.FormatProvider.Number", Member = "FormatPercent", MemberParameters = new object[]
375 {
376 typeof(ref ValueStringBuilder),
378 typeof(int),
379 typeof(int),
381 }, ReturnType = typeof(void))]
382 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Globalization.FormatProvider.Number", Member = "NumberToStringFormat", MemberParameters = new object[]
383 {
384 typeof(ref ValueStringBuilder),
388 }, ReturnType = typeof(void))]
389 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 22)]
390 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ValueStringBuilder), Member = "Grow", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
391 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
392 [MethodImpl(8)]
393 private void GrowAndAppend(char c)
394 {
395 throw null;
396 }
397
398 [global::Cpp2ILInjected.Token(Token = "0x600004C")]
399 [global::Cpp2ILInjected.Address(RVA = "0x1D5BD34", Offset = "0x1D5BD34", Length = "0x250")]
400 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
401 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BigNumber), Member = "FormatBigIntegerToHex", MemberParameters = new object[]
402 {
403 typeof(bool),
405 typeof(char),
406 typeof(int),
409 typeof(ref int),
410 typeof(ref bool)
411 }, ReturnType = typeof(string))]
412 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ValueStringBuilder), Member = "Insert", MemberParameters = new object[]
413 {
414 typeof(int),
415 typeof(char),
416 typeof(int)
417 }, ReturnType = typeof(void))]
418 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ValueStringBuilder), Member = "AppendSlow", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
419 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ValueStringBuilder), Member = "Append", MemberParameters = new object[]
420 {
421 typeof(char),
422 typeof(int)
423 }, ReturnType = typeof(void))]
424 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ValueStringBuilder), Member = "Append", MemberParameters = new object[]
425 {
426 typeof(char*),
427 typeof(int)
428 }, ReturnType = typeof(void))]
429 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ValueStringBuilder), Member = "AppendSpan", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(Span<char>))]
430 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ValueStringBuilder), Member = "GrowAndAppend", MemberParameters = new object[] { typeof(char) }, ReturnType = typeof(void))]
431 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 7)]
432 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Math), Member = "Max", MemberParameters = new object[]
433 {
434 typeof(int),
435 typeof(int)
436 }, ReturnType = typeof(int))]
437 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Span<char>), Member = "op_Implicit", MemberParameters = new object[] { typeof(char[]) }, ReturnType = "System.Span`1<T>")]
438 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Span<char>), Member = "CopyTo", MemberParameters = new object[] { typeof(Span<char>) }, ReturnType = typeof(void))]
439 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 20)]
440 [MethodImpl(8)]
442 {
443 throw null;
444 }
445
446 [global::Cpp2ILInjected.Token(Token = "0x600004D")]
447 [global::Cpp2ILInjected.Address(RVA = "0x1D5C2E8", Offset = "0x1D5C2E8", Length = "0xF0")]
448 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
449 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
450 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
451 [MethodImpl(256)]
452 public void Dispose()
453 {
454 throw null;
455 }
456
457 [global::Cpp2ILInjected.Token(Token = "0x400001A")]
458 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
459 private char[] _arrayToReturnToPool;
460
461 [global::Cpp2ILInjected.Token(Token = "0x400001B")]
462 [global::Cpp2ILInjected.FieldOffset(Offset = "0x8")]
464
465 [global::Cpp2ILInjected.Token(Token = "0x400001C")]
466 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
467 private int _pos;
468 }
469}
class f__AnonymousType0<< Count > j__TPar
unsafe void Grow(int requiredAdditionalCapacity)
ValueStringBuilder(Span< char > initialBuffer)
ValueStringBuilder(global::System.Span< char > initialBuffer)
bool TryCopyTo(Span< char > destination, out int charsWritten)
unsafe void Append(char *value, int length)
Span< char > AppendSpan(int length)
void Insert(int index, char value, int count)