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)
3802Assert.True(nodeOrToken.HasLeadingTrivia); 3811Assert.True(nodeOrToken.HasLeadingTrivia); 3820Assert.False(nodeOrToken.HasLeadingTrivia); 3827Assert.False(nodeOrToken.HasLeadingTrivia); 3834Assert.True(nodeOrToken.HasLeadingTrivia); 3843Assert.True(nodeOrToken.HasLeadingTrivia);
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (2)
TestSyntaxNodes.vb (2)
2184Assert.Equal(sN.HasLeadingTrivia, cS.HasLeadingTrivia)