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