7 references to SyntaxTrivia
Microsoft.CodeAnalysis.CSharp (1)
Syntax\SyntaxFactory.cs (1)
183
/// A <see cref="SyntaxKind"/> representing the specific kind of <see cref="
SyntaxTrivia
"/>. One of
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpCodeGenerationHelpers.cs (1)
100
return
SyntaxTrivia
(SyntaxKind.MultiLineCommentTrivia, text + MultiLineCommentTerminator);
Microsoft.CodeAnalysis.CSharp.Features (3)
Snippets\AbstractCSharpTypeSnippetProvider.cs (1)
104
typeDeclaration.CloseBraceToken.WithPrependedLeadingTrivia(SyntaxFactory.
SyntaxTrivia
(SyntaxKind.WhitespaceTrivia, indentationString)));
Snippets\CSharpIntMainSnippetProvider.cs (1)
60
var updatedReturnStatement = returnStatement.WithPrependedLeadingTrivia(SyntaxFactory.
SyntaxTrivia
(SyntaxKind.WhitespaceTrivia, indentationString));
Snippets\CSharpSnippetHelpers.cs (1)
55
var updatedBlock = block.WithCloseBraceToken(block.CloseBraceToken.WithPrependedLeadingTrivia(SyntaxFactory.
SyntaxTrivia
(SyntaxKind.WhitespaceTrivia, indentationString)));
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
Simplification\CSharpSimplificationService.Expander.cs (1)
33
private static readonly SyntaxTrivia s_oneWhitespaceSeparator =
SyntaxTrivia
(SyntaxKind.WhitespaceTrivia, " ");
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpCodeGenerationHelpers.cs (1)
100
return
SyntaxTrivia
(SyntaxKind.MultiLineCommentTrivia, text + MultiLineCommentTerminator);