Created
August 3, 2015 08:36
-
-
Save JoshVarty/4192a3aee8629e6a72ec to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ExportCodeFixProvider(LanguageNames.CSharp, Name = nameof(Analyzer1CodeFixProvider)), Shared] | |
public class Analyzer1CodeFixProvider : CodeFixProvider | |
{ | |
private const string title = "Make uppercase"; | |
public sealed override ImmutableArray<string> FixableDiagnosticIds | |
{ | |
get { return ImmutableArray.Create(Analyzer1Analyzer.DiagnosticId); } | |
} | |
public sealed override FixAllProvider GetFixAllProvider() | |
{ | |
return WellKnownFixAllProviders.BatchFixer; | |
} | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment