37 references to IsNextString
Microsoft.Build (9)
Evaluation\Conditionals\Parser.cs (9)
118ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "UnexpectedTokenInCondition", expression, _lexer.IsNextString(), errorPosition); 182ProjectErrorUtilities.ThrowInvalidProject(_elementLocation, "UnexpectedTokenInCondition", expression, _lexer.IsNextString(), errorPosition); 204ProjectErrorUtilities.ThrowInvalidProject(_elementLocation, "UnexpectedTokenInCondition", expression, _lexer.IsNextString(), errorPosition); 226ProjectErrorUtilities.ThrowInvalidProject(_elementLocation, "UnexpectedTokenInCondition", expression, _lexer.IsNextString(), errorPosition); 289ProjectErrorUtilities.ThrowInvalidProject(_elementLocation, "UnexpectedTokenInCondition", _lexer.IsNextString(), errorPosition); 297ProjectErrorUtilities.ThrowInvalidProject(_elementLocation, "UnexpectedTokenInCondition", expression, _lexer.IsNextString(), errorPosition); 312ProjectErrorUtilities.ThrowInvalidProject(_elementLocation, "UnexpectedTokenInCondition", expression, _lexer.IsNextString(), errorPosition); 322ProjectErrorUtilities.ThrowInvalidProject(_elementLocation, "UnexpectedTokenInCondition", expression, _lexer.IsNextString(), errorPosition); 330ProjectErrorUtilities.ThrowInvalidProject(_elementLocation, "UnexpectedTokenInCondition", expression, _lexer.IsNextString(), errorPosition);
Microsoft.Build.Engine.UnitTests (28)
Scanner_Tests.cs (28)
201Assert.Equal(0, String.Compare("1234", lexer.IsNextString())); 206Assert.Equal(0, String.Compare("-1234", lexer.IsNextString())); 211Assert.Equal(0, String.Compare("+1234", lexer.IsNextString())); 216Assert.Equal(0, String.Compare("1234.1234", lexer.IsNextString())); 221Assert.Equal(0, String.Compare(".1234", lexer.IsNextString())); 226Assert.Equal(0, String.Compare("1234.", lexer.IsNextString())); 230Assert.Equal(0, String.Compare("0x1234", lexer.IsNextString())); 234Assert.Equal(0, String.Compare("0X1234abcd", lexer.IsNextString())); 238Assert.Equal(0, String.Compare("0x1234ABCD", lexer.IsNextString())); 255Assert.Equal(0, String.Compare("abcde", lexer.IsNextString())); 260Assert.Equal(0, String.Compare("abc-efg", lexer.IsNextString())); 265Assert.Equal(0, String.Compare("and", lexer.IsNextString())); 269Assert.Equal(0, String.Compare("or", lexer.IsNextString())); 273Assert.Equal(0, String.Compare(Token.And.String, lexer.IsNextString())); 277Assert.Equal(0, String.Compare(Token.Or.String, lexer.IsNextString())); 349Assert.Equal(0, String.Compare("Foo", lexer.IsNextString())); 355Assert.Equal(0, String.Compare("Foo", lexer.IsNextString())); 362Assert.Equal(0, String.Compare("Foo", lexer.IsNextString())); 369Assert.Equal(0, String.Compare("Foo", lexer.IsNextString())); 376Assert.Equal(0, String.Compare("Foo", lexer.IsNextString())); 383Assert.Equal(0, String.Compare("Foo", lexer.IsNextString())); 390Assert.Equal(0, String.Compare("Foo", lexer.IsNextString())); 399Assert.Equal(0, String.Compare("Foo", lexer.IsNextString())); 410Assert.Equal(0, String.Compare("Foo", lexer.IsNextString())); 431Assert.Equal(0, String.Compare("String with a $(Property) inside", lexer.IsNextString())); 439Assert.Equal(0, String.Compare("String with a $(Property) inside", lexer.IsNextString())); 443Assert.Equal(0, String.Compare("@(list, ' ')", lexer.IsNextString())); 447Assert.Equal(0, String.Compare("@(files->'%(Filename)')", lexer.IsNextString()));