147 references to Advance
Microsoft.Build (2)
Evaluation\Conditionals\Parser.cs (2)
109
if (!_lexer.
Advance
())
386
if (!_lexer.
Advance
())
Microsoft.Build.Engine.UnitTests (145)
Scanner_Tests.cs (145)
74
while (lexer.
Advance
() && !lexer.IsNext(Token.TokenType.EndOfInput))
199
Assert.True(lexer.
Advance
());
204
Assert.True(lexer.
Advance
());
209
Assert.True(lexer.
Advance
());
214
Assert.True(lexer.
Advance
());
219
Assert.True(lexer.
Advance
());
224
Assert.True(lexer.
Advance
());
228
Assert.True(lexer.
Advance
());
232
Assert.True(lexer.
Advance
());
236
Assert.True(lexer.
Advance
());
247
Assert.True(lexer.
Advance
());
250
Assert.True(lexer.
Advance
());
253
Assert.True(lexer.
Advance
());
258
Assert.True(lexer.
Advance
());
263
Assert.True(lexer.
Advance
());
267
Assert.True(lexer.
Advance
());
271
Assert.True(lexer.
Advance
());
275
Assert.True(lexer.
Advance
());
286
Assert.True(lexer.
Advance
());
289
Assert.True(lexer.
Advance
());
292
Assert.True(lexer.
Advance
());
295
Assert.True(lexer.
Advance
());
298
Assert.True(lexer.
Advance
());
301
Assert.True(lexer.
Advance
());
304
Assert.True(lexer.
Advance
());
307
Assert.True(lexer.
Advance
());
310
Assert.True(lexer.
Advance
());
313
Assert.True(lexer.
Advance
());
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));
456
Assert.True(lexer.
Advance
());
459
Assert.True(lexer.
Advance
());
461
lexer.
Advance
();
463
lexer.
Advance
();
465
lexer.
Advance
();
469
Assert.True(lexer.
Advance
());
471
lexer.
Advance
();
473
lexer.
Advance
();
475
lexer.
Advance
();
479
Assert.True(lexer.
Advance
());
481
lexer.
Advance
();
483
lexer.
Advance
();
485
lexer.
Advance
();
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));
546
Assert.False(lexer.
Advance
());
550
Assert.True(lexer.
Advance
());
551
Assert.False(lexer.
Advance
());
555
Assert.False(lexer.
Advance
());
566
Assert.False(lexer.
Advance
());