1 implementation of CanMoveDeclarationNearReferenceAsync
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\MoveDeclarationNearReference\AbstractMoveDeclarationNearReferenceService.cs (1)
37
public async Task<(bool canMove, bool mayChangeSemantics)>
CanMoveDeclarationNearReferenceAsync
(Document document, SyntaxNode node, CancellationToken cancellationToken)
2 references to CanMoveDeclarationNearReferenceAsync
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
src\Analyzers\Core\CodeFixes\RemoveUnusedParametersAndValues\AbstractRemoveUnusedValuesCodeFixProvider.cs (1)
872
var (canUse, mayChangeSemantics) = await moveDeclarationService.
CanMoveDeclarationNearReferenceAsync
(document, declStatement, cancellationToken).ConfigureAwait(false);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\MoveDeclarationNearReference\IMoveDeclarationNearReferenceService.cs (1)
23
/// applicable if <see cref="
CanMoveDeclarationNearReferenceAsync
"/> returned