Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Location.cs
Go to the documentation of this file.
1
using
System.Diagnostics
;
2
3
namespace
System.Xml.Xsl
;
4
5
[DebuggerDisplay(
"({Line},{Pos})"
)]
6
internal
struct
Location
7
{
8
private
readonly ulong
_value
;
9
10
public
int
Line
=> (int)(
_value
>> 32);
11
12
public
int
Pos
=> (int)
_value
;
13
14
public
Location
(
int
line
,
int
pos)
15
{
16
_value
= (ulong)(((
long
)
line
<< 32) | (uint)pos);
17
}
18
19
public
bool
LessOrEqual
(
Location
that
)
20
{
21
return
_value
<=
that
._value;
22
}
23
}
System.Diagnostics
Definition
AggregationManager.cs:6
System.Xml.Xsl
Definition
BranchingContext.cs:1
System.Xml.ValueHandleType.Dictionary
@ Dictionary
System.Xml.Xsl.Location.Pos
int Pos
Definition
Location.cs:12
System.Xml.Xsl.Location.Location
Location(int line, int pos)
Definition
Location.cs:14
System.Xml.Xsl.Location.Line
int Line
Definition
Location.cs:10
System.Xml.Xsl.Location.LessOrEqual
bool LessOrEqual(Location that)
Definition
Location.cs:19
System.Xml.Xsl.Location._value
readonly ulong _value
Definition
Location.cs:8
System.Xml.Xsl.Location
Definition
Location.cs:7
source
System.Private.Xml
System.Xml.Xsl
Location.cs
Generated by
1.10.0