10 references to WithSyntaxRootAsync
Microsoft.CodeAnalysis.CSharp.Features (5)
ExtractMethod\CSharpMethodExtractor.cs (1)
168
await semanticDocument.
WithSyntaxRootAsync
(result.Root, cancellationToken).ConfigureAwait(false),
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.cs (1)
1017
newDocument = await newDocument.
WithSyntaxRootAsync
(
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpUseCollectionExpressionForCreateCodeFixProvider.cs (1)
62
var newSemanticDocument = await semanticDocument.
WithSyntaxRootAsync
(
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpUseCollectionExpressionForFluentCodeFixProvider.cs (1)
85
var newSemanticDocument = await semanticDocument.
WithSyntaxRootAsync
(
src\Analyzers\CSharp\CodeFixes\UseCollectionExpression\CSharpUseCollectionExpressionForNewCodeFixProvider.cs (1)
63
var newSemanticDocument = await semanticDocument.
WithSyntaxRootAsync
(
Microsoft.CodeAnalysis.Features (4)
ExtractMethod\MethodExtractor.CodeGenerator.cs (2)
178
var documentWithUpdatedCallSite = await this.SemanticDocument.
WithSyntaxRootAsync
(rootWithUpdatedCallSite, cancellationToken).ConfigureAwait(false);
183
return await documentWithUpdatedCallSite.
WithSyntaxRootAsync
(finalRoot, cancellationToken).ConfigureAwait(false);
ExtractMethod\MethodExtractor.cs (1)
195
var finalDocument = await document.
WithSyntaxRootAsync
(finalRoot, cancellationToken).ConfigureAwait(false);
ExtractMethod\MethodExtractor.TriviaResult.cs (1)
52
return await document.
WithSyntaxRootAsync
(
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeFixes\ForkingSyntaxEditorBasedCodeFixProvider.cs (1)
98
semanticDocument = await semanticDocument.
WithSyntaxRootAsync
(