Microsoft.CodeAnalysis.CodeActions Namespace

Classes

ApplyChangesOperation

A CodeActionOperation for applying solution changes to a workspace. GetOperationsAsync(CancellationToken) may return at most one ApplyChangesOperation. Hosts may provide custom handling for ApplyChangesOperations, but if a CodeAction requires custom host behavior not supported by a single ApplyChangesOperation, then instead:

    CodeAction

    An action produced by a CodeFixProvider or a CodeRefactoringProvider.

    CodeActionOperation

    Represents a single operation of a multi-operation code action.

    CodeActionWithOptions

    A CodeAction that can vary with user specified options.

    ConflictAnnotation

    Apply this annotation to a SyntaxNode to indicate a conflict may exist that requires user understanding and acknowledgment before taking action.

    OpenDocumentOperation

    A code action operation for requesting a document be opened in the host environment.

    PreviewOperation

    Represents a preview operation for generating a custom user preview for the operation.

    RenameAnnotation

    Apply this annotation to an appropriate SyntaxNode to request that it should be renamed by the user after the action.

    WarningAnnotation

    Apply this annotation to a SyntaxNode to indicate that a warning message should be presented to the user.