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
XmlProcessingInstruction.cs
Go to the documentation of this file.
1using System;
3
4namespace System.Xml
5{
6 // Token: 0x0200007E RID: 126
8 {
9 // Token: 0x06000606 RID: 1542 RVA: 0x00014654 File Offset: 0x00012854
10 protected internal XmlProcessingInstruction(string target, string data, XmlDocument doc)
11 : base(doc)
12 {
15 }
16
17 // Token: 0x17000193 RID: 403
18 // (get) Token: 0x06000607 RID: 1543 RVA: 0x00014678 File Offset: 0x00012878
19 public override string Name
20 {
21 get
22 {
23 /*
24An exception occurred when decompiling this method (06000607)
25
26ICSharpCode.Decompiler.DecompilerException: Error decompiling System.String System.Xml.XmlProcessingInstruction::get_Name()
27
28 ---> System.Exception: Basic block has to end with unconditional control flow.
29{
30 IL_0000:
31 brtrue(IL_0000, ldfld:string[exp:bool](XmlProcessingInstruction::target, ldloc:XmlProcessingInstruction(this)))
32}
33
34 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
35 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
36 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
37 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
38 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
39 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
40 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
41 --- End of inner exception stack trace ---
42 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
43 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
44*/;
45 }
46 }
47
48 // Token: 0x17000194 RID: 404
49 // (get) Token: 0x06000608 RID: 1544 RVA: 0x00003FFD File Offset: 0x000021FD
50 public override string LocalName
51 {
52 get
53 {
54 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
55 }
56 }
57
58 // Token: 0x17000195 RID: 405
59 // (get) Token: 0x06000609 RID: 1545 RVA: 0x0001468C File Offset: 0x0001288C
60 // (set) Token: 0x0600060A RID: 1546 RVA: 0x000146A0 File Offset: 0x000128A0
61 public override string Value
62 {
63 get
64 {
65 return this.data;
66 }
67 set
68 {
70 }
71 }
72
73 // Token: 0x17000196 RID: 406
74 // (set) Token: 0x0600060B RID: 1547 RVA: 0x000146B4 File Offset: 0x000128B4
75 public string Data
76 {
77 set
78 {
79 string text = this.data;
80 if (this != null)
81 {
83 return;
84 }
86 }
87 }
88
89 // Token: 0x17000197 RID: 407
90 // (get) Token: 0x0600060C RID: 1548 RVA: 0x000146DC File Offset: 0x000128DC
91 // (set) Token: 0x0600060D RID: 1549 RVA: 0x000146F0 File Offset: 0x000128F0
92 public override string InnerText
93 {
94 get
95 {
96 return this.data;
97 }
98 set
99 {
101 }
102 }
103
104 // Token: 0x17000198 RID: 408
105 // (get) Token: 0x0600060E RID: 1550 RVA: 0x00014704 File Offset: 0x00012904
106 public override XmlNodeType NodeType
107 {
108 get
109 {
110 return XmlNodeType.ProcessingInstruction;
111 }
112 }
113
114 // Token: 0x0600060F RID: 1551 RVA: 0x00014714 File Offset: 0x00012914
115 public override XmlNode CloneNode(bool deep)
116 {
117 /*
118An exception occurred when decompiling this method (0600060F)
119
120ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Xml.XmlNode System.Xml.XmlProcessingInstruction::CloneNode(System.Boolean)
121
122 ---> System.Exception: Basic block has to end with unconditional control flow.
123{
124 Block_0:
125 stloc:string(var_0_06, ldfld:string(XmlProcessingInstruction::target, ldloc:XmlProcessingInstruction(this)))
126 stloc:string(var_1_0D, ldfld:string(XmlProcessingInstruction::data, ldloc:XmlProcessingInstruction(this)))
127}
128
129 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
130 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
131 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
132 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
133 --- End of inner exception stack trace ---
134 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
135 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
136*/;
137 }
138
139 // Token: 0x040002FC RID: 764
140 private string target;
141
142 // Token: 0x040002FD RID: 765
143 private string data;
144 }
145}
class f__AnonymousType0<< Count > j__TPar
XmlProcessingInstruction(string target, string data, XmlDocument doc)