Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
XPathNodeRef.cs
Go to the documentation of this file.
1
namespace
MS.Internal.Xml.Cache
;
2
3
internal
struct
XPathNodeRef
4
{
5
private
readonly
XPathNode
[]
_page
;
6
7
private
readonly
int
_idx
;
8
9
public
XPathNode
[]
Page
=>
_page
;
10
11
public
int
Index
=>
_idx
;
12
13
public
XPathNodeRef
(
XPathNode
[] page,
int
idx)
14
{
15
_page
= page;
16
_idx
= idx;
17
}
18
19
public
override
int
GetHashCode
()
20
{
21
return
XPathNodeHelper
.
GetLocation
(
_page
,
_idx
);
22
}
23
}
MS.Internal.Xml.Cache.XPathNodeHelper.GetLocation
static int GetLocation(XPathNode[] pageNode, int idxNode)
Definition
XPathNodeHelper.cs:108
MS.Internal.Xml.Cache.XPathNodeHelper
Definition
XPathNodeHelper.cs:6
MS.Internal.Xml.Cache
Definition
TextBlockType.cs:1
MS.Internal.Xml.Cache.XPathNodeRef._idx
readonly int _idx
Definition
XPathNodeRef.cs:7
MS.Internal.Xml.Cache.XPathNodeRef.GetHashCode
override int GetHashCode()
Definition
XPathNodeRef.cs:19
MS.Internal.Xml.Cache.XPathNodeRef.XPathNodeRef
XPathNodeRef(XPathNode[] page, int idx)
Definition
XPathNodeRef.cs:13
MS.Internal.Xml.Cache.XPathNodeRef.Index
int Index
Definition
XPathNodeRef.cs:11
MS.Internal.Xml.Cache.XPathNodeRef.Page
XPathNode[] Page
Definition
XPathNodeRef.cs:9
MS.Internal.Xml.Cache.XPathNodeRef._page
readonly XPathNode[] _page
Definition
XPathNodeRef.cs:5
MS.Internal.Xml.Cache.XPathNodeRef
Definition
XPathNodeRef.cs:4
MS.Internal.Xml.Cache.XPathNode
Definition
XPathNode.cs:6
source
System.Private.Xml
MS.Internal.Xml.Cache
XPathNodeRef.cs
Generated by
1.10.0