dotnet / roslyn

The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
https://docs.microsoft.com/dotnet/csharp/roslyn-sdk/
MIT License
19.13k stars 4.04k forks source link

Duplicate items in Errors List if the analyzer message contains a newline #1554

Closed alinapopa closed 9 years ago

alinapopa commented 9 years ago

Related to issue #1455 (message is truncated in the output window). After building the project, the Error List contains two items for each error or warning, one with the full message and the other with the truncated message. Example: The analyzer message is: MessageFormat = "First line of message. " + System.Environment.NewLine + "Second line of message. "; Error list shows: error2 The tooltip also shows two messages error3

heejaechang commented 9 years ago

1402 should fix this issue once checked in.