From 3b9c80ad887064b9fda4299b924cdafb1914a087 Mon Sep 17 00:00:00 2001 From: CyrusNajmabadi Date: Sat, 8 Oct 2016 15:43:27 -0700 Subject: [PATCH] Use the actual severity asked for in 'Use Throw Expression'. --- .../AbstractUseThrowExpressionDiagnosticAnalyzer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Features/Core/Portable/UseThrowExpression/AbstractUseThrowExpressionDiagnosticAnalyzer.cs b/src/Features/Core/Portable/UseThrowExpression/AbstractUseThrowExpressionDiagnosticAnalyzer.cs index 9f79615b907..ab63371f12e 100644 --- a/src/Features/Core/Portable/UseThrowExpression/AbstractUseThrowExpressionDiagnosticAnalyzer.cs +++ b/src/Features/Core/Portable/UseThrowExpression/AbstractUseThrowExpressionDiagnosticAnalyzer.cs @@ -64,7 +64,7 @@ private static DiagnosticDescriptor CreateDescriptor(DiagnosticSeverity severity s_localizableTitle, s_localizableMessage, DiagnosticCategory.Style, - DiagnosticSeverity.Hidden, + severity, isEnabledByDefault: true, customTags: customTags); -- GitLab