If the diagnostic message string contains a newline, the Visual Studio output window shows only the part of the message up to the newline.
I need to use the newline because the message can have several sentences and if I don't put the newline the tooltip will show a very long box.