This is an odd difference. This is the test code I used, and the comments explain what I am seeing:
class test_cs_string_with_colon
{
void testCSStringDisplay()
{
// bug - definition field shows the colon as a dot for each of these variables
string StringWithColon = ":";
string StringWithColonLeadingSpace = " :";
string StringWithColonTrailingSpace = ": ";
// test - definition field shows the colon correctly for each of these variables
string StringWithColonWithSpaces = " : ";
string StringWithColonAndNames = "Colin : Fred";
}
}
Can you try this test code on your system please, and see if you get the same results? There could be a second factor at work here I have not yet found.