Skip to content

Commit 47c850a

Browse files
committed
Change default severity to warning for WPF0092
1 parent 2b99435 commit 47c850a

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
Roslyn analyzers for WPF.
1010
* 1.x versions are for Visual Studio 2015.
1111
* 2.x versions are for Visual Studio 2017.
12-
* 3.x versions are for Visual Studio 2019+.
12+
* 3.x versions are for Visual Studio 2019.
13+
* 4.x versions are for Visual Studio 2022+.
1314

1415
| Id | Title
1516
| :-- | :--

WpfAnalyzers/Descriptors.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ internal static class Descriptors
488488
title: "Use correct handler type",
489489
messageFormat: "Use correct handler type",
490490
category: AnalyzerCategory.RoutedEvent,
491-
defaultSeverity: DiagnosticSeverity.Info,
491+
defaultSeverity: DiagnosticSeverity.Warning,
492492
isEnabledByDefault: true,
493493
description: "Use correct handler type.");
494494

documentation/WPF0092.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
| Topic | Value
55
| :-- | :--
66
| Id | WPF0092
7-
| Severity | Info
7+
| Severity | Warning
88
| Enabled | True
99
| Category | WpfAnalyzers.RoutedEvent
1010
| Code | [RoutedEventCallbackAnalyzer](https://github.com/DotNetAnalyzers/WpfAnalyzers/blob/master/WpfAnalyzers/Analyzers/RoutedEventCallbackAnalyzer.cs)

0 commit comments

Comments
 (0)