18 references to GetErrorResource
Microsoft.Build (3)
Evaluation\Conditionals\Parser.cs (3)
112ProjectErrorUtilities.ThrowInvalidProject(elementLocation, _lexer.GetErrorResource(), expression, errorPosition, _lexer.UnexpectedlyFound); 391ProjectErrorUtilities.ThrowInvalidProject(_elementLocation, _lexer.GetErrorResource(), expression, errorPosition, _lexer.UnexpectedlyFound); 395ProjectErrorUtilities.ThrowInvalidProject(_elementLocation, _lexer.GetErrorResource(), expression, errorPosition);
Microsoft.Build.Engine.UnitTests (15)
Scanner_Tests.cs (15)
88Assert.Equal("IllFormedEqualsInCondition", lexer.GetErrorResource()); 100Assert.Equal("IllFormedPropertyCloseParenthesisInCondition", lexer.GetErrorResource()); 104Assert.Equal("IllFormedPropertyOpenParenthesisInCondition", lexer.GetErrorResource()); 119Assert.Equal("IllFormedPropertySpaceInCondition", lexer.GetErrorResource()); 146Assert.Equal("IllFormedItemListCloseParenthesisInCondition", lexer.GetErrorResource()); 151Assert.Equal("IllFormedItemListOpenParenthesisInCondition", lexer.GetErrorResource()); 156Assert.Equal("IllFormedItemListCloseParenthesisInCondition", lexer.GetErrorResource()); 161Assert.Equal("IllFormedItemListQuoteInCondition", lexer.GetErrorResource()); 166Assert.Equal("IllFormedItemListQuoteInCondition", lexer.GetErrorResource()); 171Assert.Equal("IllFormedItemListCloseParenthesisInCondition", lexer.GetErrorResource()); 184Assert.Equal("IllFormedQuotedStringInCondition", lexer.GetErrorResource()); 189Assert.Equal("IllFormedQuotedStringInCondition", lexer.GetErrorResource()); 547Assert.Equal(0, String.Compare(lexer.GetErrorResource(), "ItemListNotAllowedInThisConditional")); 552Assert.Equal(0, String.Compare(lexer.GetErrorResource(), "ItemListNotAllowedInThisConditional")); 556Assert.Equal(0, String.Compare(lexer.GetErrorResource(), "ItemListNotAllowedInThisConditional"));