Table of Contents

Constructor CodeFix

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

CodeFix(Project, CodeAction, IEnumerable<Diagnostic>)

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

public CodeFix(Project project, CodeAction action, IEnumerable<Diagnostic> diagnostics)

Parameters

project Project

The project this CodeFix belongs to.

action CodeAction

An action used to fix code problem.

diagnostics IEnumerable<Diagnostic>

A subset of diagnostics to be fixed.