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
BinHexDecoder.cs
Go to the documentation of this file.
1using System;
3
4namespace System.Xml
5{
6 // Token: 0x02000007 RID: 7
8 {
9 // Token: 0x17000001 RID: 1
10 // (get) Token: 0x0600000A RID: 10 RVA: 0x000021DC File Offset: 0x000003DC
11 internal override bool IsFull
12 {
13 get
14 {
15 /*
16An exception occurred when decompiling this method (0600000A)
17
18ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.Xml.BinHexDecoder::get_IsFull()
19
20 ---> System.Exception: Basic block has to end with unconditional control flow.
21{
22 Block_0:
23 stloc:int32(var_0_06, ldfld:int32(BinHexDecoder::curIndex, ldloc:BinHexDecoder(this)))
24 stloc:bool(var_1_0D, ldfld:bool(BinHexDecoder::hasHalfByteCached, ldloc:BinHexDecoder(this)))
25}
26
27 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
28 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
29 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
30 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
31 --- End of inner exception stack trace ---
32 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
33 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
34*/;
35 }
36 }
37
38 // Token: 0x0600000B RID: 11 RVA: 0x000021F8 File Offset: 0x000003F8
39 internal override int Decode(char[] chars, int startPos, int len)
40 {
41 while (chars == null)
42 {
43 }
44 if (len != 0)
45 {
46 byte[] array = this.buffer;
47 int num = this.curIndex;
48 bool flag = this.hasHalfByteCached;
49 int num2 = this.curIndex;
51 }
52 return "len";
53 }
54
55 // Token: 0x0600000C RID: 12 RVA: 0x00002238 File Offset: 0x00000438
56 public static byte[] Decode(char[] chars, bool allowOddChars)
57 {
58 if (true)
59 {
60 return;
61 }
62 }
63
64 // Token: 0x0600000D RID: 13 RVA: 0x0000224C File Offset: 0x0000044C
65 private unsafe static void Decode(char* pChars, char* pCharsEndPos, byte* pBytes, byte* pBytesEndPos, bool hasHalfByteCached, byte cachedHalfByte, [Out] int charsDecoded, [Out] int bytesDecoded)
66 {
68 }
69
70 // Token: 0x0400000A RID: 10
71 private byte[] buffer;
72
73 // Token: 0x0400000B RID: 11
74 private int curIndex;
75
76 // Token: 0x0400000C RID: 12
77 private int endIndex;
78
79 // Token: 0x0400000D RID: 13
80 private bool hasHalfByteCached;
81
82 // Token: 0x0400000E RID: 14
83 private byte cachedHalfByte;
84 }
85}
class f__AnonymousType0<< Count > j__TPar
static byte[] Decode(char[] chars, bool allowOddChars)
override int Decode(char[] chars, int startPos, int len)
static unsafe void Decode(char *pChars, char *pCharsEndPos, byte *pBytes, byte *pBytesEndPos, bool hasHalfByteCached, byte cachedHalfByte, [Out] int charsDecoded, [Out] int bytesDecoded)
static XmlCharType Instance