Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
LinePosition
int IXmlLineInfo. System.Xml.Linq.XNodeReader.LinePosition
get
private
Implements
System.Xml.IXmlLineInfo
.
Definition at line
333
of file
XNodeReader.cs
.
334
{
335
get
336
{
337
if
(
IsEndElement
)
338
{
339
if
(
_source
is
XElement
xElement
)
340
{
341
LineInfoEndElementAnnotation
lineInfoEndElementAnnotation
=
xElement
.Annotation<LineInfoEndElementAnnotation>();
342
if
(
lineInfoEndElementAnnotation
!=
null
)
343
{
344
return
lineInfoEndElementAnnotation
.linePosition;
345
}
346
}
347
}
348
else
if
(
_source
is
IXmlLineInfo
xmlLineInfo
)
349
{
350
return
xmlLineInfo
.LinePosition;
351
}
352
return
0;
353
}
354
}
System.Xml.Linq.XNodeReader.IsEndElement
bool IsEndElement
Definition
XNodeReader.cs:357
System.Xml.Linq.XNodeReader._source
object _source
Definition
XNodeReader.cs:7
System.Xml.ValueHandleType.Dictionary
@ Dictionary
System
Xml
Linq
XNodeReader
Generated by
1.10.0