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
XAttributeWrapper.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: 0x0200011B RID: 283
7
internal
class
XAttributeWrapper
:
XObjectWrapper
8
{
9
// Token: 0x1700021E RID: 542
10
// (get) Token: 0x06000B01 RID: 2817 RVA: 0x0001A408 File Offset: 0x00018608
11
private
XAttribute
Attribute
12
{
13
get
14
{
15
if
(this.
_xmlObject
!=
null
)
16
{
17
}
18
throw
new
InvalidCastException
();
19
}
20
}
21
22
// Token: 0x06000B02 RID: 2818 RVA: 0x0001A424 File Offset: 0x00018624
23
public
XAttributeWrapper
(
XAttribute
attribute)
24
{
25
if
(!
true
)
26
{
27
}
28
base
..ctor();
29
this._xmlObject
= attribute;
30
}
31
32
// Token: 0x1700021F RID: 543
33
// (get) Token: 0x06000B03 RID: 2819 RVA: 0x0001A444 File Offset: 0x00018644
34
// (set) Token: 0x06000B04 RID: 2820 RVA: 0x0001A45C File Offset: 0x0001865C
35
public
override
string
Value
36
{
37
get
38
{
39
return
this.
Attribute
.value;
40
}
41
set
42
{
43
this.Attribute.Value
=
value
;
44
}
45
}
46
47
// Token: 0x17000220 RID: 544
48
// (get) Token: 0x06000B05 RID: 2821 RVA: 0x0001A478 File Offset: 0x00018678
49
public
override
string
LocalName
50
{
51
get
52
{
53
return
this.
Attribute
.name._localName;
54
}
55
}
56
57
// Token: 0x17000221 RID: 545
58
// (get) Token: 0x06000B06 RID: 2822 RVA: 0x0001A498 File Offset: 0x00018698
59
public
override
string
NamespaceUri
60
{
61
get
62
{
63
return
this.
Attribute
.name.NamespaceName;
64
}
65
}
66
67
// Token: 0x17000222 RID: 546
68
// (get) Token: 0x06000B07 RID: 2823 RVA: 0x0001A4B8 File Offset: 0x000186B8
69
public
override
IXmlNode
ParentNode
70
{
71
get
72
{
73
IXmlNode
xmlNode
;
74
if
(this.
Attribute
.Parent !=
null
)
75
{
76
xmlNode
=
XContainerWrapper
.
WrapNode
(this.
Attribute
.Parent);
77
return
xmlNode
;
78
}
79
return
xmlNode
;
80
}
81
}
82
}
83
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
Newtonsoft.Json.Converters.XAttributeWrapper.XAttributeWrapper
XAttributeWrapper(XAttribute attribute)
Definition
XAttributeWrapper.cs:23
Newtonsoft.Json.Converters.XAttributeWrapper.ParentNode
override IXmlNode ParentNode
Definition
XAttributeWrapper.cs:70
Newtonsoft.Json.Converters.XAttributeWrapper.Value
override string Value
Definition
XAttributeWrapper.cs:36
Newtonsoft.Json.Converters.XAttributeWrapper.NamespaceUri
override string NamespaceUri
Definition
XAttributeWrapper.cs:60
Newtonsoft.Json.Converters.XAttributeWrapper.LocalName
override string LocalName
Definition
XAttributeWrapper.cs:50
Newtonsoft.Json.Converters.XAttributeWrapper
Definition
XAttributeWrapper.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.Attribute
Definition
Attribute.cs:11
System.InvalidCastException
Definition
InvalidCastException.cs:9
System.Xml.Linq.XAttribute
Definition
XAttribute.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.value
@ value
System
Definition
__ComObject.cs:4
source
Newtonsoft.Json
Converters
XAttributeWrapper.cs
Generated by
1.10.0