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
Copy file name to clipboardExpand all lines: CommunityToolkit.Mvvm/ComponentModel/__Internals/__ObservableValidatorHelper.cs
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,10 @@ public static class __ObservableValidatorHelper
24
24
/// <param name="propertyName">The name of the property to validate.</param>
25
25
[EditorBrowsable(EditorBrowsableState.Never)]
26
26
[Obsolete("This method is not intended to be called directly by user code")]
27
-
[RequiresUnreferencedCode("The type of the current instance cannot be statically discovered.")]
27
+
[UnconditionalSuppressMessage(
28
+
"ReflectionAnalysis",
29
+
"IL2026:RequiresUnreferencedCode",
30
+
Justification="This helper is called by generated code from public APIs that have the proper annotations already (and we don't want generated code to produce warnings that developers cannot fix).")]
0 commit comments