File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
StyleCop.Analyzers/StyleCop.Analyzers.CodeFixes/DocumentationRules Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -91,9 +91,9 @@ protected override async Task<SyntaxNode> FixAllInDocumentAsync(FixAllContext fi
9191
9292 changes . Sort ( ( left , right ) => left . Span . Start . CompareTo ( right . Span . Start ) ) ;
9393
94- var text = await document . GetTextAsync ( ) . ConfigureAwait ( false ) ;
95- var tree = await document . GetSyntaxTreeAsync ( ) . ConfigureAwait ( false ) ;
96- return await tree . WithChangedText ( text . WithChanges ( changes ) ) . GetRootAsync ( ) . ConfigureAwait ( false ) ;
94+ var text = await document . GetTextAsync ( fixAllContext . CancellationToken ) . ConfigureAwait ( false ) ;
95+ var tree = await document . GetSyntaxTreeAsync ( fixAllContext . CancellationToken ) . ConfigureAwait ( false ) ;
96+ return await tree . WithChangedText ( text . WithChanges ( changes ) ) . GetRootAsync ( fixAllContext . CancellationToken ) . ConfigureAwait ( false ) ;
9797 }
9898 }
9999 }
You can’t perform that action at this time.
0 commit comments