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
XCommentWrapper.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Xml.Linq
;
3
4
namespace
Newtonsoft.Json.Converters
5
{
6
// Token: 0x02000117 RID: 279
7
internal
class
XCommentWrapper
:
XObjectWrapper
8
{
9
// Token: 0x1700020D RID: 525
10
// (get) Token: 0x06000AE5 RID: 2789 RVA: 0x0001A190 File Offset: 0x00018390
11
private
XComment
Text
12
{
13
get
14
{
15
if
(this.
_xmlObject
!=
null
)
16
{
17
}
18
throw
new
InvalidCastException
();
19
}
20
}
21
22
// Token: 0x06000AE6 RID: 2790 RVA: 0x0001A1AC File Offset: 0x000183AC
23
public
XCommentWrapper
(
XComment
text
)
24
{
25
if
(!
true
)
26
{
27
}
28
base
..ctor();
29
this._xmlObject
=
text
;
30
}
31
32
// Token: 0x1700020E RID: 526
33
// (get) Token: 0x06000AE7 RID: 2791 RVA: 0x0001A1CC File Offset: 0x000183CC
34
// (set) Token: 0x06000AE8 RID: 2792 RVA: 0x0001A1E4 File Offset: 0x000183E4
35
public
override
string
Value
36
{
37
get
38
{
39
return
this.Text.value;
40
}
41
set
42
{
43
this.Text.Value
=
value
;
44
}
45
}
46
47
// Token: 0x1700020F RID: 527
48
// (get) Token: 0x06000AE9 RID: 2793 RVA: 0x0001A200 File Offset: 0x00018400
49
public
override
IXmlNode
ParentNode
50
{
51
get
52
{
53
IXmlNode
xmlNode
;
54
if
(this.Text.Parent !=
null
)
55
{
56
xmlNode
=
XContainerWrapper
.
WrapNode
(this.Text.Parent);
57
return
xmlNode
;
58
}
59
return
xmlNode
;
60
}
61
}
62
}
63
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
Newtonsoft.Json.Converters.XCommentWrapper.Value
override string Value
Definition
XCommentWrapper.cs:36
Newtonsoft.Json.Converters.XCommentWrapper.ParentNode
override IXmlNode ParentNode
Definition
XCommentWrapper.cs:50
Newtonsoft.Json.Converters.XCommentWrapper.XCommentWrapper
XCommentWrapper(XComment text)
Definition
XCommentWrapper.cs:23
Newtonsoft.Json.Converters.XCommentWrapper
Definition
XCommentWrapper.cs:8
Newtonsoft.Json.Converters.XContainerWrapper.WrapNode
static IXmlNode WrapNode(XObject node)
Definition
XContainerWrapper.cs:61
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.InvalidCastException
Definition
InvalidCastException.cs:9
System.Xml.Linq.XComment
Definition
XComment.cs:8
Newtonsoft.Json.Converters.IXmlNode
Definition
IXmlNode.cs:9
Newtonsoft.Json.Converters
Definition
BinaryConverter.cs:8
System.Xml.Linq
Definition
ElementWriter.cs:4
System.ExceptionArgument.text
@ text
System.ExceptionArgument.value
@ value
System
Definition
__ComObject.cs:4
source
Newtonsoft.Json
Converters
XCommentWrapper.cs
Generated by
1.10.0