提交 a3dec0b7 编写于 作者: C Cyrus Najmabadi

Simplify

上级 ed8b315e
......@@ -62,10 +62,8 @@ internal abstract class AbstractCodeStyleDiagnosticAnalyzer : DiagnosticAnalyzer
UnnecessaryWithSuggestionDescriptor = CreateUnnecessaryDescriptor(DiagnosticSeverity.Hidden);
UnnecessaryWithoutSuggestionDescriptor = CreateDescriptorWithId(
descriptorId + "WithoutSuggestion",
_localizableTitle, _localizableMessage,
DiagnosticSeverity.Hidden, DiagnosticCustomTags.Unnecessary);
UnnecessaryWithoutSuggestionDescriptor = CreateUnnecessaryDescriptor(
descriptorId + "WithoutSuggestion", DiagnosticSeverity.Hidden);
SupportedDiagnostics = ImmutableArray.Create(
HiddenDescriptor, UnnecessaryWithoutSuggestionDescriptor, UnnecessaryWithSuggestionDescriptor);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册