1 write to _reader
Microsoft.Build.Tasks.Core (1)
CSharptokenEnumerator.cs (1)
30_reader = new CSharpTokenCharReader(binaryStream, forceANSI);
48 references to _reader
Microsoft.Build.Tasks.Core (48)
CSharptokenEnumerator.cs (48)
40int startPosition = _reader.Position; 43if (_reader.SinkMultipleWhiteSpace()) 49else if (_reader.Sink("//")) 52_reader.SinkToEndOfLine(); 58else if (_reader.Sink("/*")) 60_reader.SinkUntil("*/"); 63if (_reader.EndOfLines) 74else if (_reader.Sink("\'")) 76while (_reader.CurrentCharacter != '\'') 78if (_reader.Sink("\\")) 91_reader.SinkCharacter(); 94if (_reader.SinkCharacter() != '\'') 102else if (_reader.Sink("@\"")) 107while (_reader.Sink("\"\"")) 111while (!_reader.EndOfLines && _reader.SinkCharacter() != '\"'); 114if (_reader.EndOfLines) 122current.InnerText = _reader.GetCurrentMatchedString(startPosition).Substring(1); 126else if (_reader.Sink("\"")) 128while (_reader.CurrentCharacter == '\\' || _reader.MatchRegularStringLiteral()) 131if (_reader.SinkCharacter() == '\\') 134if (_reader.SinkStringEscape()) 143_reader.SinkCharacter(); 151if (TokenChar.IsNewLine(_reader.CurrentCharacter)) 158if (_reader.SinkCharacter() != '\"') 169_reader.CurrentCharacter == '@' || 170_reader.MatchNextIdentifierStart()) 172if (_reader.CurrentCharacter == '@') 174_reader.SinkCharacter(); 178if (!_reader.SinkIdentifierStart()) 185while (_reader.SinkIdentifierPart()) 188string identifierOrKeyword = _reader.GetCurrentMatchedString(startPosition); 203string identifier = _reader.GetCurrentMatchedString(startPosition); 223else if (_reader.Sink("{")) 229else if (_reader.Sink("}")) 235else if (_reader.SinkIgnoreCase("0x")) 238if (!_reader.SinkMultipleHexDigits()) 245_reader.SinkLongIntegerSuffix(); 251else if (_reader.SinkMultipleDecimalDigits()) 254_reader.SinkLongIntegerSuffix(); 260else if (_reader.SinkOperatorOrPunctuator()) 266else if (_reader.CurrentCharacter == '#') 268if (_reader.Sink("#if")) 272else if (_reader.Sink("#endif")) 281_reader.SinkToEndOfLine(); 287_reader.SinkCharacter(); 320return _reader;