Click or drag to resize

ExportCodeFixProviderAttribute Class



Use this attribute to declare a CodeFixProvider implementation so that it can be discovered by the host.
Inheritance Hierarchy
ExportAttribute
  Microsoft.CodeAnalysis.CodeFixesExportCodeFixProviderAttribute

Namespace:  Microsoft.CodeAnalysis.CodeFixes
Assembly:  Microsoft.CodeAnalysis.Workspaces (in Microsoft.CodeAnalysis.Workspaces.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
Syntax
public sealed class ExportCodeFixProviderAttribute : ExportAttribute

The ExportCodeFixProviderAttribute type exposes the following members.

Constructors
  NameDescription
Public methodExportCodeFixProviderAttribute
Attribute constructor used to specify automatic application of a code fix provider.
Top
Properties
  NameDescription
Public propertyLanguages
The source languages this provider can provide fixes for. See LanguageNames.
Public propertyName
Optional name of the CodeFixProvider.
Top
See Also