6 references to WithPrependedLeadingTrivia
Microsoft.CodeAnalysis.Workspaces (6)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (1)
697return node.WithPrependedLeadingTrivia((IEnumerable<SyntaxTrivia>)trivia);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Editing\AddParameterEditor.cs (3)
45parameterDeclaration = parameterDeclaration.WithPrependedLeadingTrivia(leadingIndentation) 72nextParameter.WithPrependedLeadingTrivia(nextLeadingIndentation) 111parameterDeclaration = parameterDeclaration.WithPrependedLeadingTrivia(leadingIndentation);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\MoveDeclarationNearReference\AbstractMoveDeclarationNearReferenceService.cs (2)
133declarationStatement = declarationStatement.WithPrependedLeadingTrivia( 152(current, generator) => current.WithAdditionalAnnotations(Formatter.Annotation).WithPrependedLeadingTrivia(