Base:
40 references to ToString
Microsoft.CodeAnalysis (5)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (17)
LexicalAndXml\XmlDocCommentTests.cs (11)
771Assert.Equal(Environment.NewLine, textsyntax.ChildNodesAndTokens()[0].ToString());
772Assert.Equal(" bar", textsyntax.ChildNodesAndTokens()[1].ToString());
773Assert.Equal(Environment.NewLine, textsyntax.ChildNodesAndTokens()[2].ToString());
774Assert.Equal(" ", textsyntax.ChildNodesAndTokens()[3].ToString());
805Assert.Equal(Environment.NewLine, textsyntax.ChildNodesAndTokens()[0].ToString());
806Assert.Equal(" bar", textsyntax.ChildNodesAndTokens()[1].ToString());
807Assert.Equal(Environment.NewLine, textsyntax.ChildNodesAndTokens()[2].ToString());
808Assert.Equal(" ", textsyntax.ChildNodesAndTokens()[3].ToString());
1655Assert.Equal(Environment.NewLine, xmltext.ChildNodesAndTokens()[0].ToString());
1658Assert.Equal("x", xmltext.ChildNodesAndTokens()[1].ToString());
1661Assert.Equal(Environment.NewLine, xmltext.ChildNodesAndTokens()[2].ToString());
Microsoft.CodeAnalysis.Test.Utilities (1)
Microsoft.CodeAnalysis.UnitTests (4)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (11)
TestSyntaxNodes.vb (11)
100ItemList.Add(VB1.Current.ToString)
105ItemListRev.Add(i.ToString)
137Assert.Equal(ItemList.Item((ItemList.Count - 1)), children.Last.ToString)
635Assert.Equal(",", sepList.GetWithSeparators(1).ToString)
636Assert.Equal(";", sepList.GetWithSeparators(3).ToString)
659Assert.Equal(",", sepList.GetWithSeparators(1).ToString)
660Assert.Equal(";", sepList.GetWithSeparators(3).ToString)
2005Assert.Equal("Dim yyyy", tk_nonzero1.ToString)
2008Assert.Equal("End Module", tk_nonzero2.ToString)
2020Assert.Equal("Dim", tk0.ToString)
2027Assert.Equal("dim xxxx", tk_nonzero1.ToString)