Constructor CodeFix
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
ProjectThe project this
CodeFix
belongs to.action
CodeActionAn action used to fix code problem.
diagnostics
IEnumerable<Diagnostic>A subset of diagnostics to be fixed.