2 writes to _scanner
System.Xaml (2)
System\Xaml\Parser\GenericTypeNameParser.cs (2)
74
_scanner
= new GenericTypeNameScanner(text);
103
_scanner
= new GenericTypeNameScanner(text);
27 references to _scanner
System.Xaml (27)
System\Xaml\Parser\GenericTypeNameParser.cs (27)
81
_scanner
.Read();
83
if (
_scanner
.Token != GenericTypeNameScannerToken.NONE)
110
_scanner
.Read();
112
if (
_scanner
.Token != GenericTypeNameScannerToken.NONE)
142
if (
_scanner
.Token != GenericTypeNameScannerToken.NAME)
149
if (
_scanner
.Token == GenericTypeNameScannerToken.OPEN)
155
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)
186
name =
_scanner
.MultiCharTokenText;
187
_scanner
.Read();
199
Debug.Assert(
_scanner
.Token == GenericTypeNameScannerToken.OPEN);
200
_scanner
.Read();
205
if (
_scanner
.Token != GenericTypeNameScannerToken.CLOSE)
209
_scanner
.Read();
219
while (
_scanner
.Token == GenericTypeNameScannerToken.COMMA)
230
Debug.Assert(
_scanner
.Token == GenericTypeNameScannerToken.COMMA);
231
_scanner
.Read();
241
Debug.Assert(
_scanner
.Token == GenericTypeNameScannerToken.SUBSCRIPT);
245
Callout_Subscript(
_scanner
.MultiCharTokenText);
246
_scanner
.Read();
248
while (
_scanner
.Token == GenericTypeNameScannerToken.SUBSCRIPT);
253
throw new TypeNameParserException(SR.Format(SR.InvalidCharInTypeName,
_scanner
.ErrorCurrentChar, _inputText));