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
XDeclaration.cs
Go to the documentation of this file.
1using System;
2
3namespace System.Xml.Linq
4{
5 // Token: 0x02000008 RID: 8
6 public class XDeclaration
7 {
8 // Token: 0x06000037 RID: 55 RVA: 0x00002940 File Offset: 0x00000B40
9 public XDeclaration(string version, string encoding, string standalone)
10 {
11 this._version = version;
12 this._encoding = encoding;
13 this._standalone = standalone;
14 }
15
16 // Token: 0x06000038 RID: 56 RVA: 0x00002968 File Offset: 0x00000B68
18 {
19 do
20 {
21 base..ctor();
22 }
23 while (other == null);
24 string version = other._version;
25 this._version = version;
26 string standalone = other._standalone;
27 this._standalone = standalone;
28 }
29
30 // Token: 0x1700000B RID: 11
31 // (get) Token: 0x06000039 RID: 57 RVA: 0x0000299C File Offset: 0x00000B9C
32 // (set) Token: 0x0600003A RID: 58 RVA: 0x000029B0 File Offset: 0x00000BB0
33 public string Encoding
34 {
35 get
36 {
37 return this._encoding;
38 }
39 set
40 {
42 }
43 }
44
45 // Token: 0x1700000C RID: 12
46 // (get) Token: 0x0600003B RID: 59 RVA: 0x000029C4 File Offset: 0x00000BC4
47 // (set) Token: 0x0600003C RID: 60 RVA: 0x000029D8 File Offset: 0x00000BD8
48 public string Standalone
49 {
50 get
51 {
52 return this._standalone;
53 }
54 set
55 {
57 }
58 }
59
60 // Token: 0x1700000D RID: 13
61 // (get) Token: 0x0600003D RID: 61 RVA: 0x000029EC File Offset: 0x00000BEC
62 public string Version
63 {
64 get
65 {
66 return this._version;
67 }
68 }
69
70 // Token: 0x0600003E RID: 62 RVA: 0x00002A00 File Offset: 0x00000C00
71 public override string ToString()
72 {
73 /*
74An exception occurred when decompiling this method (0600003E)
75
76ICSharpCode.Decompiler.DecompilerException: Error decompiling System.String System.Xml.Linq.XDeclaration::ToString()
77
78 ---> System.Exception: Basic block has to end with unconditional control flow.
79{
80 IL_0086:
81 stloc:StringBuilder(var_14_91, call:StringBuilder(StringBuilder::Append, ldloc:StringBuilder(var_0_07), ldstr:string("?>")))
82 call:void(StringBuilderCache::Release, ldloc:StringBuilder(var_0_07))
83}
84
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 1852
86 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
87 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
88 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
89 --- End of inner exception stack trace ---
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 92
91 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
92*/;
93 }
94
95 // Token: 0x0400000B RID: 11
96 private string _version;
97
98 // Token: 0x0400000C RID: 12
99 private string _encoding;
100
101 // Token: 0x0400000D RID: 13
102 private string _standalone;
103 }
104}
class f__AnonymousType0<< Count > j__TPar
XDeclaration(string version, string encoding, string standalone)
override string ToString()
XDeclaration(XDeclaration other)