Skip to content

Commit e6c0671

Browse files
committed
Fix warning?
1 parent c3d034a commit e6c0671

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Http/Http.Results/src/ResultsOfTHelper.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ internal static class ResultsOfTHelper
4040
}
4141

4242
[UnconditionalSuppressMessage("AOT", "IL3050", Justification = "Validated with IsDynamicCodeSupported check.")]
43+
[UnconditionalSuppressMessage("ReflectionAnalysis", "IL2060:MakeGenericMethod",
44+
Justification = "PopulateMetadataMethod calls a public static method. TTarget is annotated to include public methods.")]
4345
static void InvokeGenericPopulateMetadata(object[] parameters)
4446
{
4547
PopulateMetadataMethod.MakeGenericMethod(typeof(TTarget)).Invoke(null, parameters);

0 commit comments

Comments
 (0)