145 references to IsNext
Microsoft.Build (6)
Evaluation\Conditionals\Parser.cs (6)
115
if (!_lexer.
IsNext
(Token.TokenType.EndOfInput))
131
if (!_lexer.
IsNext
(Token.TokenType.EndOfInput))
185
if (!_lexer.
IsNext
(Token.TokenType.EndOfInput))
194
if (_lexer.
IsNext
(Token.TokenType.EndOfInput))
337
if (!_lexer.
IsNext
(Token.TokenType.RightParenthesis))
384
if (_lexer.
IsNext
(token))
Microsoft.Build.Engine.UnitTests (139)
Scanner_Tests.cs (139)
74
while (lexer.Advance() && !lexer.
IsNext
(Token.TokenType.EndOfInput))
200
Assert.True(lexer.
IsNext
(Token.TokenType.Numeric));
205
Assert.True(lexer.
IsNext
(Token.TokenType.Numeric));
210
Assert.True(lexer.
IsNext
(Token.TokenType.Numeric));
215
Assert.True(lexer.
IsNext
(Token.TokenType.Numeric));
220
Assert.True(lexer.
IsNext
(Token.TokenType.Numeric));
225
Assert.True(lexer.
IsNext
(Token.TokenType.Numeric));
229
Assert.True(lexer.
IsNext
(Token.TokenType.Numeric));
233
Assert.True(lexer.
IsNext
(Token.TokenType.Numeric));
237
Assert.True(lexer.
IsNext
(Token.TokenType.Numeric));
248
Assert.True(lexer.
IsNext
(Token.TokenType.Property));
251
Assert.True(lexer.
IsNext
(Token.TokenType.ItemList));
254
Assert.True(lexer.
IsNext
(Token.TokenType.String));
259
Assert.True(lexer.
IsNext
(Token.TokenType.String));
264
Assert.True(lexer.
IsNext
(Token.TokenType.And));
268
Assert.True(lexer.
IsNext
(Token.TokenType.Or));
272
Assert.True(lexer.
IsNext
(Token.TokenType.And));
276
Assert.True(lexer.
IsNext
(Token.TokenType.Or));
287
Assert.True(lexer.
IsNext
(Token.TokenType.LeftParenthesis));
290
Assert.True(lexer.
IsNext
(Token.TokenType.RightParenthesis));
293
Assert.True(lexer.
IsNext
(Token.TokenType.Comma));
296
Assert.True(lexer.
IsNext
(Token.TokenType.EqualTo));
299
Assert.True(lexer.
IsNext
(Token.TokenType.NotEqualTo));
302
Assert.True(lexer.
IsNext
(Token.TokenType.LessThan));
305
Assert.True(lexer.
IsNext
(Token.TokenType.GreaterThan));
308
Assert.True(lexer.
IsNext
(Token.TokenType.LessThanOrEqualTo));
311
Assert.True(lexer.
IsNext
(Token.TokenType.GreaterThanOrEqualTo));
314
Assert.True(lexer.
IsNext
(Token.TokenType.Not));
324
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.ItemList));
325
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.EndOfInput));
328
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.String));
329
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.EndOfInput));
332
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.String));
333
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.EndOfInput));
336
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.String));
337
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.EqualTo));
338
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.String));
339
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.EndOfInput));
348
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.Function));
350
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.LeftParenthesis));
351
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.RightParenthesis));
354
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.Function));
356
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.LeftParenthesis));
357
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.Numeric));
358
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.RightParenthesis));
361
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.Function));
363
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.LeftParenthesis));
364
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.Property));
365
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.RightParenthesis));
368
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.Function));
370
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.LeftParenthesis));
371
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.ItemList));
372
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.RightParenthesis));
375
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.Function));
377
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.LeftParenthesis));
378
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.String));
379
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.RightParenthesis));
382
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.Function));
384
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.LeftParenthesis));
385
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.String));
386
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.RightParenthesis));
389
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.Function));
391
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.LeftParenthesis));
392
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.String));
393
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.Comma));
394
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.Numeric));
395
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.RightParenthesis));
398
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.Function));
400
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.LeftParenthesis));
401
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.Property));
402
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.Comma));
403
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.String));
404
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.Comma));
405
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.Numeric));
406
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.RightParenthesis));
409
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.Function));
411
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.LeftParenthesis));
412
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.ItemList));
413
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.Comma));
414
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.Property));
415
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.Comma));
416
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.String));
417
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.Comma));
418
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.String));
419
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.Comma));
420
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.Numeric));
421
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.RightParenthesis));
430
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.String));
434
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.String));
438
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.String));
442
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.ItemList));
446
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.ItemList));
460
Assert.True(lexer.
IsNext
(Token.TokenType.String));
462
Assert.True(lexer.
IsNext
(Token.TokenType.EqualTo));
464
Assert.True(lexer.
IsNext
(Token.TokenType.Property));
466
Assert.True(lexer.
IsNext
(Token.TokenType.EndOfInput));
470
Assert.True(lexer.
IsNext
(Token.TokenType.Property));
472
Assert.True(lexer.
IsNext
(Token.TokenType.NotEqualTo));
474
Assert.True(lexer.
IsNext
(Token.TokenType.String));
476
Assert.True(lexer.
IsNext
(Token.TokenType.EndOfInput));
480
Assert.True(lexer.
IsNext
(Token.TokenType.Property));
482
Assert.True(lexer.
IsNext
(Token.TokenType.LessThan));
484
Assert.True(lexer.
IsNext
(Token.TokenType.Numeric));
486
Assert.True(lexer.
IsNext
(Token.TokenType.EndOfInput));
498
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.Property));
499
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.And));
500
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.Property));
503
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.Numeric));
504
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.Property));
505
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.Numeric));
506
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.ItemList));
507
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.String));
508
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.LessThan));
509
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.GreaterThan));
510
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.String));
511
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.LessThanOrEqualTo));
512
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.String));
513
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.GreaterThanOrEqualTo));
514
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.String));
515
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.EqualTo));
516
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.Numeric));
517
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.NotEqualTo));
518
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.EndOfInput));
521
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.Numeric));
522
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.Property));
523
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.Numeric));
524
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.ItemList));
525
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.String));
526
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.LessThan));
527
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.GreaterThan));
528
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.String));
529
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.LessThanOrEqualTo));
530
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.String));
531
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.GreaterThanOrEqualTo));
532
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.String));
533
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.EqualTo));
534
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.Numeric));
535
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.NotEqualTo));
536
Assert.True(lexer.Advance() && lexer.
IsNext
(Token.TokenType.EndOfInput));