Skip to content

Commit 03af505

Browse files
committed
Fix MVVMTK0034 diagnostic title
1 parent 257ed92 commit 03af505

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CommunityToolkit.Mvvm.SourceGenerators/Diagnostics/DiagnosticDescriptors.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ internal static class DiagnosticDescriptors
551551
/// </summary>
552552
public static readonly DiagnosticDescriptor FieldReferenceForObservablePropertyFieldWarning = new DiagnosticDescriptor(
553553
id: "MVVMTK0034",
554-
title: "Invalid task scheduler exception flow option usage",
554+
title: "Direct field reference to [ObservableProperty] backing field",
555555
messageFormat: "The field {0} is annotated with [ObservableProperty] and should not be directly referenced (use the generated property instead)",
556556
category: typeof(ObservablePropertyGenerator).FullName,
557557
defaultSeverity: DiagnosticSeverity.Warning,

0 commit comments

Comments
 (0)