RCS9010: Specify ExportCodeRefactoringProviderAttribute.Name
Properties
Property | Value |
---|---|
Default Severity | Hidden |
Minimum language version | - |
Examples
Example #1
diagnostic.cs
[ExportCodeRefactoringProvider(LanguageNames.CSharp)]
class FooCodeRefactoringProvider : CodeRefactoringProvider
{
}
fix.cs
[ExportCodeRefactoringProvider(LanguageNames.CSharp, Name = nameof(FooCodeRefactoringProvider))]
class FooCodeRefactoringProvider : CodeRefactoringProvider
{
}