Skip to content

FormatCommandHandler.ReturnKey.cs is not cancellable, but doesn't disable cancellation #24155

@olegtk

Description

@olegtk

When formatting on Return FormatCommandHandler passes CancellationToken.None:

ExecuteReturnOrTypeCommand(args, nextHandler, CancellationToken.None);

It should either explicitly disable cancellation or use cancellation token passed via CommandExecutionContext (in the new commanding).

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions