Table of Contents

Class CodeFix

Namespace
Alternet.Syntax.Parsers.Roslyn
Assembly
Alternet.Syntax.Parsers.Roslyn.v9.dll

Represents properties and methods used to describe a particular code fix.

public class CodeFix
Inheritance
CodeFix

Constructors

CodeFix(Project, CodeAction, IEnumerable<Diagnostic>)

Initializes a new instance of the CodeFix class with specified parameters.

Properties

Action

Gets an action used to fix code problem.

Diagnostics

Gets a subset of diagnostics to be fixed.

PrimaryDiagnostic

Gets a main diagnostic to be fixed.

Project

Gets a project CodeFix belongs to.