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
StringBuilderCache.cs
Go to the documentation of this file.
1using System;
5using System.IO;
8
9namespace System.Text
10{
11 [global::Cpp2ILInjected.Token(Token = "0x2000279")]
12 internal static class StringBuilderCache
13 {
14 [global::Cpp2ILInjected.Token(Token = "0x6001585")]
15 [global::Cpp2ILInjected.Address(RVA = "0x1AD7D38", Offset = "0x1AD7D38", Length = "0xC4")]
16 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
17 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(string), Member = "FormatHelper", MemberParameters = new object[]
18 {
19 typeof(global::System.IFormatProvider),
20 typeof(string),
21 typeof(global::System.ParamsArray)
22 }, ReturnType = typeof(string))]
23 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(string), Member = "Join", MemberParameters = new object[]
24 {
25 typeof(string),
26 typeof(global::System.Collections.Generic.IEnumerable<string>)
27 }, ReturnType = typeof(string))]
28 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.AggregateException), Member = "get_Message", ReturnType = typeof(string))]
29 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.DateTimeFormat), Member = "FormatCustomized", MemberParameters = new object[]
30 {
31 typeof(global::System.DateTime),
32 typeof(global::System.ReadOnlySpan<char>),
33 typeof(global::System.Globalization.DateTimeFormatInfo),
34 typeof(global::System.TimeSpan),
36 }, ReturnType = typeof(StringBuilder))]
37 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.DateTimeParse), Member = "ParseByFormat", MemberParameters = new object[]
38 {
39 typeof(ref global::System.__DTString),
40 typeof(ref global::System.__DTString),
41 typeof(ref global::System.ParsingInfo),
42 typeof(global::System.Globalization.DateTimeFormatInfo),
43 typeof(ref global::System.DateTimeResult)
44 }, ReturnType = typeof(bool))]
45 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Version), Member = "ToCachedStringBuilder", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(StringBuilder))]
46 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.BinaryReader), Member = "ReadString", ReturnType = typeof(string))]
47 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Globalization.TimeSpanFormat.FormatLiterals), Member = "Init", MemberParameters = new object[]
48 {
49 typeof(global::System.ReadOnlySpan<char>),
50 typeof(bool)
51 }, ReturnType = typeof(void))]
52 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Globalization.TimeSpanFormat), Member = "FormatStandard", MemberParameters = new object[]
53 {
54 typeof(global::System.TimeSpan),
55 typeof(bool),
56 typeof(global::System.ReadOnlySpan<char>),
57 typeof(global::System.Globalization.TimeSpanFormat.Pattern)
58 }, ReturnType = typeof(StringBuilder))]
59 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Globalization.TimeSpanFormat), Member = "FormatCustomized", MemberParameters = new object[]
60 {
61 typeof(global::System.TimeSpan),
62 typeof(global::System.ReadOnlySpan<char>),
63 typeof(global::System.Globalization.DateTimeFormatInfo),
65 }, ReturnType = typeof(StringBuilder))]
66 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Globalization.TimeSpanParse), Member = "TryParseByFormat", MemberParameters = new object[]
67 {
68 typeof(global::System.ReadOnlySpan<char>),
69 typeof(global::System.ReadOnlySpan<char>),
70 typeof(global::System.Globalization.TimeSpanStyles),
71 typeof(ref global::System.Globalization.TimeSpanParse.TimeSpanResult)
72 }, ReturnType = typeof(bool))]
73 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Collections.Generic.KeyValuePair), Member = "PairToString", MemberParameters = new object[]
74 {
75 typeof(object),
76 typeof(object)
77 }, ReturnType = typeof(string))]
78 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Text.RegularExpressions.Regex", Member = "Replace", MemberParameters = new object[]
79 {
80 "System.Text.RegularExpressions.MatchEvaluator",
81 "System.Text.RegularExpressions.Regex",
82 typeof(string),
83 typeof(int),
84 typeof(int)
85 }, ReturnType = typeof(string))]
86 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Text.RegularExpressions.RegexBoyerMoore", Member = ".ctor", MemberParameters = new object[]
87 {
88 typeof(string),
89 typeof(bool),
90 typeof(bool),
91 typeof(global::System.Globalization.CultureInfo)
92 }, ReturnType = typeof(void))]
93 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Text.RegularExpressions.RegexCharClass", Member = "NegateCategory", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
94 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Text.RegularExpressions.RegexCharClass", Member = "ToStringClass", ReturnType = typeof(string))]
95 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Text.RegularExpressions.RegexParser", Member = "Escape", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
96 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Text.RegularExpressions.RegexParser", Member = "AddConcatenate", MemberParameters = new object[]
97 {
98 typeof(int),
99 typeof(int),
100 typeof(bool)
101 }, ReturnType = typeof(void))]
102 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Text.RegularExpressions.RegexReplacement", Member = ".ctor", MemberParameters = new object[]
103 {
104 typeof(string),
105 "System.Text.RegularExpressions.RegexNode",
106 typeof(global::System.Collections.Hashtable)
107 }, ReturnType = typeof(void))]
108 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Text.RegularExpressions.RegexReplacement", Member = "Replace", MemberParameters = new object[]
109 {
110 "System.Text.RegularExpressions.Regex",
111 typeof(string),
112 typeof(int),
113 typeof(int)
114 }, ReturnType = typeof(string))]
115 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.IPAddressParser", Member = "IPv6AddressToStringHelper", MemberParameters = new object[]
116 {
117 "System.UInt16[]",
118 typeof(uint)
119 }, ReturnType = typeof(StringBuilder))]
120 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 23)]
121 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StringBuilder), Member = ".ctor", MemberParameters = new object[]
122 {
123 typeof(int),
124 typeof(int)
125 }, ReturnType = typeof(void))]
126 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StringBuilder), Member = "set_Length", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
127 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
128 public static StringBuilder Acquire(int capacity = 16)
129 {
130 throw null;
131 }
132
133 [global::Cpp2ILInjected.Token(Token = "0x6001586")]
134 [global::Cpp2ILInjected.Address(RVA = "0x1AD7DFC", Offset = "0x1AD7DFC", Length = "0x74")]
135 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
136 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.DateTimeFormat), Member = "FormatCustomized", MemberParameters = new object[]
137 {
138 typeof(global::System.DateTime),
139 typeof(global::System.ReadOnlySpan<char>),
140 typeof(global::System.Globalization.DateTimeFormatInfo),
141 typeof(global::System.TimeSpan),
143 }, ReturnType = typeof(StringBuilder))]
144 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.DateTimeFormat), Member = "TryFormat", MemberParameters = new object[]
145 {
146 typeof(global::System.DateTime),
147 typeof(global::System.Span<char>),
148 typeof(ref int),
149 typeof(global::System.ReadOnlySpan<char>),
150 typeof(global::System.IFormatProvider),
151 typeof(global::System.TimeSpan)
152 }, ReturnType = typeof(bool))]
153 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.DateTimeParse), Member = "ParseByFormat", MemberParameters = new object[]
154 {
155 typeof(ref global::System.__DTString),
156 typeof(ref global::System.__DTString),
157 typeof(ref global::System.ParsingInfo),
158 typeof(global::System.Globalization.DateTimeFormatInfo),
159 typeof(ref global::System.DateTimeResult)
160 }, ReturnType = typeof(bool))]
161 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Version), Member = "TryFormat", MemberParameters = new object[]
162 {
163 typeof(global::System.Span<char>),
164 typeof(int),
165 typeof(ref int)
166 }, ReturnType = typeof(bool))]
167 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(StringBuilderCache), Member = "GetStringAndRelease", MemberParameters = new object[] { typeof(StringBuilder) }, ReturnType = typeof(string))]
168 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Globalization.TimeSpanFormat.FormatLiterals), Member = "Init", MemberParameters = new object[]
169 {
170 typeof(global::System.ReadOnlySpan<char>),
171 typeof(bool)
172 }, ReturnType = typeof(void))]
173 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Globalization.TimeSpanFormat), Member = "TryFormat", MemberParameters = new object[]
174 {
175 typeof(global::System.TimeSpan),
176 typeof(global::System.Span<char>),
177 typeof(ref int),
178 typeof(global::System.ReadOnlySpan<char>),
179 typeof(global::System.IFormatProvider)
180 }, ReturnType = typeof(bool))]
181 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Globalization.TimeSpanFormat), Member = "FormatCustomized", MemberParameters = new object[]
182 {
183 typeof(global::System.TimeSpan),
184 typeof(global::System.ReadOnlySpan<char>),
185 typeof(global::System.Globalization.DateTimeFormatInfo),
186 typeof(StringBuilder)
187 }, ReturnType = typeof(StringBuilder))]
188 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Globalization.TimeSpanParse), Member = "TryParseByFormat", MemberParameters = new object[]
189 {
190 typeof(global::System.ReadOnlySpan<char>),
191 typeof(global::System.ReadOnlySpan<char>),
192 typeof(global::System.Globalization.TimeSpanStyles),
193 typeof(ref global::System.Globalization.TimeSpanParse.TimeSpanResult)
194 }, ReturnType = typeof(bool))]
195 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Text.RegularExpressions.RegexReplacement", Member = ".ctor", MemberParameters = new object[]
196 {
197 typeof(string),
198 "System.Text.RegularExpressions.RegexNode",
199 typeof(global::System.Collections.Hashtable)
200 }, ReturnType = typeof(void))]
201 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.IPAddressParser", Member = "IPv6AddressToString", MemberParameters = new object[]
202 {
203 "System.UInt16[]",
204 typeof(uint),
205 "System.Span`1<Char>",
206 typeof(ref int)
207 }, ReturnType = typeof(bool))]
208 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 15)]
209 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
210 public static void Release(StringBuilder sb)
211 {
212 throw null;
213 }
214
215 [global::Cpp2ILInjected.Token(Token = "0x6001587")]
216 [global::Cpp2ILInjected.Address(RVA = "0x1AD7E70", Offset = "0x1AD7E70", Length = "0x34")]
217 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
218 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(string), Member = "FormatHelper", MemberParameters = new object[]
219 {
220 typeof(global::System.IFormatProvider),
221 typeof(string),
222 typeof(global::System.ParamsArray)
223 }, ReturnType = typeof(string))]
224 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(string), Member = "Join", MemberParameters = new object[]
225 {
226 typeof(string),
227 typeof(global::System.Collections.Generic.IEnumerable<string>)
228 }, ReturnType = typeof(string))]
229 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.AggregateException), Member = "get_Message", ReturnType = typeof(string))]
230 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.DateTimeFormat), Member = "Format", MemberParameters = new object[]
231 {
232 typeof(global::System.DateTime),
233 typeof(string),
234 typeof(global::System.IFormatProvider),
235 typeof(global::System.TimeSpan)
236 }, ReturnType = typeof(string))]
237 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.DateTimeParse), Member = "ParseByFormat", MemberParameters = new object[]
238 {
239 typeof(ref global::System.__DTString),
240 typeof(ref global::System.__DTString),
241 typeof(ref global::System.ParsingInfo),
242 typeof(global::System.Globalization.DateTimeFormatInfo),
243 typeof(ref global::System.DateTimeResult)
244 }, ReturnType = typeof(bool))]
245 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Version), Member = "ToString", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(string))]
246 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.BinaryReader), Member = "ReadString", ReturnType = typeof(string))]
247 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Globalization.TimeSpanFormat), Member = "Format", MemberParameters = new object[]
248 {
249 typeof(global::System.TimeSpan),
250 typeof(string),
251 typeof(global::System.IFormatProvider)
252 }, ReturnType = typeof(string))]
253 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Collections.Generic.KeyValuePair), Member = "PairToString", MemberParameters = new object[]
254 {
255 typeof(object),
256 typeof(object)
257 }, ReturnType = typeof(string))]
258 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Text.RegularExpressions.Regex", Member = "Replace", MemberParameters = new object[]
259 {
260 "System.Text.RegularExpressions.MatchEvaluator",
261 "System.Text.RegularExpressions.Regex",
262 typeof(string),
263 typeof(int),
264 typeof(int)
265 }, ReturnType = typeof(string))]
266 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Text.RegularExpressions.RegexBoyerMoore", Member = ".ctor", MemberParameters = new object[]
267 {
268 typeof(string),
269 typeof(bool),
270 typeof(bool),
271 typeof(global::System.Globalization.CultureInfo)
272 }, ReturnType = typeof(void))]
273 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Text.RegularExpressions.RegexCharClass", Member = "NegateCategory", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
274 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Text.RegularExpressions.RegexCharClass", Member = "ToStringClass", ReturnType = typeof(string))]
275 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Text.RegularExpressions.RegexParser", Member = "Escape", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
276 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Text.RegularExpressions.RegexParser", Member = "AddConcatenate", MemberParameters = new object[]
277 {
278 typeof(int),
279 typeof(int),
280 typeof(bool)
281 }, ReturnType = typeof(void))]
282 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Text.RegularExpressions.RegexReplacement", Member = "Replace", MemberParameters = new object[]
283 {
284 "System.Text.RegularExpressions.Regex",
285 typeof(string),
286 typeof(int),
287 typeof(int)
288 }, ReturnType = typeof(string))]
289 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.IPAddress", Member = "ToString", ReturnType = typeof(string))]
290 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.IPAddressParser", Member = "IPv6AddressToString", MemberParameters = new object[]
291 {
292 "System.UInt16[]",
293 typeof(uint)
294 }, ReturnType = typeof(string))]
295 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 18)]
296 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StringBuilderCache), Member = "Release", MemberParameters = new object[] { typeof(StringBuilder) }, ReturnType = typeof(void))]
297 public static string GetStringAndRelease(StringBuilder sb)
298 {
299 throw null;
300 }
301
302 [global::System.ThreadStatic]
303 [global::Cpp2ILInjected.Token(Token = "0x4000B31")]
305 }
306}
class f__AnonymousType0<< Count > j__TPar
static string GetStringAndRelease(StringBuilder sb)
static void Release(StringBuilder sb)
static StringBuilder t_cachedInstance
static StringBuilder Acquire(int capacity=16)