Interface ICodeFixServiceProvider
Represents base interface for code fix provider.
public interface ICodeFixServiceProvider
Methods
- GetCodeFixes(Document, TextSpan, Diagnostic, bool, CancellationToken)
When implemented by a class, retrieves a list of
CodeFixCollection
for specified text spans inside a given document.
- HasCodeFixes(Document, TextSpan, Diagnostic, bool, CancellationToken)
When implemented by a class, indicates whether the document has any code fixes for the specified text span.