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