Add more trimming annotations to Mono CoreLib (#38148)
authorMichal Strehovský <MichalStrehovsky@users.noreply.github.com>
Mon, 22 Jun 2020 08:20:25 +0000 (10:20 +0200)
committerGitHub <noreply@github.com>
Mon, 22 Jun 2020 08:20:25 +0000 (10:20 +0200)
commit4aacf930ecdccfb41435e913042662cf97e99b6a
treef961c3fc5c53340fd30a49c1df26826d78cc6995
parent1f4d0db2339c37d75723d063827fd2a4c6e2ecef
Add more trimming annotations to Mono CoreLib (#38148)

I've also annotated CoreCLR's `Type.GetType` in the same spot as Mono. Mono's implementation was triggering warnings, which is what promted me to add it there, but we should annotate this nonetheless because absent intrinsic treatment in Linker, this would be unsafe.
src/coreclr/src/System.Private.CoreLib/src/System/Type.CoreCLR.cs
src/libraries/System.Runtime/ref/System.Runtime.cs
src/mono/netcore/System.Private.CoreLib/src/System/Delegate.Mono.cs
src/mono/netcore/System.Private.CoreLib/src/System/Runtime/InteropServices/Marshal.Mono.cs
src/mono/netcore/System.Private.CoreLib/src/System/RuntimeType.Mono.cs
src/mono/netcore/System.Private.CoreLib/src/System/Type.Mono.cs