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