11 references to HasLeadingTrivia
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (9)
LexicalAndXml\XmlDocCommentTests.cs (3)
1654Assert.True(xmltext.ChildNodesAndTokens()[0].HasLeadingTrivia); 1657Assert.False(xmltext.ChildNodesAndTokens()[1].HasLeadingTrivia); 1660Assert.False(xmltext.ChildNodesAndTokens()[2].HasLeadingTrivia);
Syntax\SyntaxNodeTests.cs (6)
3764Assert.True(nodeOrToken.HasLeadingTrivia); 3773Assert.True(nodeOrToken.HasLeadingTrivia); 3782Assert.False(nodeOrToken.HasLeadingTrivia); 3789Assert.False(nodeOrToken.HasLeadingTrivia); 3796Assert.True(nodeOrToken.HasLeadingTrivia); 3805Assert.True(nodeOrToken.HasLeadingTrivia);
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (2)
TestSyntaxNodes.vb (2)
2184Assert.Equal(sN.HasLeadingTrivia, cS.HasLeadingTrivia)