Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ ScanString()

string MS.Internal.Xml.XPath.XPathScanner.ScanString ( )
inlineprivate

Definition at line 297 of file XPathScanner.cs.

298 {
300 NextChar();
301 int startIndex = _xpathExprIndex - 1;
302 int num = 0;
303 while (CurrentChar != currentChar)
304 {
305 if (!NextChar())
306 {
308 }
309 num++;
310 }
311 NextChar();
312 return _xpathExpr.Substring(startIndex, num);
313 }
static string Xp_UnclosedString
Definition SR.cs:1232
Definition SR.cs:7
static XPathException Create(string res)

References MS.Internal.Xml.XPath.XPathScanner._xpathExpr, MS.Internal.Xml.XPath.XPathScanner._xpathExprIndex, System.Xml.XPath.XPathException.Create(), MS.Internal.Xml.XPath.XPathScanner.CurrentChar, System.Xml.Dictionary, MS.Internal.Xml.XPath.XPathScanner.NextChar(), System.startIndex, and System.SR.Xp_UnclosedString.

Referenced by MS.Internal.Xml.XPath.XPathScanner.NextLex().