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