30 references to GetTrailingTrivia
Microsoft.CodeAnalysis (3)
Microsoft.CodeAnalysis.CodeStyle (1)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (3)
Microsoft.CodeAnalysis.CSharp.Features (3)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (10)
Syntax\SyntaxNodeTests.cs (10)
3806Assert.Equal(1, nodeOrToken.GetTrailingTrivia().Count);
3807Assert.Equal(0, nodeOrToken.GetTrailingTrivia().Span.Length); // zero-width elastic trivia
3815Assert.Equal(1, nodeOrToken.GetTrailingTrivia().Count);
3816Assert.Equal(0, nodeOrToken.GetTrailingTrivia().Span.Length); // zero-width elastic trivia
3823Assert.Equal(0, nodeOrToken.GetTrailingTrivia().Count);
3830Assert.Equal(0, nodeOrToken.GetTrailingTrivia().Count);
3838Assert.Equal(1, nodeOrToken.GetTrailingTrivia().Count);
3839Assert.Equal(2, nodeOrToken.GetTrailingTrivia().Span.Length); // zero-width elastic trivia
3847Assert.Equal(1, nodeOrToken.GetTrailingTrivia().Count);
3848Assert.Equal(2, nodeOrToken.GetTrailingTrivia().Span.Length); // zero-width elastic trivia
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Microsoft.CodeAnalysis.VisualBasic (1)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (1)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (1)
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (4)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
Microsoft.CodeAnalysis.Workspaces (1)