18 references to EndOfInput
Microsoft.Build (8)
Evaluation\Conditionals\Parser.cs (5)
115if (!_lexer.IsNext(Token.TokenType.EndOfInput)) 131if (!_lexer.IsNext(Token.TokenType.EndOfInput)) 155if (Same(expression, Token.TokenType.EndOfInput)) 185if (!_lexer.IsNext(Token.TokenType.EndOfInput)) 194if (_lexer.IsNext(Token.TokenType.EndOfInput))
Evaluation\Conditionals\Scanner.cs (1)
140if (_lookahead?.IsToken(Token.TokenType.EndOfInput) == true)
Evaluation\Conditionals\Token.cs (2)
30internal static readonly Token EndOfInput = new Token(TokenType.EndOfInput); 166case TokenType.EndOfInput:
Microsoft.Build.Engine.UnitTests (10)
Scanner_Tests.cs (10)
74while (lexer.Advance() && !lexer.IsNext(Token.TokenType.EndOfInput)) 325Assert.True(lexer.Advance() && lexer.IsNext(Token.TokenType.EndOfInput)); 329Assert.True(lexer.Advance() && lexer.IsNext(Token.TokenType.EndOfInput)); 333Assert.True(lexer.Advance() && lexer.IsNext(Token.TokenType.EndOfInput)); 339Assert.True(lexer.Advance() && lexer.IsNext(Token.TokenType.EndOfInput)); 466Assert.True(lexer.IsNext(Token.TokenType.EndOfInput)); 476Assert.True(lexer.IsNext(Token.TokenType.EndOfInput)); 486Assert.True(lexer.IsNext(Token.TokenType.EndOfInput)); 518Assert.True(lexer.Advance() && lexer.IsNext(Token.TokenType.EndOfInput)); 536Assert.True(lexer.Advance() && lexer.IsNext(Token.TokenType.EndOfInput));