Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
ConstructBaseURI()
string
System.Xml.XmlEntityReference.ConstructBaseURI
(
string
baseURI
,
string
systemId
)
inline
private
Definition at line
139
of file
XmlEntityReference.cs
.
140
{
141
if
(baseURI ==
null
)
142
{
143
return
systemId;
144
}
145
int
num = baseURI.LastIndexOf(
'/'
) + 1;
146
string
text
= baseURI;
147
if
(num > 0 && num < baseURI.Length)
148
{
149
text
= baseURI.Substring(0, num);
150
}
151
else
if
(num == 0)
152
{
153
text
+=
"\\"
;
154
}
155
return
text
+ systemId.Replace(
'\\'
,
'/'
);
156
}
System.ExceptionArgument.text
@ text
References
System.text
.
System
Xml
XmlEntityReference
Generated by
1.10.0