From f5b8857619a0f85093e819bd0eb5d050fc43ef96 Mon Sep 17 00:00:00 2001 From: Stuart Turner Date: Mon, 8 Apr 2024 18:21:26 -0500 Subject: [PATCH] Fix analyzer message --- src/Immediate.Handlers.Analyzers/HandlerClassAnalyzer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Immediate.Handlers.Analyzers/HandlerClassAnalyzer.cs b/src/Immediate.Handlers.Analyzers/HandlerClassAnalyzer.cs index 11d03111..dcb12408 100644 --- a/src/Immediate.Handlers.Analyzers/HandlerClassAnalyzer.cs +++ b/src/Immediate.Handlers.Analyzers/HandlerClassAnalyzer.cs @@ -66,7 +66,7 @@ public sealed class HandlerClassAnalyzer : DiagnosticAnalyzer new( id: DiagnosticIds.IHR0011HandlerMethodMustBePrivate, title: "Handler method must be private", - messageFormat: "Method '{0}' must not conflict with another static handler method", + messageFormat: "Method '{0}' must be set to private", category: "ImmediateHandler", defaultSeverity: DiagnosticSeverity.Error, isEnabledByDefault: true,