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(); 81if (_scanner.Token != GenericTypeNameScannerToken.NONE) 109_scanner.Read(); 111if (_scanner.Token != GenericTypeNameScannerToken.NONE) 142if (_scanner.Token != GenericTypeNameScannerToken.NAME) 150if (_scanner.Token == GenericTypeNameScannerToken.OPEN) 156if (_scanner.Token == GenericTypeNameScannerToken.SUBSCRIPT) 169Debug.Assert(_scanner.Token == GenericTypeNameScannerToken.NAME); 172string name = _scanner.MultiCharTokenText; 173_scanner.Read(); 176if (_scanner.Token == GenericTypeNameScannerToken.COLON) 179_scanner.Read(); 182if (_scanner.Token != GenericTypeNameScannerToken.NAME) 187name = _scanner.MultiCharTokenText; 188_scanner.Read(); 200Debug.Assert(_scanner.Token == GenericTypeNameScannerToken.OPEN); 201_scanner.Read(); 206if (_scanner.Token != GenericTypeNameScannerToken.CLOSE) 211_scanner.Read(); 221while (_scanner.Token == GenericTypeNameScannerToken.COMMA) 232Debug.Assert(_scanner.Token == GenericTypeNameScannerToken.COMMA); 233_scanner.Read(); 243Debug.Assert(_scanner.Token == GenericTypeNameScannerToken.SUBSCRIPT); 247Callout_Subscript(_scanner.MultiCharTokenText); 248_scanner.Read(); 250while (_scanner.Token == GenericTypeNameScannerToken.SUBSCRIPT); 255throw new TypeNameParserException(SR.Format(SR.InvalidCharInTypeName, _scanner.ErrorCurrentChar, _inputText));