terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
String.cs
Go to the documentation of this file.
1using System;
9using System.Text;
10using Cpp2IlInjected;
11
12namespace System
13{
14 // Token: 0x02000067 RID: 103
16 public sealed class String : IComparable, IEnumerable, IEnumerable<char>, IComparable<string>, IEquatable<string>, IConvertible, ICloneable
17 {
18 // Token: 0x06000243 RID: 579 RVA: 0x00008438 File Offset: 0x00006638
19 private static bool EqualsHelper(string strA, string strB)
20 {
21 bool flag;
22 return flag;
23 }
24
25 // Token: 0x06000244 RID: 580 RVA: 0x00008448 File Offset: 0x00006648
26 private static int CompareOrdinalHelper(string strA, int indexA, int countA, string strB, int indexB, int countB)
27 {
28 int num;
29 return num;
30 }
31
32 // Token: 0x06000245 RID: 581 RVA: 0x00008458 File Offset: 0x00006658
33 private static int CompareOrdinalHelper(string strA, string strB)
34 {
35 int num = 1;
36 int stringLength = strA._stringLength;
37 if (num == 0)
38 {
39 }
40 int num2 = Math.Min(0, stringLength);
41 int stringLength2 = strA._stringLength;
42 return num2;
43 }
44
45 // Token: 0x06000246 RID: 582 RVA: 0x00008484 File Offset: 0x00006684
46 public static int Compare(string strA, string strB)
47 {
48 int num;
49 return num;
50 }
51
52 // Token: 0x06000247 RID: 583 RVA: 0x00008494 File Offset: 0x00006694
53 public static int Compare(string strA, string strB, bool ignoreCase)
54 {
55 int num;
56 return num;
57 }
58
59 // Token: 0x06000248 RID: 584 RVA: 0x000084A4 File Offset: 0x000066A4
60 public static int Compare(string strA, string strB, StringComparison comparisonType)
61 {
62 if (strA != null)
63 {
65 return 49;
66 }
67 return 1;
68 }
69
70 // Token: 0x06000249 RID: 585 RVA: 0x000084EC File Offset: 0x000066EC
71 public static int Compare(string strA, string strB, CultureInfo culture, CompareOptions options)
72 {
73 /*
74An exception occurred when decompiling this method (06000249)
75
76ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 System.String::Compare(System.String,System.String,System.Globalization.CultureInfo,System.Globalization.CompareOptions)
77
78 ---> System.Exception: Basic block has to end with unconditional control flow.
79{
80 IL_0000:
81 brtrue(IL_0000, logicnot:bool(ldloc:string[exp:bool](strB)))
82}
83
84 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
85 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
86 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
87 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
88 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
89 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
90 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
91 --- End of inner exception stack trace ---
92 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
93 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
94*/;
95 }
96
97 // Token: 0x0600024A RID: 586 RVA: 0x000084FC File Offset: 0x000066FC
98 public static int Compare(string strA, string strB, bool ignoreCase, CultureInfo culture)
99 {
100 int num;
101 return num;
102 }
103
104 // Token: 0x0600024B RID: 587 RVA: 0x0000850C File Offset: 0x0000670C
105 public static int Compare(string strA, int indexA, string strB, int indexB, int length, StringComparison comparisonType)
106 {
107 int num;
108 long num2;
109 int num3;
110 if (indexA != 0)
111 {
112 if (indexB != 0)
113 {
114 num = Math.Min(indexB, 43151360);
115 num2 = 0L;
116 num3 = Math.Min(indexB, 43151360);
117 return num3;
118 }
119 }
120 return SpanHelpers.SequenceCompareTo('\0', num, (char)num2, num3);
121 }
122
123 // Token: 0x0600024C RID: 588 RVA: 0x00008574 File Offset: 0x00006774
124 public static int CompareOrdinal(string strA, string strB)
125 {
126 if (strA != null)
127 {
128 char firstChar = strA._firstChar;
129 int num;
130 return num;
131 }
132 return 1;
133 }
134
135 // Token: 0x0600024D RID: 589 RVA: 0x00008590 File Offset: 0x00006790
137 {
138 int num;
139 return num;
140 }
141
142 // Token: 0x0600024E RID: 590 RVA: 0x000085A0 File Offset: 0x000067A0
143 public static int CompareOrdinal(string strA, int indexA, string strB, int indexB, int length)
144 {
145 if (indexA == 0)
146 {
147 int num;
148 return num;
149 }
150 long num2 = 0L;
151 if (indexB != 0)
152 {
153 int num3;
154 int num4;
155 int num = SpanHelpers.SequenceCompareTo((char)num3, num4, (char)num2, num3);
156 return num;
157 }
158 }
159
160 // Token: 0x0600024F RID: 591 RVA: 0x000085C8 File Offset: 0x000067C8
161 public int CompareTo(object value)
162 {
163 if (value != null)
164 {
165 int num;
166 return num;
167 }
168 return 1;
169 }
170
171 // Token: 0x06000250 RID: 592 RVA: 0x000085DC File Offset: 0x000067DC
172 public int CompareTo(string strB)
173 {
174 int num;
175 return num;
176 }
177
178 // Token: 0x06000251 RID: 593 RVA: 0x000085EC File Offset: 0x000067EC
179 public bool EndsWith(string value)
180 {
181 bool flag;
182 return flag;
183 }
184
185 // Token: 0x06000252 RID: 594 RVA: 0x000085FC File Offset: 0x000067FC
187 {
188 /*
189An exception occurred when decompiling this method (06000252)
190
191ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.String::EndsWith(System.String,System.StringComparison)
192
193 ---> System.Exception: Basic block has to end with unconditional control flow.
194{
195 IL_0037:
196 stloc:CultureInfo(var_9_3F, callgetter:CultureInfo(CultureInfo::get_CurrentCulture))
197 brtrue(IL_0000, ldfld:int32[exp:bool](string::_stringLength, ldloc:string(this)))
198}
199
200 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
201 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
202 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
203 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
204 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
205 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
206 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
207 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
208 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
209 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
210 --- End of inner exception stack trace ---
211 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
212 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
213*/;
214 }
215
216 // Token: 0x06000253 RID: 595 RVA: 0x00008658 File Offset: 0x00006858
217 public bool EndsWith(char value)
218 {
219 /*
220An exception occurred when decompiling this method (06000253)
221
222ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.String::EndsWith(System.Char)
223
224 ---> System.Exception: Basic block has to end with unconditional control flow.
225{
226 Block_0:
227 call:void(ThrowHelper::ThrowIndexOutOfRangeException)
228}
229
230 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
231 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
232 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
233 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
234 --- End of inner exception stack trace ---
235 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
236 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
237*/;
238 }
239
240 // Token: 0x06000254 RID: 596 RVA: 0x00008670 File Offset: 0x00006870
241 public override bool Equals(object obj)
242 {
243 if (obj != null)
244 {
245 bool flag;
246 return flag;
247 }
248 }
249
250 // Token: 0x06000255 RID: 597 RVA: 0x00008688 File Offset: 0x00006888
251 public bool Equals(string value)
252 {
253 if (value != null)
254 {
255 int stringLength = value._stringLength;
256 bool flag;
257 return flag;
258 }
259 }
260
261 // Token: 0x06000256 RID: 598 RVA: 0x000086A4 File Offset: 0x000068A4
263 {
264 if (value != null)
265 {
267 }
268 int num = 49;
269 int num2 = 47;
270 long num3 = 0L;
271 int stringLength = value._stringLength;
272 return SpanHelpers.SequenceEqual((byte)num, (byte)num2, (ulong)num3);
273 }
274
275 // Token: 0x06000257 RID: 599 RVA: 0x00008714 File Offset: 0x00006914
276 public static bool Equals(string a, string b)
277 {
278 while (a == null)
279 {
280 }
281 int stringLength = a._stringLength;
282 bool flag;
283 return flag;
284 }
285
286 // Token: 0x06000258 RID: 600 RVA: 0x00008734 File Offset: 0x00006934
287 public static bool Equals(string a, string b, StringComparison comparisonType)
288 {
289 if (a != null)
290 {
292 }
293 int num = 47;
294 long num2 = 0L;
295 long num3 = 0L;
296 int stringLength = a._stringLength;
297 return SpanHelpers.SequenceEqual((byte)num3, (byte)num, (ulong)num2);
298 }
299
300 // Token: 0x06000259 RID: 601 RVA: 0x00008784 File Offset: 0x00006984
301 public static bool operator ==(string a, string b)
302 {
303 bool flag;
304 return flag;
305 }
306
307 // Token: 0x0600025A RID: 602 RVA: 0x00008794 File Offset: 0x00006994
308 public static bool operator !=(string a, string b)
309 {
310 bool flag;
311 return flag;
312 }
313
314 // Token: 0x0600025B RID: 603 RVA: 0x000087A4 File Offset: 0x000069A4
315 public override int GetHashCode()
316 {
317 return this.GetLegacyNonRandomizedHashCode();
318 }
319
320 // Token: 0x0600025C RID: 604 RVA: 0x000087B8 File Offset: 0x000069B8
322 {
323 /*
324An exception occurred when decompiling this method (0600025C)
325
326ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 System.String::GetLegacyNonRandomizedHashCode()
327
328 ---> System.Exception: Basic block has to end with unconditional control flow.
329{
330 IL_000A:
331 brtrue(IL_000A, ldloc:char[exp:bool](var_0_06))
332}
333
334 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
335 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
336 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
337 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
338 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
339 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
340 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
341 --- End of inner exception stack trace ---
342 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
343 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
344*/;
345 }
346
347 // Token: 0x0600025D RID: 605 RVA: 0x000087D4 File Offset: 0x000069D4
348 public bool StartsWith(string value)
349 {
350 while (value == null)
351 {
352 }
353 bool flag;
354 return flag;
355 }
356
357 // Token: 0x0600025E RID: 606 RVA: 0x000087E8 File Offset: 0x000069E8
359 {
360 while (value == null)
361 {
362 }
363 if (43151360 != 0)
364 {
366 }
367 int stringLength = this._stringLength;
368 char firstChar = this._firstChar;
369 char firstChar2 = value._firstChar;
370 bool flag;
371 return flag;
372 }
373
374 // Token: 0x0600025F RID: 607 RVA: 0x00008860 File Offset: 0x00006A60
376 {
377 ThrowHelper.ThrowArgumentException(ExceptionResource.NotSupported_StringComparison, ExceptionArgument.comparisonType);
378 }
379
380 // Token: 0x06000260 RID: 608 RVA: 0x00008878 File Offset: 0x00006A78
381 private static void FillStringChecked(string dest, int destPos, string src)
382 {
383 int stringLength = dest._stringLength;
384 int stringLength2 = src._stringLength;
385 }
386
387 // Token: 0x06000261 RID: 609 RVA: 0x00008894 File Offset: 0x00006A94
388 public static string Concat(object arg0, object arg1)
389 {
390 string text;
391 if (arg0 != null)
392 {
393 return text;
394 }
395 return text;
396 }
397
398 // Token: 0x06000262 RID: 610 RVA: 0x000088AC File Offset: 0x00006AAC
399 public static string Concat(object arg0, object arg1, object arg2)
400 {
401 string text;
402 if (arg0 != null)
403 {
404 if (arg1 != null)
405 {
406 return text;
407 }
408 }
409 else
410 {
411 while (arg1 != null)
412 {
413 }
414 }
415 return text;
416 }
417
418 // Token: 0x06000263 RID: 611 RVA: 0x000088C8 File Offset: 0x00006AC8
419 public static string Concat(string str0, string str1)
420 {
421 /*
422An exception occurred when decompiling this method (06000263)
423
424ICSharpCode.Decompiler.DecompilerException: Error decompiling System.String System.String::Concat(System.String,System.String)
425
426 ---> System.Exception: Basic block has to end with unconditional control flow.
427{
428 IL_001B:
429 brtrue(IL_0000, logicnot:bool(ldloc:int32[exp:bool](var_1)))
430}
431
432 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
433 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
434 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
435 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
436 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
437 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
438 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
439 --- End of inner exception stack trace ---
440 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
441 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
442*/;
443 }
444
445 // Token: 0x06000264 RID: 612 RVA: 0x000088F4 File Offset: 0x00006AF4
446 public static string Concat(string str0, string str1, string str2)
447 {
448 string text;
449 if (str0 == null || str0._stringLength == 0)
450 {
451 text = str0 + str1;
452 return text;
453 }
454 if (str1 != null && str1._stringLength != 0)
455 {
456 int stringLength = str0._stringLength;
457 return str0;
458 }
459 return text;
460 }
461
462 // Token: 0x06000265 RID: 613 RVA: 0x0000892C File Offset: 0x00006B2C
463 public static string Concat(string str0, string str1, string str2, string str3)
464 {
465 string text;
466 if (str0 == null || str0._stringLength == 0)
467 {
468 text = str0 + str1 + str2;
469 return text;
470 }
471 if (str1 == null || str1._stringLength == 0)
472 {
473 return text;
474 }
475 if (str2 != null && str2._stringLength != 0)
476 {
477 int stringLength = str0._stringLength;
478 int stringLength2 = str0._stringLength;
479 int stringLength3 = str1._stringLength;
480 return str0;
481 }
482 return text;
483 }
484
485 // Token: 0x06000266 RID: 614 RVA: 0x00008980 File Offset: 0x00006B80
486 public static string Concat(params string[] values)
487 {
488 int num = 1;
489 if (false)
490 {
491 object obj;
492 if (obj != null)
493 {
494 while (obj != null)
495 {
496 }
497 }
498 if (num != 0)
499 {
500 }
501 }
502 throw new InvalidCastException();
503 }
504
505 // Token: 0x06000267 RID: 615 RVA: 0x000089AC File Offset: 0x00006BAC
506 public static string Format(string format, object arg0)
507 {
508 string text;
509 return text;
510 }
511
512 // Token: 0x06000268 RID: 616 RVA: 0x000089BC File Offset: 0x00006BBC
513 public static string Format(string format, object arg0, object arg1)
514 {
515 string text;
516 return text;
517 }
518
519 // Token: 0x06000269 RID: 617 RVA: 0x000089CC File Offset: 0x00006BCC
520 public static string Format(string format, object arg0, object arg1, object arg2)
521 {
522 string text;
523 return text;
524 }
525
526 // Token: 0x0600026A RID: 618 RVA: 0x000089DC File Offset: 0x00006BDC
527 public static string Format(string format, params object[] args)
528 {
529 while (format == null)
530 {
531 }
532 string text;
533 return text;
534 }
535
536 // Token: 0x0600026B RID: 619 RVA: 0x000089F0 File Offset: 0x00006BF0
537 public static string Format(IFormatProvider provider, string format, object arg0)
538 {
539 string text;
540 return text;
541 }
542
543 // Token: 0x0600026C RID: 620 RVA: 0x00008A00 File Offset: 0x00006C00
544 public static string Format(IFormatProvider provider, string format, object arg0, object arg1)
545 {
546 string text;
547 return text;
548 }
549
550 // Token: 0x0600026D RID: 621 RVA: 0x00008A10 File Offset: 0x00006C10
551 public static string Format(IFormatProvider provider, string format, object arg0, object arg1, object arg2)
552 {
553 string text;
554 return text;
555 }
556
557 // Token: 0x0600026E RID: 622 RVA: 0x00008A20 File Offset: 0x00006C20
558 public static string Format(IFormatProvider provider, string format, params object[] args)
559 {
560 while (format == null)
561 {
562 }
563 string text;
564 return text;
565 }
566
567 // Token: 0x0600026F RID: 623 RVA: 0x00008A34 File Offset: 0x00006C34
568 private static string FormatHelper(IFormatProvider provider, string format, ParamsArray args)
569 {
570 while (provider == null)
571 {
572 }
573 int num;
574 StringBuilder stringBuilder = StringBuilderCache.Acquire(num);
577 }
578
579 // Token: 0x06000270 RID: 624 RVA: 0x00008A54 File Offset: 0x00006C54
580 public string Insert(int startIndex, string value)
581 {
582 while (value == null)
583 {
584 }
585 if (this._stringLength != 0)
586 {
587 return this;
588 }
589 return this;
590 }
591
592 // Token: 0x06000271 RID: 625 RVA: 0x00008A70 File Offset: 0x00006C70
593 public static string Join(string separator, params string[] value)
594 {
595 while (separator == null)
596 {
597 }
598 string text;
599 return text;
600 }
601
602 // Token: 0x06000272 RID: 626 RVA: 0x00008A84 File Offset: 0x00006C84
603 public static string Join(string separator, IEnumerable<string> values)
604 {
605 if (separator != null)
606 {
607 return separator;
608 }
609 throw new OutOfMemoryException();
610 }
611
612 // Token: 0x06000273 RID: 627 RVA: 0x00008AF0 File Offset: 0x00006CF0
613 public static string Join(string separator, string[] value, int startIndex, int count)
614 {
615 string text;
616 return text;
617 }
618
619 // Token: 0x06000274 RID: 628 RVA: 0x00008B00 File Offset: 0x00006D00
620 private unsafe static string JoinCore(char* separator, int separatorLength, string[] value, int startIndex, int count)
621 {
622 if (separatorLength != 0)
623 {
624 object obj;
625 if (obj != null)
626 {
627 while (obj != null)
628 {
629 }
630 }
631 if (startIndex == 0 || obj == null)
632 {
633 }
634 }
635 return "StartIndex cannot be less than zero.";
636 }
637
638 // Token: 0x06000275 RID: 629 RVA: 0x00008B38 File Offset: 0x00006D38
639 public string PadRight(int totalWidth, char paddingChar)
640 {
641 /*
642An exception occurred when decompiling this method (06000275)
643
644ICSharpCode.Decompiler.DecompilerException: Error decompiling System.String System.String::PadRight(System.Int32,System.Char)
645
646 ---> System.Exception: Basic block has to end with unconditional control flow.
647{
648 Block_0:
649 stloc:int32(var_0_06, ldfld:int32(string::_stringLength, ldloc:string(this)))
650}
651
652 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
653 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
654 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
655 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
656 --- End of inner exception stack trace ---
657 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
658 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
659*/;
660 }
661
662 // Token: 0x06000276 RID: 630 RVA: 0x00008B4C File Offset: 0x00006D4C
663 public string Remove(int startIndex, int count)
664 {
665 int stringLength = this._stringLength;
666 if (count != 0)
667 {
668 }
669 return "StartIndex cannot be less than zero.";
670 }
671
672 // Token: 0x06000277 RID: 631 RVA: 0x00008B70 File Offset: 0x00006D70
673 public string Remove(int startIndex)
674 {
675 int stringLength = this._stringLength;
676 long num = 0L;
677 return this.Substring((int)num, startIndex);
678 }
679
680 // Token: 0x06000278 RID: 632 RVA: 0x00008B94 File Offset: 0x00006D94
681 public string Replace(char oldChar, char newChar)
682 {
683 /*
684An exception occurred when decompiling this method (06000278)
685
686ICSharpCode.Decompiler.DecompilerException: Error decompiling System.String System.String::Replace(System.Char,System.Char)
687
688 ---> System.Exception: Basic block has to end with unconditional control flow.
689{
690 Block_0:
691 stloc:int32(var_0_0E, ldfld:int32(string::_stringLength, ldloc:string(this)))
692}
693
694 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
695 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
696 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
697 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
698 --- End of inner exception stack trace ---
699 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
700 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
701*/;
702 }
703
704 // Token: 0x06000279 RID: 633 RVA: 0x00008BB0 File Offset: 0x00006DB0
705 public string Replace(string oldValue, string newValue)
706 {
707 while (oldValue == null || oldValue._stringLength == 0)
708 {
709 }
710 if (newValue == null)
711 {
712 }
713 int stringLength = this._stringLength;
714 int stringLength2 = oldValue._stringLength;
715 long num = 0L;
717 stringLength2.m_value = (int)num;
718 int stringLength3 = oldValue._stringLength;
719 if (oldValue._stringLength != 0)
720 {
721 int stringLength4 = oldValue._stringLength;
722 }
723 string text;
724 return text;
725 }
726
727 // Token: 0x0600027A RID: 634 RVA: 0x00008C08 File Offset: 0x00006E08
728 private string ReplaceHelper(int oldValueLength, string newValue, ReadOnlySpan<int> indices)
729 {
730 /*
731An exception occurred when decompiling this method (0600027A)
732
733ICSharpCode.Decompiler.DecompilerException: Error decompiling System.String System.String::ReplaceHelper(System.Int32,System.String,System.ReadOnlySpan`1<System.Int32>)
734
735 ---> System.Exception: Basic block has to end with unconditional control flow.
736{
737 IL_0041:
738 call:void(ThrowHelper::ThrowArgumentOutOfRangeException)
739}
740
741 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
742 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
743 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
744 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
745 --- End of inner exception stack trace ---
746 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
747 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
748*/;
749 }
750
751 // Token: 0x0600027B RID: 635 RVA: 0x00008C60 File Offset: 0x00006E60
753 {
754 string[] array;
755 return array;
756 }
757
758 // Token: 0x0600027C RID: 636 RVA: 0x00008C70 File Offset: 0x00006E70
759 public string[] Split(params char[] separator)
760 {
761 string[] array;
762 return array;
763 }
764
765 // Token: 0x0600027D RID: 637 RVA: 0x00008C80 File Offset: 0x00006E80
766 public string[] Split(char[] separator, int count)
767 {
768 string[] array;
769 return array;
770 }
771
772 // Token: 0x0600027E RID: 638 RVA: 0x00008C90 File Offset: 0x00006E90
773 public string[] Split(char[] separator, StringSplitOptions options)
774 {
775 string[] array;
776 return array;
777 }
778
779 // Token: 0x0600027F RID: 639 RVA: 0x00008CA0 File Offset: 0x00006EA0
781 {
782 if (options != StringSplitOptions.None && this._stringLength != 0)
783 {
784 string[] array;
785 return array;
786 }
787 string[] array2;
788 return array2;
789 }
790
791 // Token: 0x06000280 RID: 640 RVA: 0x00008CC4 File Offset: 0x00006EC4
792 public string[] Split(string[] separator, StringSplitOptions options)
793 {
794 string[] array;
795 return array;
796 }
797
798 // Token: 0x06000281 RID: 641 RVA: 0x00008CD4 File Offset: 0x00006ED4
799 private string[] SplitInternal(string separator, string[] separators, int count, StringSplitOptions options)
800 {
801 if (separator == null)
802 {
803 if (separators != null)
804 {
805 }
806 string[] array;
807 return array;
808 }
809 if (count == 0 || this._stringLength == 0)
810 {
811 return 1073741824;
812 }
813 if (this == null || this != null)
814 {
815 return this;
816 }
817 throw new ArrayTypeMismatchException();
818 }
819
820 // Token: 0x06000282 RID: 642 RVA: 0x00008D1C File Offset: 0x00006F1C
822 {
823 if (128 != 0)
824 {
825 int stringLength = separator._stringLength;
826 string[] array;
827 return array;
828 }
829 if (this == null || this != null)
830 {
831 return this;
832 }
833 throw new ArrayTypeMismatchException();
834 }
835
836 // Token: 0x06000283 RID: 643 RVA: 0x00008D4C File Offset: 0x00006F4C
838 {
839 int stringLength = this._stringLength;
840 string text;
841 if (text == null || text != null)
842 {
843 return text;
844 }
845 throw new ArrayTypeMismatchException();
846 }
847
848 // Token: 0x06000284 RID: 644 RVA: 0x00008D88 File Offset: 0x00006F88
850 {
851 int stringLength = this._stringLength;
852 string text;
853 if (text == null || text != null)
854 {
855 return text;
856 }
857 throw new ArrayTypeMismatchException();
858 }
859
860 // Token: 0x06000285 RID: 645 RVA: 0x00008DC8 File Offset: 0x00006FC8
864
865 // Token: 0x06000286 RID: 646 RVA: 0x00008E4C File Offset: 0x0000704C
867 {
868 int stringLength = this._stringLength;
869 int stringLength2 = separator._stringLength;
871 int stringLength3 = separator._stringLength;
873 int stringLength4 = this._stringLength;
874 sepListBuilder.Grow();
875 }
876
877 // Token: 0x06000287 RID: 647 RVA: 0x00008EB0 File Offset: 0x000070B0
885
886 // Token: 0x06000288 RID: 648 RVA: 0x00008F00 File Offset: 0x00007100
887 public string Substring(int startIndex)
888 {
889 int stringLength = this._stringLength;
890 string text;
891 return text;
892 }
893
894 // Token: 0x06000289 RID: 649 RVA: 0x00008F18 File Offset: 0x00007118
895 public string Substring(int startIndex, int length)
896 {
897 int stringLength = this._stringLength;
898 if (length == 0 || startIndex == 0)
899 {
900 }
901 return "StartIndex cannot be less than zero.";
902 }
903
904 // Token: 0x0600028A RID: 650 RVA: 0x0000207A File Offset: 0x0000027A
905 private string InternalSubString(int startIndex, int length)
906 {
907 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
908 }
909
910 // Token: 0x0600028B RID: 651 RVA: 0x00008F44 File Offset: 0x00007144
911 public string ToLower()
912 {
913 /*
914An exception occurred when decompiling this method (0600028B)
915
916ICSharpCode.Decompiler.DecompilerException: Error decompiling System.String System.String::ToLower()
917
918 ---> System.Exception: Basic block has to end with unconditional control flow.
919{
920 IL_0003:
921 stloc:CultureInfo(var_1_0A, callgetter:CultureInfo(CultureInfo::get_CurrentCulture))
922}
923
924 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
925 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
926 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
927 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
928 --- End of inner exception stack trace ---
929 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
930 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
931*/;
932 }
933
934 // Token: 0x0600028C RID: 652 RVA: 0x00008F5C File Offset: 0x0000715C
936 {
937 /*
938An exception occurred when decompiling this method (0600028C)
939
940ICSharpCode.Decompiler.DecompilerException: Error decompiling System.String System.String::ToLower(System.Globalization.CultureInfo)
941
942 ---> System.Exception: Basic block has to end with unconditional control flow.
943{
944 IL_0000:
945 brtrue(IL_0000, logicnot:bool(ldloc:CultureInfo[exp:bool](culture)))
946}
947
948 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
949 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
950 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
951 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
952 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
953 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
954 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
955 --- End of inner exception stack trace ---
956 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
957 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
958*/;
959 }
960
961 // Token: 0x0600028D RID: 653 RVA: 0x00008F6C File Offset: 0x0000716C
962 public string ToLowerInvariant()
963 {
964 /*
965An exception occurred when decompiling this method (0600028D)
966
967ICSharpCode.Decompiler.DecompilerException: Error decompiling System.String System.String::ToLowerInvariant()
968
969 ---> System.Exception: Basic block has to end with unconditional control flow.
970{
971 IL_0003:
972 stloc:CultureInfo(var_1_0A, callgetter:CultureInfo(CultureInfo::get_InvariantCulture))
973}
974
975 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
976 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
977 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
978 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
979 --- End of inner exception stack trace ---
980 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
981 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
982*/;
983 }
984
985 // Token: 0x0600028E RID: 654 RVA: 0x00008F84 File Offset: 0x00007184
986 public string ToUpper()
987 {
988 /*
989An exception occurred when decompiling this method (0600028E)
990
991ICSharpCode.Decompiler.DecompilerException: Error decompiling System.String System.String::ToUpper()
992
993 ---> System.Exception: Basic block has to end with unconditional control flow.
994{
995 IL_0003:
996 stloc:CultureInfo(var_1_0A, callgetter:CultureInfo(CultureInfo::get_CurrentCulture))
997}
998
999 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
1000 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
1001 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
1002 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
1003 --- End of inner exception stack trace ---
1004 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
1005 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
1006*/;
1007 }
1008
1009 // Token: 0x0600028F RID: 655 RVA: 0x00008F9C File Offset: 0x0000719C
1011 {
1012 /*
1013An exception occurred when decompiling this method (0600028F)
1014
1015ICSharpCode.Decompiler.DecompilerException: Error decompiling System.String System.String::ToUpper(System.Globalization.CultureInfo)
1016
1017 ---> System.Exception: Basic block has to end with unconditional control flow.
1018{
1019 IL_0000:
1020 brtrue(IL_0000, logicnot:bool(ldloc:CultureInfo[exp:bool](culture)))
1021}
1022
1023 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
1024 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
1025 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
1026 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
1027 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
1028 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
1029 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
1030 --- End of inner exception stack trace ---
1031 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
1032 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
1033*/;
1034 }
1035
1036 // Token: 0x06000290 RID: 656 RVA: 0x00008FAC File Offset: 0x000071AC
1037 public string ToUpperInvariant()
1038 {
1039 /*
1040An exception occurred when decompiling this method (06000290)
1041
1042ICSharpCode.Decompiler.DecompilerException: Error decompiling System.String System.String::ToUpperInvariant()
1043
1044 ---> System.Exception: Basic block has to end with unconditional control flow.
1045{
1046 IL_0003:
1047 stloc:CultureInfo(var_1_0A, callgetter:CultureInfo(CultureInfo::get_InvariantCulture))
1048}
1049
1050 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
1051 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
1052 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
1053 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
1054 --- End of inner exception stack trace ---
1055 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
1056 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
1057*/;
1058 }
1059
1060 // Token: 0x06000291 RID: 657 RVA: 0x00008FC4 File Offset: 0x000071C4
1061 public string Trim()
1062 {
1063 return this.TrimWhiteSpaceHelper(string.TrimType.Both);
1064 }
1065
1066 // Token: 0x06000292 RID: 658 RVA: 0x00008FD8 File Offset: 0x000071D8
1067 public string Trim(char trimChar)
1068 {
1069 return this.TrimHelper(trimChar, 1, string.TrimType.Both);
1070 }
1071
1072 // Token: 0x06000293 RID: 659 RVA: 0x00008FF0 File Offset: 0x000071F0
1073 public string Trim(params char[] trimChars)
1074 {
1075 if (trimChars != null)
1076 {
1077 string text;
1078 return text;
1079 }
1080 string text2;
1081 return text2;
1082 }
1083
1084 // Token: 0x06000294 RID: 660 RVA: 0x00009004 File Offset: 0x00007204
1085 public string TrimStart(params char[] trimChars)
1086 {
1087 if (trimChars != null)
1088 {
1089 string text;
1090 return text;
1091 }
1092 string text2;
1093 return text2;
1094 }
1095
1096 // Token: 0x06000295 RID: 661 RVA: 0x00009018 File Offset: 0x00007218
1097 public string TrimEnd()
1098 {
1099 return this.TrimWhiteSpaceHelper(string.TrimType.Tail);
1100 }
1101
1102 // Token: 0x06000296 RID: 662 RVA: 0x0000902C File Offset: 0x0000722C
1103 public string TrimEnd(params char[] trimChars)
1104 {
1105 if (trimChars != null)
1106 {
1107 string text;
1108 return text;
1109 }
1110 string text2;
1111 return text2;
1112 }
1113
1114 // Token: 0x06000297 RID: 663 RVA: 0x00009040 File Offset: 0x00007240
1116 {
1117 int stringLength = this._stringLength;
1119 if (stringLength == 0)
1120 {
1121 }
1122 long num;
1123 if (trimType != string.TrimType.Head)
1124 {
1125 int stringLength2 = this._stringLength;
1127 if (stringLength == 0)
1128 {
1129 }
1130 num = 0L;
1131 while (stringLength != 0)
1132 {
1133 }
1134 }
1135 return this.CreateTrimmedString((int)num, stringLength);
1136 }
1137
1138 // Token: 0x06000298 RID: 664 RVA: 0x00009088 File Offset: 0x00007288
1139 private unsafe string TrimHelper(char* trimChars, int trimCharsLength, string.TrimType trimType)
1140 {
1141 int stringLength = this._stringLength;
1142 return this;
1143 }
1144
1145 // Token: 0x06000299 RID: 665 RVA: 0x000090D4 File Offset: 0x000072D4
1146 private string CreateTrimmedString(int start, int end)
1147 {
1148 /*
1149An exception occurred when decompiling this method (06000299)
1150
1151ICSharpCode.Decompiler.DecompilerException: Error decompiling System.String System.String::CreateTrimmedString(System.Int32,System.Int32)
1152
1153 ---> System.Exception: Basic block has to end with unconditional control flow.
1154{
1155 IL_0000:
1156 stloc:int32(var_0_06, ldfld:int32(string::_stringLength, ldloc:string(this)))
1157 brtrue(IL_0000, logicnot:bool(ldloc:int32[exp:bool](end)))
1158}
1159
1160 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
1161 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
1162 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
1163 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
1164 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
1165 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
1166 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
1167 --- End of inner exception stack trace ---
1168 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
1169 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
1170*/;
1171 }
1172
1173 // Token: 0x0600029A RID: 666 RVA: 0x000090EC File Offset: 0x000072EC
1174 public bool Contains(string value)
1175 {
1176 /*
1177An exception occurred when decompiling this method (0600029A)
1178
1179ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.String::Contains(System.String)
1180
1181 ---> System.Exception: Basic block has to end with unconditional control flow.
1182{
1183 Block_0:
1184 stloc:int32(var_0_06, ldfld:int32(string::_stringLength, ldloc:string(this)))
1185 stloc:int64(var_1_08, ldc.i4:int64(0))
1186 stloc:int32(var_2_13, call:int32(string::IndexOf, ldloc:string(this), ldloc:string(value), ldloc:int64[exp:int32](var_1_08), ldloc:int32(var_0_06), ldc.i4:StringComparison(4)))
1187}
1188
1189 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
1190 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
1191 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
1192 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
1193 --- End of inner exception stack trace ---
1194 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
1195 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
1196*/;
1197 }
1198
1199 // Token: 0x0600029B RID: 667 RVA: 0x0000910C File Offset: 0x0000730C
1200 public int IndexOf(char value)
1201 {
1202 int stringLength = this._stringLength;
1203 int num;
1204 return num;
1205 }
1206
1207 // Token: 0x0600029C RID: 668 RVA: 0x00009124 File Offset: 0x00007324
1208 public int IndexOf(char value, int startIndex)
1209 {
1210 int stringLength = this._stringLength;
1211 int num;
1212 return num;
1213 }
1214
1215 // Token: 0x0600029D RID: 669 RVA: 0x0000913C File Offset: 0x0000733C
1216 public int IndexOf(char value, int startIndex, int count)
1217 {
1218 int stringLength = this._stringLength;
1219 int num;
1220 return num;
1221 }
1222
1223 // Token: 0x0600029E RID: 670 RVA: 0x00009158 File Offset: 0x00007358
1224 public int IndexOfAny(char[] anyOf)
1225 {
1226 int stringLength = this._stringLength;
1227 long num = 0L;
1228 return this.IndexOfAny(anyOf, (int)num, stringLength);
1229 }
1230
1231 // Token: 0x0600029F RID: 671 RVA: 0x00009178 File Offset: 0x00007378
1232 public int IndexOfAny(char[] anyOf, int startIndex)
1233 {
1234 int stringLength = this._stringLength;
1235 int num;
1236 return num;
1237 }
1238
1239 // Token: 0x060002A0 RID: 672 RVA: 0x00009190 File Offset: 0x00007390
1240 public int IndexOfAny(char[] anyOf, int startIndex, int count)
1241 {
1242 if (anyOf != null)
1243 {
1244 int stringLength = this._stringLength;
1245 return this.IndexOfAny(anyOf, (char)startIndex, startIndex, count);
1246 }
1247 return "Index was out of range. Must be non-negative and less than the size of the collection.";
1248 }
1249
1250 // Token: 0x060002A1 RID: 673 RVA: 0x0000207A File Offset: 0x0000027A
1251 private int IndexOfAny(char value1, char value2, int startIndex, int count)
1252 {
1253 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1254 }
1255
1256 // Token: 0x060002A2 RID: 674 RVA: 0x0000207A File Offset: 0x0000027A
1257 private int IndexOfAny(char value1, char value2, char value3, int startIndex, int count)
1258 {
1259 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1260 }
1261
1262 // Token: 0x060002A3 RID: 675 RVA: 0x000091C4 File Offset: 0x000073C4
1263 private int IndexOfCharArray(char[] anyOf, int startIndex, int count)
1264 {
1265 }
1266
1267 // Token: 0x060002A4 RID: 676 RVA: 0x000091D4 File Offset: 0x000073D4
1269 {
1270 }
1271
1272 // Token: 0x060002A5 RID: 677 RVA: 0x000091E4 File Offset: 0x000073E4
1273 private static bool ArrayContains(char searchChar, char[] anyOf)
1274 {
1275 }
1276
1277 // Token: 0x060002A6 RID: 678 RVA: 0x0000207A File Offset: 0x0000027A
1278 private unsafe static bool IsCharBitSet(uint* charMap, byte value)
1279 {
1280 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1281 }
1282
1283 // Token: 0x060002A7 RID: 679 RVA: 0x000091F8 File Offset: 0x000073F8
1284 private unsafe static void SetCharBit(uint* charMap, byte value)
1285 {
1286 }
1287
1288 // Token: 0x060002A8 RID: 680 RVA: 0x00009208 File Offset: 0x00007408
1289 public int IndexOf(string value)
1290 {
1291 int stringLength = this._stringLength;
1292 int num;
1293 return num;
1294 }
1295
1296 // Token: 0x060002A9 RID: 681 RVA: 0x00009220 File Offset: 0x00007420
1297 public int IndexOf(string value, int startIndex)
1298 {
1299 int stringLength = this._stringLength;
1300 int num;
1301 return num;
1302 }
1303
1304 // Token: 0x060002AA RID: 682 RVA: 0x00009238 File Offset: 0x00007438
1306 {
1307 int stringLength = this._stringLength;
1308 long num = 0L;
1309 return this.IndexOf(value, (int)num, stringLength, comparisonType);
1310 }
1311
1312 // Token: 0x060002AB RID: 683 RVA: 0x00009258 File Offset: 0x00007458
1314 {
1315 int stringLength = this._stringLength;
1316 int num;
1317 return num;
1318 }
1319
1320 // Token: 0x060002AC RID: 684 RVA: 0x00009270 File Offset: 0x00007470
1322 {
1323 while (value == null)
1324 {
1325 }
1326 int stringLength = this._stringLength;
1329 int num;
1330 return num;
1331 }
1332
1333 // Token: 0x060002AD RID: 685 RVA: 0x000092A4 File Offset: 0x000074A4
1334 public int LastIndexOf(char value)
1335 {
1336 int stringLength = this._stringLength;
1337 int num;
1338 return num;
1339 }
1340
1341 // Token: 0x060002AE RID: 686 RVA: 0x000092BC File Offset: 0x000074BC
1342 public int LastIndexOf(char value, int startIndex)
1343 {
1344 int num;
1345 return num;
1346 }
1347
1348 // Token: 0x060002AF RID: 687 RVA: 0x000092CC File Offset: 0x000074CC
1349 public int LastIndexOf(char value, int startIndex, int count)
1350 {
1351 int num;
1352 if (this._stringLength != 0)
1353 {
1354 return num;
1355 }
1356 return num;
1357 }
1358
1359 // Token: 0x060002B0 RID: 688 RVA: 0x000092EC File Offset: 0x000074EC
1360 public int LastIndexOfAny(char[] anyOf)
1361 {
1362 int stringLength = this._stringLength;
1363 int num;
1364 return num;
1365 }
1366
1367 // Token: 0x060002B1 RID: 689 RVA: 0x00009304 File Offset: 0x00007504
1368 public int LastIndexOfAny(char[] anyOf, int startIndex)
1369 {
1370 int num;
1371 return num;
1372 }
1373
1374 // Token: 0x060002B2 RID: 690 RVA: 0x00009314 File Offset: 0x00007514
1375 public int LastIndexOfAny(char[] anyOf, int startIndex, int count)
1376 {
1377 while (anyOf == null)
1378 {
1379 }
1380 if (this._stringLength != 0)
1381 {
1382 return this.LastIndexOfCharArray(anyOf, startIndex, count);
1383 }
1384 int num;
1385 return num;
1386 }
1387
1388 // Token: 0x060002B3 RID: 691 RVA: 0x00009340 File Offset: 0x00007540
1389 private int LastIndexOfCharArray(char[] anyOf, int startIndex, int count)
1390 {
1391 }
1392
1393 // Token: 0x060002B4 RID: 692 RVA: 0x00009350 File Offset: 0x00007550
1394 public int LastIndexOf(string value)
1395 {
1396 int stringLength = this._stringLength;
1397 int num;
1398 return num;
1399 }
1400
1401 // Token: 0x060002B5 RID: 693 RVA: 0x00009368 File Offset: 0x00007568
1403 {
1404 int stringLength = this._stringLength;
1405 int num;
1406 return num;
1407 }
1408
1409 // Token: 0x060002B6 RID: 694 RVA: 0x00009380 File Offset: 0x00007580
1411 {
1412 int num;
1413 do
1414 {
1415 num = 1;
1416 }
1417 while (value == null);
1418 if (num != 0)
1419 {
1420 if (value._stringLength == 0)
1421 {
1422 return startIndex;
1423 }
1425 }
1426 int stringLength = value._stringLength;
1427 return startIndex;
1428 }
1429
1430 // Token: 0x060002B7 RID: 695 RVA: 0x000093CC File Offset: 0x000075CC
1431 public String(char[] value)
1432 {
1433 throw new NotSupportedException();
1434 }
1435
1436 // Token: 0x060002B8 RID: 696 RVA: 0x000093E0 File Offset: 0x000075E0
1437 private static string Ctor(char[] value)
1438 {
1439 }
1440
1441 // Token: 0x060002B9 RID: 697 RVA: 0x000093F0 File Offset: 0x000075F0
1442 public String(char[] value, int startIndex, int length)
1443 {
1444 throw new NotSupportedException();
1445 }
1446
1447 // Token: 0x060002BA RID: 698 RVA: 0x00009404 File Offset: 0x00007604
1448 private static string Ctor(char[] value, int startIndex, int length)
1449 {
1450 if (startIndex != 0)
1451 {
1452 }
1453 return "StartIndex cannot be less than zero.";
1454 }
1455
1456 // Token: 0x060002BB RID: 699 RVA: 0x00009424 File Offset: 0x00007624
1457 [CLSCompliant(false)]
1458 public unsafe String(char* value, int startIndex, int length)
1459 {
1460 throw new NotSupportedException();
1461 }
1462
1463 // Token: 0x060002BC RID: 700 RVA: 0x00009438 File Offset: 0x00007638
1464 private unsafe static string Ctor(char* ptr, int startIndex, int length)
1465 {
1466 if (startIndex != 0)
1467 {
1468 }
1469 return "Length cannot be less than zero.";
1470 }
1471
1472 // Token: 0x060002BD RID: 701 RVA: 0x0000945C File Offset: 0x0000765C
1473 [CLSCompliant(false)]
1474 public unsafe String(sbyte* value, int startIndex, int length)
1475 {
1476 throw new NotSupportedException();
1477 }
1478
1479 // Token: 0x060002BE RID: 702 RVA: 0x00009470 File Offset: 0x00007670
1480 private unsafe static string Ctor(sbyte* value, int startIndex, int length)
1481 {
1482 string text;
1483 return text;
1484 }
1485
1486 // Token: 0x060002BF RID: 703 RVA: 0x00009490 File Offset: 0x00007690
1487 private unsafe static string CreateStringForSByteConstructor(byte* pb, int numBytes)
1488 {
1489 string text;
1490 if (pb != null)
1491 {
1493 return text;
1494 }
1495 return text;
1496 }
1497
1498 // Token: 0x060002C0 RID: 704 RVA: 0x000094AC File Offset: 0x000076AC
1499 [CLSCompliant(false)]
1500 public unsafe String(sbyte* value, int startIndex, int length, Encoding enc)
1501 {
1502 throw new NotSupportedException();
1503 }
1504
1505 // Token: 0x060002C1 RID: 705 RVA: 0x000094C0 File Offset: 0x000076C0
1506 private unsafe static string Ctor(sbyte* value, int startIndex, int length, Encoding enc)
1507 {
1508 if (length != 0)
1509 {
1510 if (!true)
1511 {
1512 }
1513 string text;
1514 return text;
1515 }
1516 string text2;
1517 return text2;
1518 }
1519
1520 // Token: 0x060002C2 RID: 706 RVA: 0x000094E8 File Offset: 0x000076E8
1521 public String(char c, int count)
1522 {
1523 throw new NotSupportedException();
1524 }
1525
1526 // Token: 0x060002C3 RID: 707 RVA: 0x000094FC File Offset: 0x000076FC
1527 private static string Ctor(char c, int count)
1528 {
1529 /*
1530An exception occurred when decompiling this method (060002C3)
1531
1532ICSharpCode.Decompiler.DecompilerException: Error decompiling System.String System.String::Ctor(System.Char,System.Int32)
1533
1534 ---> System.Exception: Basic block has to end with unconditional control flow.
1535{
1536 IL_0000:
1537 brtrue(IL_0000, ldloc:char[exp:bool](c))
1538}
1539
1540 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
1541 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
1542 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
1543 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
1544 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
1545 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
1546 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
1547 --- End of inner exception stack trace ---
1548 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
1549 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
1550*/;
1551 }
1552
1553 // Token: 0x060002C4 RID: 708 RVA: 0x00009510 File Offset: 0x00007710
1555 {
1556 throw new NotSupportedException();
1557 }
1558
1559 // Token: 0x060002C5 RID: 709 RVA: 0x00009524 File Offset: 0x00007724
1560 private static string Ctor(ReadOnlySpan<char> value)
1561 {
1562 /*
1563An exception occurred when decompiling this method (060002C5)
1564
1565ICSharpCode.Decompiler.DecompilerException: Error decompiling System.String System.String::Ctor(System.ReadOnlySpan`1<System.Char>)
1566
1567 ---> System.Exception: Basic block has to end with unconditional control flow.
1568{
1569 IL_0000:
1570 brtrue(IL_0000, logicnot:bool(ldloc:valuetype System.ReadOnlySpan`1<char>[exp:bool](value)))
1571}
1572
1573 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
1574 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
1575 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
1576 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
1577 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
1578 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
1579 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
1580 --- End of inner exception stack trace ---
1581 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
1582 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
1583*/;
1584 }
1585
1586 // Token: 0x060002C6 RID: 710 RVA: 0x00009534 File Offset: 0x00007734
1588 {
1589 /*
1590An exception occurred when decompiling this method (060002C6)
1591
1592ICSharpCode.Decompiler.DecompilerException: Error decompiling System.String System.String::Create<TState>(System.Int32,TState,System.Buffers.SpanAction`2<System.Char,TState>)
1593
1594 ---> System.Exception: Basic block has to end with unconditional control flow.
1595{
1596 Block_0:
1597 stloc:char(var_0_12, call:char(string::GetRawStringData, call:string(string::FastAllocateString, ldc.i4:int32(-2147483648))))
1598}
1599
1600 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
1601 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
1602 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
1603 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
1604 --- End of inner exception stack trace ---
1605 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
1606 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
1607*/;
1608 }
1609
1610 // Token: 0x060002C7 RID: 711 RVA: 0x00009554 File Offset: 0x00007754
1611 public static implicit operator ReadOnlySpan<char>(string value)
1612 {
1613 }
1614
1615 // Token: 0x060002C8 RID: 712 RVA: 0x0000207A File Offset: 0x0000027A
1616 public object Clone()
1617 {
1618 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1619 }
1620
1621 // Token: 0x060002C9 RID: 713 RVA: 0x0000207A File Offset: 0x0000027A
1622 public static string Copy(string str)
1623 {
1624 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1625 }
1626
1627 // Token: 0x060002CA RID: 714 RVA: 0x00009564 File Offset: 0x00007764
1628 public void CopyTo(int sourceIndex, char[] destination, int destinationIndex, int count)
1629 {
1630 if (destination != null)
1631 {
1632 int stringLength = this._stringLength;
1633 return;
1634 }
1635 }
1636
1637 // Token: 0x060002CB RID: 715 RVA: 0x00009580 File Offset: 0x00007780
1638 public char[] ToCharArray()
1639 {
1640 /*
1641An exception occurred when decompiling this method (060002CB)
1642
1643ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Char[] System.String::ToCharArray()
1644
1645 ---> System.Exception: Basic block has to end with unconditional control flow.
1646{
1647 Block_0:
1648 stloc:int32(var_0_0E, ldfld:int32(string::_stringLength, ldloc:string(this)))
1649}
1650
1651 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
1652 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
1653 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
1654 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
1655 --- End of inner exception stack trace ---
1656 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
1657 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
1658*/;
1659 }
1660
1661 // Token: 0x060002CC RID: 716 RVA: 0x0000959C File Offset: 0x0000779C
1663 public static bool IsNullOrEmpty(string value)
1664 {
1665 return true;
1666 }
1667
1668 // Token: 0x060002CD RID: 717 RVA: 0x000095AC File Offset: 0x000077AC
1669 public static bool IsNullOrWhiteSpace(string value)
1670 {
1671 int num = 1;
1673 if (num == 0)
1674 {
1675 return;
1676 }
1677 }
1678
1679 // Token: 0x060002CE RID: 718 RVA: 0x0000207A File Offset: 0x0000027A
1680 internal char GetRawStringData()
1681 {
1682 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1683 }
1684
1685 // Token: 0x060002CF RID: 719 RVA: 0x000095CC File Offset: 0x000077CC
1686 internal unsafe static string CreateStringFromEncoding(byte* bytes, int byteLength, Encoding encoding)
1687 {
1688 /*
1689An exception occurred when decompiling this method (060002CF)
1690
1691ICSharpCode.Decompiler.DecompilerException: Error decompiling System.String System.String::CreateStringFromEncoding(System.Byte*,System.Int32,System.Text.Encoding)
1692
1693 ---> System.Exception: Basic block has to end with unconditional control flow.
1694{
1695 IL_0000:
1696 brtrue(IL_0000, logicnot:bool(ldloc:int32[exp:bool](byteLength)))
1697}
1698
1699 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
1700 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
1701 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
1702 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
1703 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
1704 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
1705 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
1706 --- End of inner exception stack trace ---
1707 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
1708 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
1709*/;
1710 }
1711
1712 // Token: 0x060002D0 RID: 720 RVA: 0x000095DC File Offset: 0x000077DC
1713 internal static string CreateFromChar(char c)
1714 {
1715 return 1;
1716 }
1717
1718 // Token: 0x060002D1 RID: 721 RVA: 0x000095EC File Offset: 0x000077EC
1719 internal unsafe static void wstrcpy(char* dmem, char* smem, int charCount)
1720 {
1721 }
1722
1723 // Token: 0x060002D2 RID: 722 RVA: 0x000095FC File Offset: 0x000077FC
1724 public override string ToString()
1725 {
1726 return this;
1727 }
1728
1729 // Token: 0x060002D3 RID: 723 RVA: 0x0000960C File Offset: 0x0000780C
1730 public string ToString(IFormatProvider provider)
1731 {
1732 return this;
1733 }
1734
1735 // Token: 0x060002D4 RID: 724 RVA: 0x0000207A File Offset: 0x0000027A
1737 {
1738 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1739 }
1740
1741 // Token: 0x060002D5 RID: 725 RVA: 0x0000207A File Offset: 0x0000027A
1743 {
1744 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1745 }
1746
1747 // Token: 0x060002D6 RID: 726 RVA: 0x0000961C File Offset: 0x0000781C
1748 internal unsafe static int wcslen(char* ptr)
1749 {
1750 return IntPtr.Size;
1751 }
1752
1753 // Token: 0x060002D7 RID: 727 RVA: 0x0000963C File Offset: 0x0000783C
1755 {
1756 return TypeCode.String;
1757 }
1758
1759 // Token: 0x060002D8 RID: 728 RVA: 0x0000964C File Offset: 0x0000784C
1761 {
1762 if (!true)
1763 {
1764 }
1765 return Convert.ToBoolean(this, provider);
1766 }
1767
1768 // Token: 0x060002D9 RID: 729 RVA: 0x00009664 File Offset: 0x00007864
1770 {
1771 if (!true)
1772 {
1773 }
1774 return Convert.ToChar(this, provider);
1775 }
1776
1777 // Token: 0x060002DA RID: 730 RVA: 0x0000967C File Offset: 0x0000787C
1779 {
1780 if (!true)
1781 {
1782 }
1783 return Convert.ToSByte(this, provider);
1784 }
1785
1786 // Token: 0x060002DB RID: 731 RVA: 0x00009694 File Offset: 0x00007894
1788 {
1789 if (!true)
1790 {
1791 }
1792 return Convert.ToByte(this, provider);
1793 }
1794
1795 // Token: 0x060002DC RID: 732 RVA: 0x000096AC File Offset: 0x000078AC
1797 {
1798 if (!true)
1799 {
1800 }
1801 return Convert.ToInt16(this, provider);
1802 }
1803
1804 // Token: 0x060002DD RID: 733 RVA: 0x000096C4 File Offset: 0x000078C4
1806 {
1807 if (!true)
1808 {
1809 }
1810 return Convert.ToUInt16(this, provider);
1811 }
1812
1813 // Token: 0x060002DE RID: 734 RVA: 0x000096DC File Offset: 0x000078DC
1815 {
1816 if (!true)
1817 {
1818 }
1819 return Convert.ToInt32(this, provider);
1820 }
1821
1822 // Token: 0x060002DF RID: 735 RVA: 0x000096F4 File Offset: 0x000078F4
1824 {
1825 if (!true)
1826 {
1827 }
1828 return Convert.ToUInt32(this, provider);
1829 }
1830
1831 // Token: 0x060002E0 RID: 736 RVA: 0x0000970C File Offset: 0x0000790C
1833 {
1834 if (!true)
1835 {
1836 }
1837 return Convert.ToInt64(this, provider);
1838 }
1839
1840 // Token: 0x060002E1 RID: 737 RVA: 0x00009724 File Offset: 0x00007924
1842 {
1843 if (!true)
1844 {
1845 }
1846 return Convert.ToUInt64(this, provider);
1847 }
1848
1849 // Token: 0x060002E2 RID: 738 RVA: 0x0000973C File Offset: 0x0000793C
1851 {
1852 /*
1853An exception occurred when decompiling this method (060002E2)
1854
1855ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Single System.String::System.IConvertible.ToSingle(System.IFormatProvider)
1856
1857 ---> System.Exception: Basic block has to end with unconditional control flow.
1858{
1859 IL_0003:
1860 stloc:float32(var_0_0A, call:float32(Convert::ToSingle, ldloc:string(this), ldloc:IFormatProvider(provider)))
1861}
1862
1863 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
1864 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
1865 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
1866 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
1867 --- End of inner exception stack trace ---
1868 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
1869 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
1870*/;
1871 }
1872
1873 // Token: 0x060002E3 RID: 739 RVA: 0x00009754 File Offset: 0x00007954
1875 {
1876 /*
1877An exception occurred when decompiling this method (060002E3)
1878
1879ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Double System.String::System.IConvertible.ToDouble(System.IFormatProvider)
1880
1881 ---> System.Exception: Basic block has to end with unconditional control flow.
1882{
1883 IL_0003:
1884 stloc:float64(var_0_0A, call:float64(Convert::ToDouble, ldloc:string(this), ldloc:IFormatProvider(provider)))
1885}
1886
1887 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
1888 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
1889 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
1890 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
1891 --- End of inner exception stack trace ---
1892 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
1893 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
1894*/;
1895 }
1896
1897 // Token: 0x060002E4 RID: 740 RVA: 0x0000976C File Offset: 0x0000796C
1899 {
1900 if (!true)
1901 {
1902 }
1903 decimal num = Convert.ToDecimal(this, provider);
1904 return 1;
1905 }
1906
1907 // Token: 0x060002E5 RID: 741 RVA: 0x00009788 File Offset: 0x00007988
1909 {
1910 if (!true)
1911 {
1912 }
1913 DateTime dateTime = Convert.ToDateTime(this, provider);
1914 return 1;
1915 }
1916
1917 // Token: 0x060002E6 RID: 742 RVA: 0x000097A4 File Offset: 0x000079A4
1919 {
1920 if (!true)
1921 {
1922 }
1923 return Convert.DefaultToType(this, type, provider);
1924 }
1925
1926 // Token: 0x060002E7 RID: 743 RVA: 0x000097BC File Offset: 0x000079BC
1928 {
1929 if (!true)
1930 {
1931 }
1933 }
1934
1935 // Token: 0x1700003E RID: 62
1936 // (get) Token: 0x060002E8 RID: 744 RVA: 0x000097D4 File Offset: 0x000079D4
1937 public int Length
1938 {
1939 get
1940 {
1941 return this._stringLength;
1942 }
1943 }
1944
1945 // Token: 0x060002E9 RID: 745 RVA: 0x000097E8 File Offset: 0x000079E8
1946 internal int IndexOfUnchecked(string value, int startIndex, int count)
1947 {
1949 return startIndex;
1950 }
1951
1952 // Token: 0x060002EA RID: 746 RVA: 0x00009808 File Offset: 0x00007A08
1959
1960 // Token: 0x060002EB RID: 747 RVA: 0x00009828 File Offset: 0x00007A28
1961 internal int LastIndexOfUnchecked(string value, int startIndex, int count)
1962 {
1964 }
1965
1966 // Token: 0x060002EC RID: 748 RVA: 0x00009840 File Offset: 0x00007A40
1973
1974 // Token: 0x060002ED RID: 749 RVA: 0x00009860 File Offset: 0x00007A60
1975 internal bool StartsWithOrdinalUnchecked(string value)
1976 {
1977 int stringLength = this._stringLength;
1978 char firstChar = this._firstChar;
1979 char firstChar2 = value._firstChar;
1980 return true;
1981 }
1982
1983 // Token: 0x060002EE RID: 750 RVA: 0x0000207A File Offset: 0x0000027A
1984 internal static string FastAllocateString(int length)
1985 {
1986 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1987 }
1988
1989 // Token: 0x060002EF RID: 751 RVA: 0x00009888 File Offset: 0x00007A88
1990 private unsafe static void memset(byte* dest, int val, int len)
1991 {
1992 if (val != 0)
1993 {
1994 return;
1995 }
1996 long num = 0L;
1997 dest->m_value = (byte)num;
1998 }
1999
2000 // Token: 0x060002F0 RID: 752 RVA: 0x000098A8 File Offset: 0x00007AA8
2001 private unsafe static void memcpy(byte* dest, byte* src, int size)
2002 {
2003 long num = 0L;
2004 Buffer.Memcpy(dest, src, size, num != 0L);
2005 }
2006
2007 // Token: 0x060002F1 RID: 753 RVA: 0x000098C0 File Offset: 0x00007AC0
2008 internal unsafe static void bzero(byte* dest, int len)
2009 {
2010 long num = 0L;
2011 string.memset(dest, (int)num, len);
2012 }
2013
2014 // Token: 0x060002F2 RID: 754 RVA: 0x000098D8 File Offset: 0x00007AD8
2015 internal unsafe static void bzero_aligned_1(byte* dest, int len)
2016 {
2017 }
2018
2019 // Token: 0x060002F3 RID: 755 RVA: 0x000098E8 File Offset: 0x00007AE8
2020 internal unsafe static void bzero_aligned_2(byte* dest, int len)
2021 {
2022 }
2023
2024 // Token: 0x060002F4 RID: 756 RVA: 0x000098F8 File Offset: 0x00007AF8
2025 internal unsafe static void bzero_aligned_4(byte* dest, int len)
2026 {
2027 }
2028
2029 // Token: 0x060002F5 RID: 757 RVA: 0x00009908 File Offset: 0x00007B08
2030 internal unsafe static void bzero_aligned_8(byte* dest, int len)
2031 {
2032 }
2033
2034 // Token: 0x060002F6 RID: 758 RVA: 0x00009918 File Offset: 0x00007B18
2035 internal unsafe static void memcpy_aligned_1(byte* dest, byte* src, int size)
2036 {
2037 }
2038
2039 // Token: 0x060002F7 RID: 759 RVA: 0x00009928 File Offset: 0x00007B28
2040 internal unsafe static void memcpy_aligned_2(byte* dest, byte* src, int size)
2041 {
2042 }
2043
2044 // Token: 0x060002F8 RID: 760 RVA: 0x00009938 File Offset: 0x00007B38
2045 internal unsafe static void memcpy_aligned_4(byte* dest, byte* src, int size)
2046 {
2047 }
2048
2049 // Token: 0x060002F9 RID: 761 RVA: 0x00009948 File Offset: 0x00007B48
2050 internal unsafe static void memcpy_aligned_8(byte* dest, byte* src, int size)
2051 {
2052 }
2053
2054 // Token: 0x060002FA RID: 762 RVA: 0x00009958 File Offset: 0x00007B58
2055 private unsafe string CreateString(sbyte* value, int startIndex, int length)
2056 {
2057 return string.Ctor(value, startIndex, startIndex);
2058 }
2059
2060 // Token: 0x060002FB RID: 763 RVA: 0x00009970 File Offset: 0x00007B70
2061 private unsafe string CreateString(char* value, int startIndex, int length)
2062 {
2063 return string.Ctor(value, startIndex, length);
2064 }
2065
2066 // Token: 0x060002FC RID: 764 RVA: 0x00009988 File Offset: 0x00007B88
2067 private string CreateString(char[] val, int startIndex, int length)
2068 {
2069 return string.Ctor(val, startIndex, length);
2070 }
2071
2072 // Token: 0x060002FD RID: 765 RVA: 0x000099A0 File Offset: 0x00007BA0
2073 private string CreateString(char[] val)
2074 {
2075 return string.Ctor(val);
2076 }
2077
2078 // Token: 0x060002FE RID: 766 RVA: 0x000099B4 File Offset: 0x00007BB4
2079 private string CreateString(char c, int count)
2080 {
2081 return string.Ctor(c, count);
2082 }
2083
2084 // Token: 0x060002FF RID: 767 RVA: 0x000099C8 File Offset: 0x00007BC8
2085 private unsafe string CreateString(sbyte* value, int startIndex, int length, Encoding enc)
2086 {
2087 return string.Ctor(value, startIndex, length, enc);
2088 }
2089
2090 // Token: 0x06000300 RID: 768 RVA: 0x000099E0 File Offset: 0x00007BE0
2092 {
2093 return string.Ctor(value);
2094 }
2095
2096 // Token: 0x1700003F RID: 63
2097 [IndexerName("Chars")]
2098 public char this[int index]
2099 {
2100 [Intrinsic]
2101 get
2102 {
2103 /*
2104An exception occurred when decompiling this method (06000301)
2105
2106ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Char System.String::get_Chars(System.Int32)
2107
2108 ---> System.Exception: Basic block has to end with unconditional control flow.
2109{
2110 Block_0:
2111 call:void(ThrowHelper::ThrowIndexOutOfRangeException)
2112}
2113
2114 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
2115 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
2116 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
2117 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
2118 --- End of inner exception stack trace ---
2119 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
2120 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
2121*/;
2122 }
2123 }
2124
2125 // Token: 0x04000198 RID: 408
2126 private const int StackallocIntBufferSizeLimit = 128;
2127
2128 // Token: 0x04000199 RID: 409
2130
2131 // Token: 0x0400019A RID: 410
2133
2134 // Token: 0x0400019B RID: 411
2135 private const int PROBABILISTICMAP_SIZE = 8;
2136
2137 // Token: 0x0400019C RID: 412
2139 private int _stringLength;
2140
2141 // Token: 0x0400019D RID: 413
2143 private char _firstChar;
2144
2145 // Token: 0x0400019E RID: 414
2146 public static readonly string Empty;
2147
2148 // Token: 0x02000068 RID: 104
2149 private enum TrimType
2150 {
2151 // Token: 0x040001A0 RID: 416
2152 Head,
2153 // Token: 0x040001A1 RID: 417
2154 Tail,
2155 // Token: 0x040001A2 RID: 418
2156 Both
2157 }
2158
2159 // Token: 0x02000069 RID: 105
2160 [StructLayout(2, Pack = 1, Size = 32)]
2161 private struct ProbabilisticMap
2162 {
2163 }
2164 }
2165}
class f__AnonymousType0<< Count > j__TPar
static unsafe void Memcpy(byte *pDest, int destIndex, byte[] src, int srcIndex, int len)
Definition Buffer.cs:36
static uint ToUInt32(object value)
Definition Convert.cs:1572
static short ToInt16(object value, IFormatProvider provider)
Definition Convert.cs:986
static sbyte ToSByte(object value, IFormatProvider provider)
Definition Convert.cs:484
static long ToInt64(object value)
Definition Convert.cs:1776
static ushort ToUInt16(object value, IFormatProvider provider)
Definition Convert.cs:1195
static DateTime ToDateTime(object value, IFormatProvider provider)
Definition Convert.cs:2456
static bool ToBoolean(object value, IFormatProvider provider)
Definition Convert.cs:214
static int ToInt32(object value)
Definition Convert.cs:1412
static object DefaultToType(IConvertible value, Type targetType, IFormatProvider provider)
Definition Convert.cs:119
static decimal ToDecimal(object value, IFormatProvider provider)
Definition Convert.cs:2302
static byte ToByte(object value, IFormatProvider provider)
Definition Convert.cs:737
static ulong ToUInt64(object value)
Definition Convert.cs:1908
static char ToChar(object value, IFormatProvider provider)
Definition Convert.cs:309
static CultureInfo CurrentCulture
static CultureInfo InvariantCulture
static byte Min(byte val1, byte val2)
Definition Math.cs:152
static unsafe bool SequenceEqual(byte first, byte second, ulong length)
static unsafe int SequenceCompareTo(char first, int firstLength, char second, int secondLength)
static bool EqualsHelper(string strA, string strB)
Definition String.cs:19
bool Equals(string value, StringComparison comparisonType)
Definition String.cs:262
string ReplaceHelper(int oldValueLength, string newValue, ReadOnlySpan< int > indices)
Definition String.cs:728
bool EndsWith(string value)
Definition String.cs:179
static bool ArrayContains(char searchChar, char[] anyOf)
Definition String.cs:1273
int IndexOfAny(char[] anyOf, int startIndex, int count)
Definition String.cs:1240
int IndexOf(string value, int startIndex)
Definition String.cs:1297
static string Format(string format, object arg0)
Definition String.cs:506
string Replace(string oldValue, string newValue)
Definition String.cs:705
static string Concat(string str0, string str1, string str2, string str3)
Definition String.cs:463
string Insert(int startIndex, string value)
Definition String.cs:580
static bool Equals(string a, string b)
Definition String.cs:276
string ToString(IFormatProvider provider)
Definition String.cs:1730
const int PROBABILISTICMAP_BLOCK_INDEX_SHIFT
Definition String.cs:2132
static string Join(string separator, IEnumerable< string > values)
Definition String.cs:603
int LastIndexOf(char value)
Definition String.cs:1334
static string Concat(params string[] values)
Definition String.cs:486
String(char c, int count)
Definition String.cs:1521
const int StackallocIntBufferSizeLimit
Definition String.cs:2126
bool EndsWith(char value)
Definition String.cs:217
string ToLowerInvariant()
Definition String.cs:962
string[] Split(params char[] separator)
Definition String.cs:759
unsafe String(sbyte *value, int startIndex, int length, Encoding enc)
Definition String.cs:1500
string ToLower(CultureInfo culture)
Definition String.cs:935
static unsafe void memcpy_aligned_1(byte *dest, byte *src, int size)
Definition String.cs:2035
const int PROBABILISTICMAP_SIZE
Definition String.cs:2135
static unsafe void SetCharBit(uint *charMap, byte value)
Definition String.cs:1284
string Trim(params char[] trimChars)
Definition String.cs:1073
int GetLegacyNonRandomizedHashCode()
Definition String.cs:321
static void CheckStringComparison(StringComparison comparisonType)
Definition String.cs:375
string TrimEnd(params char[] trimChars)
Definition String.cs:1103
int IndexOf(string value, StringComparison comparisonType)
Definition String.cs:1305
static string Join(string separator, params string[] value)
Definition String.cs:593
static string Create< TState >(int length, TState state, SpanAction< char, TState > action)
Definition String.cs:1587
static unsafe void InitializeProbabilisticMap(uint *charMap, ReadOnlySpan< char > anyOf)
Definition String.cs:1268
string Substring(int startIndex, int length)
Definition String.cs:895
void MakeSeparatorList(string separator, ValueListBuilder< int > sepListBuilder)
Definition String.cs:866
int IndexOfUnchecked(string value, int startIndex, int count)
Definition String.cs:1946
string Normalize(NormalizationForm normalizationForm)
Definition String.cs:1927
void CopyTo(int sourceIndex, char[] destination, int destinationIndex, int count)
Definition String.cs:1628
TypeCode GetTypeCode()
Definition String.cs:1754
int CompareTo(string strB)
Definition String.cs:172
string[] SplitInternal(string separator, int count, StringSplitOptions options)
Definition String.cs:821
int _stringLength
Definition String.cs:2139
char GetRawStringData()
Definition String.cs:1680
const int PROBABILISTICMAP_BLOCK_INDEX_MASK
Definition String.cs:2129
static int Compare(string strA, string strB)
Definition String.cs:46
static string FormatHelper(IFormatProvider provider, string format, ParamsArray args)
Definition String.cs:568
static unsafe void memcpy_aligned_4(byte *dest, byte *src, int size)
Definition String.cs:2045
static unsafe void wstrcpy(char *dmem, char *smem, int charCount)
Definition String.cs:1719
static unsafe string Ctor(char *ptr, int startIndex, int length)
Definition String.cs:1464
static string Format(string format, params object[] args)
Definition String.cs:527
string InternalSubString(int startIndex, int length)
Definition String.cs:905
static string Concat(object arg0, object arg1, object arg2)
Definition String.cs:399
int IndexOf(string value, int startIndex, int count, StringComparison comparisonType)
Definition String.cs:1321
int IndexOfCharArray(char[] anyOf, int startIndex, int count)
Definition String.cs:1263
string Substring(int startIndex)
Definition String.cs:887
override int GetHashCode()
Definition String.cs:315
String(char[] value, int startIndex, int length)
Definition String.cs:1442
string[] Split(char[] separator, int count)
Definition String.cs:766
int LastIndexOf(string value, StringComparison comparisonType)
Definition String.cs:1402
static unsafe void memset(byte *dest, int val, int len)
Definition String.cs:1990
string[] Split(string[] separator, StringSplitOptions options)
Definition String.cs:792
int IndexOf(char value, int startIndex, int count)
Definition String.cs:1216
string[] Split(char separator, StringSplitOptions options=StringSplitOptions.None)
Definition String.cs:752
static int Compare(string strA, string strB, bool ignoreCase)
Definition String.cs:53
static string Format(string format, object arg0, object arg1, object arg2)
Definition String.cs:520
static int CompareOrdinal(string strA, int indexA, string strB, int indexB, int length)
Definition String.cs:143
string CreateString(ReadOnlySpan< char > value)
Definition String.cs:2091
bool StartsWithOrdinalUnchecked(string value)
Definition String.cs:1975
int IndexOfUncheckedIgnoreCase(string value, int startIndex, int count)
Definition String.cs:1953
static int CompareOrdinal(ReadOnlySpan< char > strA, ReadOnlySpan< char > strB)
Definition String.cs:136
static unsafe bool IsCharBitSet(uint *charMap, byte value)
Definition String.cs:1278
static string Format(IFormatProvider provider, string format, object arg0, object arg1)
Definition String.cs:544
string TrimEnd()
Definition String.cs:1097
int LastIndexOfUnchecked(string value, int startIndex, int count)
Definition String.cs:1961
override string ToString()
Definition String.cs:1724
static int CompareOrdinal(string strA, string strB)
Definition String.cs:124
int IndexOfAny(char[] anyOf)
Definition String.cs:1224
static string Format(IFormatProvider provider, string format, params object[] args)
Definition String.cs:558
int CompareTo(object value)
Definition String.cs:161
static int Compare(string strA, string strB, CultureInfo culture, CompareOptions options)
Definition String.cs:71
static readonly string Empty
Definition String.cs:2146
static unsafe void memcpy_aligned_2(byte *dest, byte *src, int size)
Definition String.cs:2040
string CreateString(char c, int count)
Definition String.cs:2079
static unsafe void memcpy(byte *dest, byte *src, int size)
Definition String.cs:2001
static string Format(string format, object arg0, object arg1)
Definition String.cs:513
static string Concat(string str0, string str1)
Definition String.cs:419
static unsafe void bzero_aligned_4(byte *dest, int len)
Definition String.cs:2025
static string Ctor(char c, int count)
Definition String.cs:1527
string TrimStart(params char[] trimChars)
Definition String.cs:1085
string Replace(char oldChar, char newChar)
Definition String.cs:681
string ToUpper()
Definition String.cs:986
char _firstChar
Definition String.cs:2143
int LastIndexOfCharArray(char[] anyOf, int startIndex, int count)
Definition String.cs:1389
int IndexOf(char value)
Definition String.cs:1200
static unsafe string JoinCore(char *separator, int separatorLength, string[] value, int startIndex, int count)
Definition String.cs:620
static unsafe string CreateStringFromEncoding(byte *bytes, int byteLength, Encoding encoding)
Definition String.cs:1686
unsafe string CreateString(char *value, int startIndex, int length)
Definition String.cs:2061
int LastIndexOfUncheckedIgnoreCase(string value, int startIndex, int count)
Definition String.cs:1967
int IndexOf(char value, int startIndex)
Definition String.cs:1208
string ToUpperInvariant()
Definition String.cs:1037
static string CreateFromChar(char c)
Definition String.cs:1713
string TrimWhiteSpaceHelper(string.TrimType trimType)
Definition String.cs:1115
string Trim(char trimChar)
Definition String.cs:1067
void MakeSeparatorList(ReadOnlySpan< char > separators, ValueListBuilder< int > sepListBuilder)
Definition String.cs:861
String(char[] value)
Definition String.cs:1431
static bool IsNullOrWhiteSpace(string value)
Definition String.cs:1669
static string Format(IFormatProvider provider, string format, object arg0)
Definition String.cs:537
unsafe String(char *value, int startIndex, int length)
Definition String.cs:1458
int IndexOfAny(char value1, char value2, int startIndex, int count)
Definition String.cs:1251
static string Ctor(char[] value, int startIndex, int length)
Definition String.cs:1448
int LastIndexOf(char value, int startIndex)
Definition String.cs:1342
static string Concat(string str0, string str1, string str2)
Definition String.cs:446
bool StartsWith(string value, StringComparison comparisonType)
Definition String.cs:358
static int Compare(string strA, int indexA, string strB, int indexB, int length, StringComparison comparisonType)
Definition String.cs:105
static unsafe void memcpy_aligned_8(byte *dest, byte *src, int size)
Definition String.cs:2050
int IndexOf(string value, int startIndex, StringComparison comparisonType)
Definition String.cs:1313
static void FillStringChecked(string dest, int destPos, string src)
Definition String.cs:381
String(ReadOnlySpan< char > value)
Definition String.cs:1554
static bool operator==(string a, string b)
Definition String.cs:301
static unsafe void bzero_aligned_1(byte *dest, int len)
Definition String.cs:2015
static bool operator!=(string a, string b)
Definition String.cs:308
static int Compare(string strA, string strB, StringComparison comparisonType)
Definition String.cs:60
static unsafe int wcslen(char *ptr)
Definition String.cs:1748
static string Copy(string str)
Definition String.cs:1622
int LastIndexOf(string value)
Definition String.cs:1394
bool Equals(string value)
Definition String.cs:251
unsafe string CreateString(sbyte *value, int startIndex, int length, Encoding enc)
Definition String.cs:2085
static int CompareOrdinalHelper(string strA, string strB)
Definition String.cs:33
static string Format(IFormatProvider provider, string format, object arg0, object arg1, object arg2)
Definition String.cs:551
static unsafe void bzero_aligned_2(byte *dest, int len)
Definition String.cs:2020
static unsafe string Ctor(sbyte *value, int startIndex, int length, Encoding enc)
Definition String.cs:1506
static string FastAllocateString(int length)
Definition String.cs:1984
static unsafe string Ctor(sbyte *value, int startIndex, int length)
Definition String.cs:1480
string Remove(int startIndex, int count)
Definition String.cs:663
unsafe string TrimHelper(char *trimChars, int trimCharsLength, string.TrimType trimType)
Definition String.cs:1139
int LastIndexOf(char value, int startIndex, int count)
Definition String.cs:1349
static unsafe void bzero(byte *dest, int len)
Definition String.cs:2008
string[] SplitKeepEmptyEntries(ReadOnlySpan< int > sepList, ReadOnlySpan< int > lengthList, int defaultLength, int count)
Definition String.cs:837
static string Ctor(ReadOnlySpan< char > value)
Definition String.cs:1560
static unsafe void bzero_aligned_8(byte *dest, int len)
Definition String.cs:2030
bool StartsWith(string value)
Definition String.cs:348
static string Concat(object arg0, object arg1)
Definition String.cs:388
static int CompareOrdinalHelper(string strA, int indexA, int countA, string strB, int indexB, int countB)
Definition String.cs:26
string ToUpper(CultureInfo culture)
Definition String.cs:1010
bool EndsWith(string value, StringComparison comparisonType)
Definition String.cs:186
int LastIndexOfAny(char[] anyOf, int startIndex)
Definition String.cs:1368
char[] ToCharArray()
Definition String.cs:1638
int LastIndexOfAny(char[] anyOf, int startIndex, int count)
Definition String.cs:1375
string Trim()
Definition String.cs:1061
static string Join(string separator, string[] value, int startIndex, int count)
Definition String.cs:613
string Remove(int startIndex)
Definition String.cs:673
unsafe string CreateString(sbyte *value, int startIndex, int length)
Definition String.cs:2055
static int Compare(string strA, string strB, bool ignoreCase, CultureInfo culture)
Definition String.cs:98
string CreateString(char[] val, int startIndex, int length)
Definition String.cs:2067
void MakeSeparatorList(string[] separators, ValueListBuilder< int > sepListBuilder, ValueListBuilder< int > lengthListBuilder)
Definition String.cs:878
int IndexOfAny(char[] anyOf, int startIndex)
Definition String.cs:1232
string[] SplitInternal(ReadOnlySpan< char > separators, int count, StringSplitOptions options)
Definition String.cs:780
string CreateTrimmedString(int start, int end)
Definition String.cs:1146
string[] SplitInternal(string separator, string[] separators, int count, StringSplitOptions options)
Definition String.cs:799
int LastIndexOfAny(char[] anyOf)
Definition String.cs:1360
string PadRight(int totalWidth, char paddingChar)
Definition String.cs:639
int IndexOf(string value)
Definition String.cs:1289
string ToLower()
Definition String.cs:911
int IndexOfAny(char value1, char value2, char value3, int startIndex, int count)
Definition String.cs:1257
static bool Equals(string a, string b, StringComparison comparisonType)
Definition String.cs:287
string[] SplitOmitEmptyEntries(ReadOnlySpan< int > sepList, ReadOnlySpan< int > lengthList, int defaultLength, int count)
Definition String.cs:849
unsafe String(sbyte *value, int startIndex, int length)
Definition String.cs:1474
static unsafe string CreateStringForSByteConstructor(byte *pb, int numBytes)
Definition String.cs:1487
static string Ctor(char[] value)
Definition String.cs:1437
static bool IsNullOrEmpty(string value)
Definition String.cs:1663
override bool Equals(object obj)
Definition String.cs:241
bool Contains(string value)
Definition String.cs:1174
string[] Split(char[] separator, StringSplitOptions options)
Definition String.cs:773
object Clone()
Definition String.cs:1616
string CreateString(char[] val)
Definition String.cs:2073
int LastIndexOf(string value, int startIndex, int count, StringComparison comparisonType)
Definition String.cs:1410
static Encoding UTF8
Definition Encoding.cs:828
static string Normalize(string source, NormalizationForm normalizationForm)
static string GetStringAndRelease(StringBuilder sb)
static StringBuilder Acquire(int capacity=16)
static void ThrowIndexOutOfRangeException()
static void ThrowArgumentException(ExceptionResource resource)
double ToDouble(IFormatProvider provider)
DateTime ToDateTime(IFormatProvider provider)
short ToInt16(IFormatProvider provider)
int ToInt32(IFormatProvider provider)
char ToChar(IFormatProvider provider)
float ToSingle(IFormatProvider provider)
ulong ToUInt64(IFormatProvider provider)
ushort ToUInt16(IFormatProvider provider)
decimal ToDecimal(IFormatProvider provider)
bool ToBoolean(IFormatProvider provider)
object ToType(Type conversionType, IFormatProvider provider)
sbyte ToSByte(IFormatProvider provider)
uint ToUInt32(IFormatProvider provider)
byte ToByte(IFormatProvider provider)
long ToInt64(IFormatProvider provider)
TypeCode
Definition TypeCode.cs:7
static int Size
Definition IntPtr.cs:45