Fix MakeGenericType/Method argument validation for function pointers (#86686)
authorJan Kotas <jkotas@microsoft.com>
Wed, 24 May 2023 12:17:56 +0000 (05:17 -0700)
committerGitHub <noreply@github.com>
Wed, 24 May 2023 12:17:56 +0000 (05:17 -0700)
commit1cd8c2ecc110e0f42e9225af748e78c19a00c3aa
tree184bd02af36d0198f6a1ebf39fa4096f3a030924
parentf345a70611c2a061d9913a6ddf89f20ca486c1f1
Fix MakeGenericType/Method argument validation for function pointers (#86686)

Fixes #86628
src/coreclr/nativeaot/System.Private.Reflection.Execution/src/Internal/Reflection/Execution/TypeLoader/ConstraintValidator.cs
src/libraries/System.Private.CoreLib/src/System/RuntimeType.cs
src/libraries/System.Runtime/tests/System/Type/TypeTests.cs