2 writes to _scanner
System.Xaml (2)
System\Xaml\Parser\GenericTypeNameParser.cs (2)
72
_scanner
= new GenericTypeNameScanner(text);
102
_scanner
= new GenericTypeNameScanner(text);
27 references to _scanner
System.Xaml (27)
System\Xaml\Parser\GenericTypeNameParser.cs (27)
79
_scanner
.Read();
81
if (
_scanner
.Token != GenericTypeNameScannerToken.NONE)
109
_scanner
.Read();
111
if (
_scanner
.Token != GenericTypeNameScannerToken.NONE)
142
if (
_scanner
.Token != GenericTypeNameScannerToken.NAME)
150
if (
_scanner
.Token == GenericTypeNameScannerToken.OPEN)
156
if (
_scanner
.Token == GenericTypeNameScannerToken.SUBSCRIPT)
169
Debug.Assert(
_scanner
.Token == GenericTypeNameScannerToken.NAME);
172
string name =
_scanner
.MultiCharTokenText;
173
_scanner
.Read();
176
if (
_scanner
.Token == GenericTypeNameScannerToken.COLON)
179
_scanner
.Read();
182
if (
_scanner
.Token != GenericTypeNameScannerToken.NAME)
187
name =
_scanner
.MultiCharTokenText;
188
_scanner
.Read();
200
Debug.Assert(
_scanner
.Token == GenericTypeNameScannerToken.OPEN);
201
_scanner
.Read();
206
if (
_scanner
.Token != GenericTypeNameScannerToken.CLOSE)
211
_scanner
.Read();
221
while (
_scanner
.Token == GenericTypeNameScannerToken.COMMA)
232
Debug.Assert(
_scanner
.Token == GenericTypeNameScannerToken.COMMA);
233
_scanner
.Read();
243
Debug.Assert(
_scanner
.Token == GenericTypeNameScannerToken.SUBSCRIPT);
247
Callout_Subscript(
_scanner
.MultiCharTokenText);
248
_scanner
.Read();
250
while (
_scanner
.Token == GenericTypeNameScannerToken.SUBSCRIPT);
255
throw new TypeNameParserException(SR.Format(SR.InvalidCharInTypeName,
_scanner
.ErrorCurrentChar, _inputText));