File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,13 @@ MVVMTK0028 | CommunityToolkit.Mvvm.SourceGenerators.ObservablePropertyGenerator
38
38
MVVMTK0029 | CommunityToolkit.Mvvm.SourceGenerators.ObservablePropertyGenerator | Warning | See https://aka.ms/mvvmtoolkit/errors/mvvmtk0029
39
39
MVVMTK0030 | CommunityToolkit.Mvvm.SourceGenerators.ObservablePropertyGenerator | Warning | See https://aka.ms/mvvmtoolkit/errors/mvvmtk0030
40
40
MVVMTK0031 | CommunityToolkit.Mvvm.SourceGenerators.RelayCommandGenerator | Error | See https://aka.ms/mvvmtoolkit/errors/mvvmtk0031
41
+
42
+ ## Release 8.1
43
+
44
+ ### New Rules
45
+
46
+ Rule ID | Category | Severity | Notes
47
+ --------|----------|----------|-------
41
48
MVVMTK0032 | CommunityToolkit.Mvvm.SourceGenerators.INotifyPropertyChangedGenerator | Warning | See https://aka.ms/mvvmtoolkit/errors/mvvmtk0032
42
49
MVVMTK0033 | CommunityToolkit.Mvvm.SourceGenerators.ObservableObjectGenerator | Warning | See https://aka.ms/mvvmtoolkit/errors/mvvmtk0033
43
50
MVVMTK0034 | CommunityToolkit.Mvvm.SourceGenerators.ObservablePropertyGenerator | Warning | See https://aka.ms/mvvmtoolkit/errors/mvvmtk0034
Original file line number Diff line number Diff line change @@ -551,7 +551,7 @@ internal static class DiagnosticDescriptors
551
551
/// </summary>
552
552
public static readonly DiagnosticDescriptor FieldReferenceForObservablePropertyFieldWarning = new DiagnosticDescriptor (
553
553
id : "MVVMTK0034" ,
554
- title : "Invalid task scheduler exception flow option usage " ,
554
+ title : "Direct field reference to [ObservableProperty] backing field " ,
555
555
messageFormat : "The field {0} is annotated with [ObservableProperty] and should not be directly referenced (use the generated property instead)" ,
556
556
category : typeof ( ObservablePropertyGenerator ) . FullName ,
557
557
defaultSeverity : DiagnosticSeverity . Warning ,
You can’t perform that action at this time.
0 commit comments