31 references to CurrentChar
System.Private.Xml (31)
System\Xml\XPath\Internal\XPathScanner.cs (31)
114
if (XmlCharType.IsWhiteSpace(
CurrentChar
))
122
Debug.Assert(XmlCharType.IsWhiteSpace(
CurrentChar
));
123
while (NextChar() && XmlCharType.IsWhiteSpace(
CurrentChar
));
129
switch (
CurrentChar
)
147
_kind = (LexKind)Convert.ToInt32(
CurrentChar
, CultureInfo.InvariantCulture);
153
if (
CurrentChar
== '=')
162
if (
CurrentChar
== '=')
171
if (
CurrentChar
== '=')
180
if (
CurrentChar
== '.')
185
else if (char.IsAsciiDigit(
CurrentChar
))
194
if (
CurrentChar
== '/')
206
if (char.IsAsciiDigit(
CurrentChar
))
211
else if (XmlCharType.IsStartNCNameSingleChar(
CurrentChar
))
218
if (
CurrentChar
== ':')
222
if (
CurrentChar
== ':')
230
if (
CurrentChar
== '*')
235
else if (XmlCharType.IsStartNCNameSingleChar(
CurrentChar
))
248
if (
CurrentChar
== ':')
252
if (
CurrentChar
== ':')
264
_canBeFunction = (
CurrentChar
== '(');
277
Debug.Assert(
CurrentChar
== '.' || char.IsAsciiDigit(
CurrentChar
));
280
while (char.IsAsciiDigit(
CurrentChar
))
284
if (
CurrentChar
== '.')
287
while (char.IsAsciiDigit(
CurrentChar
))
297
Debug.Assert(char.IsAsciiDigit(
CurrentChar
));
301
while (char.IsAsciiDigit(
CurrentChar
))
310
char endChar =
CurrentChar
;
314
while (
CurrentChar
!= endChar)
322
Debug.Assert(
CurrentChar
== endChar);
332
Debug.Assert(span[0] ==
CurrentChar
);