33 references to ToFullString
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (30)
Syntax\SyntaxNormalizerTests.cs (1)
3992var actual = trivia.NormalizeWhitespace(" ").ToFullString();
Syntax\SyntaxTriviaListTests.cs (29)
59Assert.Equal("/*A*//*B*//*C*/", list.ToFullString()); 74Assert.Equal("/*A*//*B*//*C*//*D*/", newList.ToFullString()); 78Assert.Equal("/*A*//*B*//*C*//*D*//*E*/", newList.ToFullString()); 82Assert.Equal("/*D*//*A*//*B*//*C*/", newList.ToFullString()); 86Assert.Equal("/*A*//*D*//*B*//*C*/", newList.ToFullString()); 90Assert.Equal("/*A*//*B*//*D*//*C*/", newList.ToFullString()); 94Assert.Equal("/*A*//*B*//*C*//*D*/", newList.ToFullString()); 98Assert.Equal("/*D*//*E*//*A*//*B*//*C*/", newList.ToFullString()); 102Assert.Equal("/*A*//*D*//*E*//*B*//*C*/", newList.ToFullString()); 106Assert.Equal("/*A*//*B*//*D*//*E*//*C*/", newList.ToFullString()); 110Assert.Equal("/*A*//*B*//*C*//*D*//*E*/", newList.ToFullString()); 114Assert.Equal("/*B*//*C*/", newList.ToFullString()); 118Assert.Equal("/*A*//*B*/", newList.ToFullString()); 122Assert.Equal("/*B*//*C*/", newList.ToFullString()); 126Assert.Equal("/*A*//*C*/", newList.ToFullString()); 130Assert.Equal("/*A*//*B*/", newList.ToFullString()); 134Assert.Equal("/*D*//*B*//*C*/", newList.ToFullString()); 138Assert.Equal("/*A*//*D*//*C*/", newList.ToFullString()); 142Assert.Equal("/*A*//*B*//*D*/", newList.ToFullString()); 146Assert.Equal("/*D*//*E*//*B*//*C*/", newList.ToFullString()); 150Assert.Equal("/*A*//*D*//*E*//*C*/", newList.ToFullString()); 154Assert.Equal("/*A*//*B*//*D*//*E*/", newList.ToFullString()); 158Assert.Equal("/*B*//*C*/", newList.ToFullString()); 162Assert.Equal("/*A*//*C*/", newList.ToFullString()); 166Assert.Equal("/*A*//*B*/", newList.ToFullString()); 198Assert.Equal("/*D*/", newList.ToFullString()); 202Assert.Equal("/*D*//*E*/", newList.ToFullString()); 206Assert.Equal("/*D*/", newList.ToFullString()); 210Assert.Equal("/*D*//*E*/", newList.ToFullString());
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (1)
Syntax\SyntaxNormalizerTests.vb (1)
795Dim actual = trivia.NormalizeWhitespace(indentation:=" ", elasticTrivia:=False, useDefaultCasing:=False).ToFullString()
Microsoft.CodeAnalysis.VisualBasic.Workspaces (2)
CodeCleanup\Providers\RemoveUnnecessaryLineContinuationCodeCleanupProvider.vb (2)
251Return GetTrailingTrivia(token1).ToFullString().GetNumberOfLineBreaks() + 252GetLeadingTrivia(token2).ToFullString().GetNumberOfLineBreaks()