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
TernaryTreeReadOnly.cs
Go to the documentation of this file.
1using System;
2
3namespace System.Xml
4{
5 // Token: 0x02000028 RID: 40
6 internal class TernaryTreeReadOnly
7 {
8 // Token: 0x060000D5 RID: 213 RVA: 0x00003F58 File Offset: 0x00002158
13
14 // Token: 0x060000D6 RID: 214 RVA: 0x00003F74 File Offset: 0x00002174
16 {
17 /*
18An exception occurred when decompiling this method (060000D6)
19
20ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Byte System.Xml.TernaryTreeReadOnly::FindCaseInsensitiveString(System.String)
21
22 ---> System.Exception: Basic block has to end with unconditional control flow.
23{
24 Block_0:
25 stloc:uint8[](var_0_06, ldfld:uint8[](TernaryTreeReadOnly::nodeBuffer, ldloc:TernaryTreeReadOnly(this)))
26 stloc:int64(var_1_08, ldc.i4:int64(0))
27 stloc:char(var_2_10, callgetter:char(string::get_Chars, ldloc:string(stringToFind), ldloc:int64[exp:int32](var_1_08)))
28 stloc:int64(var_4_14, ldc.i4:int64(0))
29 stloc:int32(var_5_1C, ldfld:int32(string::_stringLength, ldloc:string(stringToFind)))
30 stloc:char(var_7_29, callgetter:char(string::get_Chars, ldloc:string(stringToFind), ldloc:int64[exp:int32](var_4_14)))
31}
32
33 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
34 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
35 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
36 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
37 --- End of inner exception stack trace ---
38 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
39 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
40*/;
41 }
42
43 // Token: 0x0400006C RID: 108
44 private byte[] nodeBuffer;
45 }
46}
class f__AnonymousType0<< Count > j__TPar
byte FindCaseInsensitiveString(string stringToFind)