You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description:$"The {nameof(INotifyPropertyChangedGenerator)} generator encountered an error while processing a type. Please report this issue at https://aka.ms/mvvmtoolkit.",
30
-
helpLinkUri:"https://aka.ms/mvvmtoolkit");
31
-
32
-
/// <summary>
33
-
/// Gets a <see cref="DiagnosticDescriptor"/> indicating when <see cref="ObservableObjectGenerator"/> failed to run on a given type.
34
-
/// <para>
35
-
/// Format: <c>"The generator ObservableObjectGenerator failed to execute on type {0}"</c>.
description:$"The {nameof(ObservableObjectGenerator)} generator encountered an error while processing a type. Please report this issue at https://aka.ms/mvvmtoolkit.",
46
-
helpLinkUri:"https://aka.ms/mvvmtoolkit");
47
-
48
-
/// <summary>
49
-
/// Gets a <see cref="DiagnosticDescriptor"/> indicating when <see cref="ObservableRecipientGenerator"/> failed to run on a given type.
50
-
/// <para>
51
-
/// Format: <c>"The generator ObservableRecipientGenerator failed to execute on type {0}"</c>.
description:$"The {nameof(ObservableRecipientGenerator)} generator encountered an error while processing a type. Please report this issue at https://aka.ms/mvvmtoolkit.",
62
-
helpLinkUri:"https://aka.ms/mvvmtoolkit");
63
-
64
16
/// <summary>
65
17
/// Gets a <see cref="DiagnosticDescriptor"/> indicating when a duplicate declaration of <see cref="INotifyPropertyChanged"/> would happen.
66
18
/// <para>
67
19
/// Format: <c>"Cannot apply [INotifyPropertyChangedAttribute] to type {0}, as it already declares the INotifyPropertyChanged interface"</c>.
title:"Missing base ObservableObject functionality",
137
89
messageFormat:$"Cannot apply [ObservableRecipient] to type {{0}}, as it lacks necessary base functionality (it should either inherit from ObservableObject, or be annotated with [ObservableObject] or [INotifyPropertyChanged])",
messageFormat:"The field {0}.{1} cannot be used to generate an observable property, as it has {2} validation attribute(s) but is declared in a type that doesn't inherit from ObservableValidator",
@@ -157,46 +109,14 @@ internal static class DiagnosticDescriptors
157
109
description:$"Cannot apply [ObservableProperty] to fields with validation attributes if they are declared in a type that doesn't inherit from ObservableValidator.",
158
110
helpLinkUri:"https://aka.ms/mvvmtoolkit");
159
111
160
-
/// <summary>
161
-
/// Gets a <see cref="DiagnosticDescriptor"/> indicating when <see cref="ObservablePropertyGenerator"/> failed to run on a given type.
162
-
/// <para>
163
-
/// Format: <c>"The generator ObservablePropertyGenerator failed to execute on type {0}"</c>.
description:$"The {nameof(ObservablePropertyGenerator)} generator encountered an error while processing a type. Please report this issue at https://aka.ms/mvvmtoolkit.",
174
-
helpLinkUri:"https://aka.ms/mvvmtoolkit");
175
-
176
-
/// <summary>
177
-
/// Gets a <see cref="DiagnosticDescriptor"/> indicating when <see cref="ICommandGenerator"/> failed to run on a given type.
178
-
/// <para>
179
-
/// Format: <c>"The generator ICommandGenerator failed to execute on type {0}"</c>.
title:$"Internal error for {nameof(ICommandGenerator)}",
185
-
messageFormat:$"The generator {nameof(ICommandGenerator)} failed to execute on type {{0}}",
186
-
category:typeof(ICommandGenerator).FullName,
187
-
defaultSeverity:DiagnosticSeverity.Error,
188
-
isEnabledByDefault:true,
189
-
description:$"The {nameof(ICommandGenerator)} generator encountered an error while processing a type. Please report this issue at https://aka.ms/mvvmtoolkit.",
190
-
helpLinkUri:"https://aka.ms/mvvmtoolkit");
191
-
192
112
/// <summary>
193
113
/// Gets a <see cref="DiagnosticDescriptor"/> indicating when an annotated method to generate a command for has an invalid signature.
194
114
/// <para>
195
115
/// Format: <c>"The method {0}.{1} cannot be used to generate a command property, as its signature isn't compatible with any of the existing relay command types"</c>.
messageFormat:"The method {0}.{1} cannot be used to generate a command property, as its signature isn't compatible with any of the existing relay command types",
202
122
category:typeof(ICommandGenerator).FullName,
@@ -209,7 +129,7 @@ internal static class DiagnosticDescriptors
209
129
/// Gets a <see cref="DiagnosticDescriptor"/> indicating when an unsupported C# language version is being used.
title:"Invalid concurrency control setting usage",
278
198
messageFormat:"The method {0}.{1} cannot be annotated with the [ICommand] attribute specifying a concurrency control setting, as it maps to a non-asynchronous command type",
0 commit comments