|
8 | 8 | using Microsoft.CodeAnalysis.CSharp.Syntax; |
9 | 9 | using Microsoft.CodeAnalysis.PopulateSwitch; |
10 | 10 |
|
11 | | -namespace Microsoft.CodeAnalysis.CSharp.PopulateSwitch |
12 | | -{ |
13 | | - [ExportCodeFixProvider(LanguageNames.CSharp, |
14 | | - Name = PredefinedCodeFixProviderNames.PopulateSwitch), Shared] |
15 | | - [ExtensionOrder(After = PredefinedCodeFixProviderNames.ImplementInterface)] |
16 | | - internal class CSharpPopulateSwitchStatementCodeFixProvider : AbstractPopulateSwitchStatementCodeFixProvider< |
17 | | - SwitchStatementSyntax, SwitchSectionSyntax, MemberAccessExpressionSyntax> |
18 | | - { |
19 | | - [ImportingConstructor] |
20 | | - [SuppressMessage("RoslynDiagnosticsReliability", "RS0033:Importing constructor should be [Obsolete]", Justification = "Used in test code: https://github.com/dotnet/roslyn/issues/42814")] |
21 | | - public CSharpPopulateSwitchStatementCodeFixProvider() |
22 | | - { |
23 | | - } |
24 | | - } |
25 | | -} |
| 11 | +namespace Microsoft.CodeAnalysis.CSharp.PopulateSwitch; |
| 12 | + |
| 13 | +[ExportCodeFixProvider(LanguageNames.CSharp, |
| 14 | + Name = PredefinedCodeFixProviderNames.PopulateSwitch), Shared] |
| 15 | +[ExtensionOrder(After = PredefinedCodeFixProviderNames.ImplementInterface)] |
| 16 | +[method: ImportingConstructor] |
| 17 | +[method: SuppressMessage("RoslynDiagnosticsReliability", "RS0033:Importing constructor should be [Obsolete]", Justification = "Used in test code: https://github.com/dotnet/roslyn/issues/42814")] |
| 18 | +internal sealed class CSharpPopulateSwitchStatementCodeFixProvider() |
| 19 | + : AbstractPopulateSwitchStatementCodeFixProvider<SwitchStatementSyntax, SwitchSectionSyntax, MemberAccessExpressionSyntax>; |
0 commit comments