24 references to SyntaxTriviaList
Microsoft.CodeAnalysis (1)
Syntax\SyntaxTriviaList.cs (1)
531
return new
SyntaxTriviaList
(trivia);
Microsoft.CodeAnalysis.CSharp (1)
Syntax\SyntaxFactory.cs (1)
1312
return new
SyntaxTriviaList
(trivia);
Microsoft.CodeAnalysis.Features (6)
Wrapping\AbstractCodeActionComputer.cs (1)
77
SingleWhitespaceTrivia = new
SyntaxTriviaList
(generator.Whitespace(" "));
Wrapping\BinaryExpression\BinaryExpressionCodeActionComputer.cs (2)
61
_indentAndAlignTrivia = new
SyntaxTriviaList
(generator.Whitespace(
65
_smartIndentTrivia = AsyncLazy.Create(async cancellationToken => new
SyntaxTriviaList
(generator.Whitespace(
Wrapping\ChainedExpression\ChainedExpressionCodeActionComputer.cs (2)
84
_firstPeriodIndentationTrivia = new
SyntaxTriviaList
(generator.Whitespace(
87
_smartIndentTrivia = AsyncLazy.Create(async cancellationToken => new
SyntaxTriviaList
(generator.Whitespace(
Wrapping\Edit.cs (1)
61
return UpdateBetween(left, leftTrailingTrivia, new
SyntaxTriviaList
(rightLeadingTrivia), right);
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (16)
Syntax\SyntaxTokenFactoryTests.vb (16)
30
keywordToken = SyntaxFactory.Token(New
SyntaxTriviaList
(SyntaxFactory.WhitespaceTrivia(" ")), SyntaxKind.AddHandlerKeyword)
34
keywordToken = SyntaxFactory.Token(SyntaxKind.AddHandlerKeyword, trailing:=New
SyntaxTriviaList
(SyntaxFactory.WhitespaceTrivia(" ")))
38
keywordToken = SyntaxFactory.Token(New
SyntaxTriviaList
(SyntaxFactory.WhitespaceTrivia(" ")), SyntaxKind.AddHandlerKeyword, trailing:=New
SyntaxTriviaList
(SyntaxFactory.WhitespaceTrivia(" ")))
43
keywordToken = SyntaxFactory.Token(New
SyntaxTriviaList
(SyntaxFactory.WhitespaceTrivia(" ")), SyntaxKind.AddHandlerKeyword, SyntaxFacts.GetText(SyntaxKind.AddHandlerKeyword).ToUpperInvariant)
48
keywordToken = SyntaxFactory.Token(SyntaxKind.AddHandlerKeyword, New
SyntaxTriviaList
(SyntaxFactory.WhitespaceTrivia(" ")), SyntaxFacts.GetText(SyntaxKind.AddHandlerKeyword).ToUpperInvariant)
53
keywordToken = SyntaxFactory.Token(New
SyntaxTriviaList
(SyntaxFactory.WhitespaceTrivia(" ")), SyntaxKind.AddHandlerKeyword, New
SyntaxTriviaList
(SyntaxFactory.WhitespaceTrivia(" ")), SyntaxFacts.GetText(SyntaxKind.AddHandlerKeyword).ToUpperInvariant)
74
punctuationToken = SyntaxFactory.Token(New
SyntaxTriviaList
(SyntaxFactory.WhitespaceTrivia(" ")), SyntaxKind.ExclamationToken)
78
punctuationToken = SyntaxFactory.Token(SyntaxKind.ExclamationToken, trailing:=New
SyntaxTriviaList
(SyntaxFactory.WhitespaceTrivia(" ")))
82
punctuationToken = SyntaxFactory.Token(New
SyntaxTriviaList
(SyntaxFactory.WhitespaceTrivia(" ")), SyntaxKind.ExclamationToken, trailing:=New
SyntaxTriviaList
(SyntaxFactory.WhitespaceTrivia(" ")))
87
punctuationToken = SyntaxFactory.Token(New
SyntaxTriviaList
(SyntaxFactory.WhitespaceTrivia(" ")), SyntaxKind.ExclamationToken, SyntaxFacts.GetText(SyntaxKind.ExclamationToken).ToUpperInvariant)
92
punctuationToken = SyntaxFactory.Token(SyntaxKind.ExclamationToken, New
SyntaxTriviaList
(SyntaxFactory.WhitespaceTrivia(" ")), SyntaxFacts.GetText(SyntaxKind.ExclamationToken).ToUpperInvariant)
97
punctuationToken = SyntaxFactory.Token(New
SyntaxTriviaList
(SyntaxFactory.WhitespaceTrivia(" ")), SyntaxKind.ExclamationToken, New
SyntaxTriviaList
(SyntaxFactory.WhitespaceTrivia(" ")), SyntaxFacts.GetText(SyntaxKind.ExclamationToken).ToUpperInvariant)