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
"IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code",
39
-
Justification="The reflection is not used when consuming the event.")]
39
+
Justification="Reflection is not used when consuming the event.")]
40
40
[UnconditionalSuppressMessage(
41
41
"AOT",
42
42
"IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.",
43
-
Justification="The reflection is not used when consuming the event.")]
43
+
Justification="Reflection is not used when consuming the event.")]
@@ -69,11 +69,11 @@ public void Report<TArgs>(ResilienceEvent resilienceEvent, ResilienceContext con
69
69
[UnconditionalSuppressMessage(
70
70
"Trimming",
71
71
"IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code",
72
-
Justification="The reflection is not used when consuming the event.")]
72
+
Justification="Reflection is not used when consuming the event.")]
73
73
[UnconditionalSuppressMessage(
74
74
"AOT",
75
75
"IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.",
76
-
Justification="The reflection is not used when consuming the event.")]
76
+
Justification="Reflection is not used when consuming the event.")]
Copy file name to clipboardexpand all lines: src/Polly.Core/Utils/Constants.cs
+1-1
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,6 @@ internal static class Constants
4
4
{
5
5
publicconststringOptionsValidation="""
6
6
This call validates the options using the data annotations attributes.
7
-
Make sure that the options are included using the '[DynamicDependency(DynamicallyAccessedMemberTypes.All, typeof(OptionsType))]' attribute on top of calling method.
7
+
Make sure that the options are included by adding the '[DynamicDependency(DynamicallyAccessedMemberTypes.All, typeof(OptionsType))]' attribute to the calling method.
Copy file name to clipboardexpand all lines: src/Polly.Core/Utils/ValidationHelper.cs
+1-1
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ internal static class ValidationHelper
11
11
[UnconditionalSuppressMessage(
12
12
"Trimming",
13
13
"IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code",
14
-
Justification="The member of options are preserved and no trimmed. See builder.AddStrategy() extension.")]
14
+
Justification="The member of options are preserved and not trimmed. See builder.AddStrategy() extension.")]
0 commit comments