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(); 83if (_scanner.Token != GenericTypeNameScannerToken.NONE) 110_scanner.Read(); 112if (_scanner.Token != GenericTypeNameScannerToken.NONE) 142if (_scanner.Token != GenericTypeNameScannerToken.NAME) 149if (_scanner.Token == GenericTypeNameScannerToken.OPEN) 155if (_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) 186name = _scanner.MultiCharTokenText; 187_scanner.Read(); 199Debug.Assert(_scanner.Token == GenericTypeNameScannerToken.OPEN); 200_scanner.Read(); 205if (_scanner.Token != GenericTypeNameScannerToken.CLOSE) 209_scanner.Read(); 219while (_scanner.Token == GenericTypeNameScannerToken.COMMA) 230Debug.Assert(_scanner.Token == GenericTypeNameScannerToken.COMMA); 231_scanner.Read(); 241Debug.Assert(_scanner.Token == GenericTypeNameScannerToken.SUBSCRIPT); 245Callout_Subscript(_scanner.MultiCharTokenText); 246_scanner.Read(); 248while (_scanner.Token == GenericTypeNameScannerToken.SUBSCRIPT); 253throw new TypeNameParserException(SR.Format(SR.InvalidCharInTypeName, _scanner.ErrorCurrentChar, _inputText));