[reflection] Convert internal GetCustomAttributes calls to Attribute[] (mono/mono...
authorRyan Lucia <rylucia@microsoft.com>
Thu, 2 Jan 2020 16:58:15 +0000 (11:58 -0500)
committerGitHub <noreply@github.com>
Thu, 2 Jan 2020 16:58:15 +0000 (11:58 -0500)
commit0844cb7a6152943a6c19504095c67263f2222dc0
tree3ba825184c7e7d9fb20f28bb4ff6ef4be5297312
parent4f7932554dc71d8ff34ce57e95244219cb75fd97
[reflection] Convert internal GetCustomAttributes calls to Attribute[] (mono/mono#18176)

* [reflection] Avoid creating object[] in GetCustomAttributesBase

* [reflection] Migrate Attribute type checking to CustomAttribute.cs

Commit migrated from https://github.com/mono/mono/commit/ff6294d2311932902a9e790bbcc79f109a602d0c
src/mono/netcore/CoreFX.issues.rsp
src/mono/netcore/System.Private.CoreLib/src/System/Attribute.Mono.cs
src/mono/netcore/System.Private.CoreLib/src/System/Reflection/CustomAttribute.cs