18 references to TriviaList
Microsoft.CodeAnalysis.CSharp (2)
Syntax\SyntaxFactory.cs (2)
1211
TriviaList
(),
1214
TriviaList
());
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (11)
Syntax\SeparatedSyntaxListTests.cs (1)
315
collectionExpression ? SyntaxFactory.
TriviaList
() : []);
Syntax\SyntaxFactoryTests.cs (10)
723
SyntaxFactory.Identifier(SyntaxFactory.
TriviaList
(), text: null, SyntaxFactory.
TriviaList
()));
725
SyntaxFactory.Identifier(SyntaxFactory.
TriviaList
(), SyntaxKind.IdentifierName, text: null, valueText: "value", SyntaxFactory.
TriviaList
()));
727
SyntaxFactory.Identifier(SyntaxFactory.
TriviaList
(), SyntaxKind.IdentifierName, text: "text", valueText: null, SyntaxFactory.
TriviaList
()));
729
SyntaxFactory.VerbatimIdentifier(SyntaxFactory.
TriviaList
(), text: null, valueText: "value", SyntaxFactory.
TriviaList
()));
731
SyntaxFactory.VerbatimIdentifier(SyntaxFactory.
TriviaList
(), text: "text", valueText: null, SyntaxFactory.
TriviaList
()));
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (2)
Formatting\FormattingElasticTriviaTests.cs (1)
37
TriviaList
()),
Formatting\FormattingTriviaTests.cs (1)
1664
.WithLeadingTrivia(SyntaxFactory.
TriviaList
())
Microsoft.Interop.ComInterfaceGenerator (1)
Marshallers\ManagedHResultExceptionGeneratorResolver.cs (1)
94
TriviaList
(),
Microsoft.Interop.LibraryImportGenerator (2)
Analyzers\ConvertToLibraryImportFixer.cs (2)
332
SyntaxFactory.
TriviaList
(),
336
SyntaxFactory.
TriviaList
())))