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
XPathNodeRef.cs
Go to the documentation of this file.
1using System;
3
5{
6 // Token: 0x02000172 RID: 370
7 internal struct XPathNodeRef
8 {
9 // Token: 0x06000CC0 RID: 3264 RVA: 0x00021A74 File Offset: 0x0001FC74
10 public XPathNodeRef(XPathNode[] page, int idx)
11 {
12 this._page = page;
13 this._idx = idx;
14 }
15
16 // Token: 0x17000360 RID: 864
17 // (get) Token: 0x06000CC1 RID: 3265 RVA: 0x00003FFD File Offset: 0x000021FD
18 public XPathNode[] Page
19 {
20 get
21 {
22 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
23 }
24 }
25
26 // Token: 0x17000361 RID: 865
27 // (get) Token: 0x06000CC2 RID: 3266 RVA: 0x00021A90 File Offset: 0x0001FC90
28 public int Index
29 {
30 get
31 {
32 return this._idx;
33 }
34 }
35
36 // Token: 0x06000CC3 RID: 3267 RVA: 0x00021AA4 File Offset: 0x0001FCA4
37 public override int GetHashCode()
38 {
39 /*
40An exception occurred when decompiling this method (06000CC3)
41
42ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 MS.Internal.Xml.Cache.XPathNodeRef::GetHashCode()
43
44 ---> System.Exception: Basic block has to end with unconditional control flow.
45{
46 Block_0:
47 stloc:int32(var_0_06, ldfld:int32(XPathNodeRef::_idx, ldloc:valuetype MS.Internal.Xml.Cache.XPathNodeRef&(this)))
48}
49
50 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
51 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
52 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
53 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
54 --- End of inner exception stack trace ---
55 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
56 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
57*/;
58 }
59
60 // Token: 0x04000691 RID: 1681
61 private XPathNode[] _page;
62
63 // Token: 0x04000692 RID: 1682
64 private int _idx;
65 }
66}
class f__AnonymousType0<< Count > j__TPar
XPathNodeRef(XPathNode[] page, int idx)