Skip to content

Commit bf19e03

Browse files
committed
PR feedback
1 parent 4107aa7 commit bf19e03

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Shared/EndpointMetadataPopulator.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111

1212
namespace Microsoft.AspNetCore.Http;
1313

14-
[UnconditionalSuppressMessage("Trimmer", "IL2060", Justification = "Trimmer warnings are presented in RequestDelegateFactory.")]
15-
[UnconditionalSuppressMessage("AOT", "IL3050", Justification = "AOT warnings are presented in RequestDelegateFactory.")]
14+
[RequiresUnreferencedCode("This API performs reflection on types that can't be statically analyzed.")]
15+
[RequiresDynamicCode("This API performs reflection on types that can't be statically analyzed.")]
1616
internal static class EndpointMetadataPopulator
1717
{
1818
private static readonly MethodInfo PopulateMetadataForParameterMethod = typeof(EndpointMetadataPopulator).GetMethod(nameof(PopulateMetadataForParameter), BindingFlags.NonPublic | BindingFlags.Static)!;

0 commit comments

Comments
 (0)