Skip to content

Commit e652e55

Browse files
committed
Fix: Severity of CODE001
1 parent 52efcb0 commit e652e55

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/CodeOfChaos.Extensions.Analyzers/AnalyzerReleases.Shipped.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44

55
Rule ID | Category | Severity | Notes
66
---------|----------|----------|------------------------
7-
CODE001 | Usage | Warning | GuidValidationAnalyzer
7+
CODE001 | Usage | Error | GuidValidationAnalyzer

src/CodeOfChaos.Extensions.Analyzers/GuidValidationAnalyzer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public class GuidValidationAnalyzer : DiagnosticAnalyzer {
1919
"Invalid GUID in .ToGuid() call",
2020
"The string '{0}' is not a valid GUID and will raise an exception",
2121
"Usage",
22-
DiagnosticSeverity.Warning,
22+
DiagnosticSeverity.Error,
2323
true,
2424
"Checks if the string used with the ToGuid() method is a valid GUID.");
2525

0 commit comments

Comments
 (0)