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
XContainerWrapper.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Collections.Generic
;
3
using
System.Xml.Linq
;
4
using
Cpp2IlInjected
;
5
6
namespace
Newtonsoft.Json.Converters
7
{
8
// Token: 0x02000119 RID: 281
9
internal
class
XContainerWrapper
:
XObjectWrapper
10
{
11
// Token: 0x17000213 RID: 531
12
// (get) Token: 0x06000AEF RID: 2799 RVA: 0x0001A2B8 File Offset: 0x000184B8
13
private
XContainer
Container
14
{
15
get
16
{
17
if
(this.
_xmlObject
!=
null
)
18
{
19
}
20
throw
new
InvalidCastException
();
21
}
22
}
23
24
// Token: 0x06000AF0 RID: 2800 RVA: 0x0001A2D4 File Offset: 0x000184D4
25
public
XContainerWrapper
(
XContainer
container)
26
{
27
if
(!
true
)
28
{
29
}
30
base
..ctor();
31
this._xmlObject
= container;
32
}
33
34
// Token: 0x17000214 RID: 532
35
// (get) Token: 0x06000AF1 RID: 2801 RVA: 0x0000212A File Offset: 0x0000032A
36
public
override
List<IXmlNode>
ChildNodes
37
{
38
get
39
{
40
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
41
}
42
}
43
44
// Token: 0x17000215 RID: 533
45
// (get) Token: 0x06000AF2 RID: 2802 RVA: 0x0001A2F4 File Offset: 0x000184F4
46
public
override
IXmlNode
ParentNode
47
{
48
get
49
{
50
IXmlNode
xmlNode
;
51
if
(this.
Container
.
Parent
!=
null
)
52
{
53
xmlNode =
XContainerWrapper
.
WrapNode
(this.
Container
.
Parent
);
54
return
xmlNode
;
55
}
56
return
xmlNode
;
57
}
58
}
59
60
// Token: 0x06000AF3 RID: 2803 RVA: 0x0001A324 File Offset: 0x00018524
61
internal
static
IXmlNode
WrapNode
(
XObject
node)
62
{
63
throw
new
InvalidCastException
();
64
}
65
66
// Token: 0x06000AF4 RID: 2804 RVA: 0x0001A338 File Offset: 0x00018538
67
public
override
IXmlNode
AppendChild
(
IXmlNode
newChild
)
68
{
69
XContainer
container = this.
Container
;
70
return
newChild
;
71
}
72
73
// Token: 0x04000416 RID: 1046
74
private
List<IXmlNode>
_childNodes
;
75
}
76
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
Cpp2IlInjected.AnalysisFailedException
Definition
AnalysisFailedException.cs:7
Newtonsoft.Json.Converters.XContainerWrapper.Container
XContainer Container
Definition
XContainerWrapper.cs:14
Newtonsoft.Json.Converters.XContainerWrapper._childNodes
List< IXmlNode > _childNodes
Definition
XContainerWrapper.cs:74
Newtonsoft.Json.Converters.XContainerWrapper.ParentNode
override IXmlNode ParentNode
Definition
XContainerWrapper.cs:47
Newtonsoft.Json.Converters.XContainerWrapper.ChildNodes
override List< IXmlNode > ChildNodes
Definition
XContainerWrapper.cs:37
Newtonsoft.Json.Converters.XContainerWrapper.AppendChild
override IXmlNode AppendChild(IXmlNode newChild)
Definition
XContainerWrapper.cs:67
Newtonsoft.Json.Converters.XContainerWrapper.WrapNode
static IXmlNode WrapNode(XObject node)
Definition
XContainerWrapper.cs:61
Newtonsoft.Json.Converters.XContainerWrapper.XContainerWrapper
XContainerWrapper(XContainer container)
Definition
XContainerWrapper.cs:25
Newtonsoft.Json.Converters.XContainerWrapper
Definition
XContainerWrapper.cs:10
Newtonsoft.Json.Converters.XObjectWrapper._xmlObject
readonly XObject _xmlObject
Definition
XObjectWrapper.cs:153
Newtonsoft.Json.Converters.XObjectWrapper
Definition
XObjectWrapper.cs:11
System.Collections.Generic.List
Definition
List.cs:13
System.InvalidCastException
Definition
InvalidCastException.cs:9
System.Xml.Linq.XContainer
Definition
XContainer.cs:13
System.Xml.Linq.XObject.Parent
XElement Parent
Definition
XObject.cs:20
System.Xml.Linq.XObject
Definition
XObject.cs:7
Newtonsoft.Json.Converters.IXmlNode
Definition
IXmlNode.cs:9
Cpp2IlInjected
Definition
AnalysisFailedException.cs:4
Newtonsoft.Json.Converters
Definition
BinaryConverter.cs:8
System.Collections.Generic
Definition
ArrayBuilder.cs:5
System.Xml.Linq
Definition
ElementWriter.cs:4
System
Definition
__ComObject.cs:4
source
Newtonsoft.Json
Converters
XContainerWrapper.cs
Generated by
1.10.0