11 references to SyntaxTriviaList
Microsoft.CodeAnalysis.CodeStyle (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\TriviaEngine\AbstractTriviaFormatter.cs (2)
250return new SyntaxTriviaList(triviaList); 257return new SyntaxTriviaList(triviaList);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\TriviaEngine\TriviaHelpers.cs (1)
23return new SyntaxTriviaList(builder);
Microsoft.CodeAnalysis.CSharp (1)
Syntax\SyntaxFactory.cs (1)
1327=> new SyntaxTriviaList(trivias);
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTriviaListExtensions.cs (1)
72return new SyntaxTriviaList(triviaList.Skip(triviaInLeadingBlankLines.Count()));
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
3649return new SyntaxTriviaList(syntaxWithoutComments);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTriviaListExtensions.cs (1)
72return new SyntaxTriviaList(triviaList.Skip(triviaInLeadingBlankLines.Count()));
Microsoft.CodeAnalysis.Features (1)
AddFileBanner\AbstractAddFileBannerCodeRefactoringProvider.cs (1)
167var newRoot = root.WithPrependedLeadingTrivia(new SyntaxTriviaList(banner));
Microsoft.CodeAnalysis.Workspaces (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\TriviaEngine\AbstractTriviaFormatter.cs (2)
250return new SyntaxTriviaList(triviaList); 257return new SyntaxTriviaList(triviaList);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\TriviaEngine\TriviaHelpers.cs (1)
23return new SyntaxTriviaList(builder);