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)
198Assert.Equal("1234", lexer.IsNextString());
203Assert.Equal("-1234", lexer.IsNextString());
208Assert.Equal("+1234", lexer.IsNextString());
213Assert.Equal("1234.1234", lexer.IsNextString());
218Assert.Equal(".1234", lexer.IsNextString());
223Assert.Equal("1234.", lexer.IsNextString());
227Assert.Equal("0x1234", lexer.IsNextString());
231Assert.Equal("0X1234abcd", lexer.IsNextString());
235Assert.Equal("0x1234ABCD", lexer.IsNextString());
252Assert.Equal("abcde", lexer.IsNextString());
257Assert.Equal("abc-efg", lexer.IsNextString());
262Assert.Equal("and", lexer.IsNextString());
266Assert.Equal("or", lexer.IsNextString());
270Assert.Equal(Token.And.String, lexer.IsNextString());
274Assert.Equal(Token.Or.String, lexer.IsNextString());
346Assert.Equal("Foo", lexer.IsNextString());
352Assert.Equal("Foo", lexer.IsNextString());
359Assert.Equal("Foo", lexer.IsNextString());
366Assert.Equal("Foo", lexer.IsNextString());
373Assert.Equal("Foo", lexer.IsNextString());
380Assert.Equal("Foo", lexer.IsNextString());
387Assert.Equal("Foo", lexer.IsNextString());
396Assert.Equal("Foo", lexer.IsNextString());
407Assert.Equal("Foo", lexer.IsNextString());
428Assert.Equal("String with a $(Property) inside", lexer.IsNextString());
436Assert.Equal("String with a $(Property) inside", lexer.IsNextString());
440Assert.Equal("@(list, ' ')", lexer.IsNextString());
444Assert.Equal("@(files->'%(Filename)')", lexer.IsNextString());