12 references to WithDocumentSyntaxRoots
Microsoft.CodeAnalysis.CSharp.Features (1)
CodeRefactorings\EnableNullable\EnableNullableCodeRefactoringProvider.cs (1)
85
solution = solution.
WithDocumentSyntaxRoots
(updatedDocumentRoots);
Microsoft.CodeAnalysis.Features (6)
ChangeSignature\AbstractChangeSignatureService.cs (1)
435
currentSolution = currentSolution.
WithDocumentSyntaxRoots
(changedDocuments);
CodeRefactorings\SyncNamespace\AbstractChangeNamespaceService.cs (2)
503
var solutionWithFixedReferences = solutionWithChangedNamespace.
WithDocumentSyntaxRoots
(fixedDocuments);
833
return solution.
WithDocumentSyntaxRoots
(changedDocuments);
IntroduceParameter\AbstractIntroduceParameterCodeRefactoringProvider.cs (1)
269
return modifiedSolution.
WithDocumentSyntaxRoots
(changedRoots);
MoveStaticMembers\MoveStaticMembersWithDialogCodeAction.cs (1)
188
oldSolution = oldSolution.
WithDocumentSyntaxRoots
([(sourceDocId, oldSourceRoot), (newTypeDocId, newTypeRoot)]);
UseAutoProperty\UseAutoPropertyFixAllProvider.cs (1)
79
return originalContext.Solution.
WithDocumentSyntaxRoots
(documentsIdsAndNewRoots);
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
Services\ConvertTupleToStructCodeRefactoringProvider\RemoteConvertTupleToStructCodeRefactoringService.cs (1)
93
return newSolution.
WithDocumentSyntaxRoots
(changedDocuments);
Microsoft.CodeAnalysis.Workspaces (4)
CodeActions\CodeAction_Cleanup.cs (1)
225
return solution.
WithDocumentSyntaxRoots
(changedRoots);
CodeFixesAndRefactorings\DocumentBasedFixAllProviderHelpers.cs (1)
106
.
WithDocumentSyntaxRoots
(changedRoots)
Workspace\Solution\Solution.cs (1)
1380
=>
WithDocumentSyntaxRoots
([(documentId, root)], mode);
Workspace\Solution\SolutionCompilationState.cs (1)
986
/// <inheritdoc cref="Solution.
WithDocumentSyntaxRoots
(ImmutableArray{ValueTuple{DocumentId, SyntaxNode}}, PreservationMode)"/>