1 write to LeadingTrivia
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\Common\EmbeddedSyntaxToken.cs (1)
41
LeadingTrivia
= leadingTrivia;
8 references to LeadingTrivia
Microsoft.CodeAnalysis.Workspaces (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\Common\EmbeddedSyntaxToken.cs (8)
66
leadingTrivia.HasValue ? leadingTrivia.Value :
LeadingTrivia
,
78
if (
LeadingTrivia
.Length == 0 && VirtualChars.Length == 0 && TrailingTrivia.Length == 0)
82
Math.Min(
LeadingTrivia
.Length == 0 ? int.MaxValue :
LeadingTrivia
[0].GetSpan().Start,
87
Math.Max(
LeadingTrivia
.Length == 0 ? int.MinValue :
LeadingTrivia
[^1].GetSpan().End,
115
if (leading && !
LeadingTrivia
.IsDefault)
117
foreach (var trivia in
LeadingTrivia
)