Replace Delegate.CreateDelegate (dotnet/corert#7147)
commit07c383b8298e5426144e3eb29b0a568fd4e8422e
authorMichal Strehovský <MichalStrehovsky@users.noreply.github.com>
Mon, 11 Mar 2019 20:57:29 +0000 (11 21:57 +0100)
committerMarek Safar <marek.safar@gmail.com>
Mon, 11 Mar 2019 21:20:53 +0000 (11 22:20 +0100)
tree60e986e39e750d42cbb48a8371d831d9d2f47942
parentb92a1059925c5d86e8282098390e614052402d32
Replace Delegate.CreateDelegate (dotnet/corert#7147)

Replacing this with a pattern that is easier to statically analyze. We use the GetType/GetMethod/CreateDelegate pattern in several places already.

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
netcore/System.Private.CoreLib/shared/System/AppDomain.cs
netcore/System.Private.CoreLib/shared/System/ComponentModel/DefaultValueAttribute.cs