[netcore] Fix couple of custom attribute tests (#14063)
commitfbac2cb6f0ca5e405849c6318a2a1337d19ca301
authorFilip Navara <filip.navara@gmail.com>
Tue, 16 Apr 2019 06:10:54 +0000 (16 08:10 +0200)
committerMarek Safar <marek.safar@gmail.com>
Tue, 16 Apr 2019 06:10:54 +0000 (16 08:10 +0200)
tree584b486cd4982dae0957d5241f336263ad407566
parenteb98d562b0802595c10f014365238f539191038c
[netcore] Fix couple of custom attribute tests (#14063)

* Revert "[netcore] fix some CustomAttribute related tests (#14056)"

This reverts commit b1af4c2726cdc211971efacee7d66a6e447336d2.

* Add parameter validation to Attribute.GetCustomAttribute

* Fix indentation
mcs/class/System.Private.CoreLib/System/Attribute.cs
mcs/class/corlib/System/MonoCustomAttrs.cs