Virtual AttributeType property and signature generic types (dotnet/coreclr#19818)
authorAtsushi Kanamori <AtsushiKan@users.noreply.github.com>
Tue, 4 Sep 2018 18:24:00 +0000 (11:24 -0700)
committerGitHub <noreply@github.com>
Tue, 4 Sep 2018 18:24:00 +0000 (11:24 -0700)
commit783f5792209f00ae55781444015f9b74c6c28c84
treeff68399f637137b117043ae24fe0b76f0e1a4fdb
parenta705016684726f56ccf2e0c57205a164bceb87fa
Virtual AttributeType property and signature generic types (dotnet/coreclr#19818)

* Virtual AttributeType property and signature generic types

https://github.com/dotnet/corefx/issues/31614

1. This will allow Reflection providers the option
to supply the attribute type without building
an entire constructor.

https://github.com/dotnet/corefx/issues/31798

2. This will permit other Reflection providers
to support Type.MakeGenericMethodParameter()
in their implementations.

* More robust argument validation.

* Change parameter name

Commit migrated from https://github.com/dotnet/coreclr/commit/a1cb8f6e39ba93d21f2fc2bd0405b9d6d28b42ee
src/coreclr/src/System.Private.CoreLib/src/System/Reflection/CustomAttribute.cs
src/libraries/System.Private.CoreLib/src/System/Reflection/SignatureConstructedGenericType.cs
src/libraries/System.Private.CoreLib/src/System/Type.cs