Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
LastNode
XNode
? System.Xml.Linq.XContainer.LastNode
get
inherited
Definition at line
429
of file
XContainer.cs
.
430
{
431
get
432
{
433
if
(
content
==
null
)
434
{
435
return
null
;
436
}
437
if
(
content
is
XNode
result)
438
{
439
return
result;
440
}
441
if
(
content
is
string
text
)
442
{
443
if
(
text
.Length == 0)
444
{
445
return
null
;
446
}
447
XText
xText
=
new
XText(
text
);
448
xText.parent
=
this
;
449
xText.next
=
xText
;
450
Interlocked
.
CompareExchange
<
object
>(
ref
content
, (object)
xText
, (
object
)
text
);
451
}
452
return
(
XNode
)
content
;
453
}
454
}
System.Collections.Generic.Dictionary
Definition
Dictionary.cs:14
System.Threading.Interlocked.CompareExchange
static int CompareExchange(ref int location1, int value, int comparand)
System.Threading.Interlocked
Definition
Interlocked.cs:9
System.Xml.Linq.XContainer.content
object content
Definition
XContainer.cs:425
System.Xml.Linq.XNode.XNode
XNode()
Definition
XNode.cs:73
System.Xml.ValueHandleType.Dictionary
@ Dictionary
System.ExceptionArgument.text
@ text
Referenced by
System.Xml.Linq.XContainer.Nodes()
.
System
Xml
Linq
XElement
Generated by
1.10.0