From 9bffb810eea2491f9cc63970687bebc26b0803ac Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michal=20Strehovsk=C3=BD?= Date: Thu, 22 Aug 2019 19:02:43 +0200 Subject: [PATCH] Mark methods specially handled in JitInterface Intrinsic (#26209) * Mark methods specially handled in JitInterface Intrinsic For CPAOT compiler's sake. Signed-off-by: dotnet-bot --- netcore/System.Private.CoreLib/shared/System/Activator.RuntimeType.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/netcore/System.Private.CoreLib/shared/System/Activator.RuntimeType.cs b/netcore/System.Private.CoreLib/shared/System/Activator.RuntimeType.cs index 0ab29d95d1d..a679e60bbce 100644 --- a/netcore/System.Private.CoreLib/shared/System/Activator.RuntimeType.cs +++ b/netcore/System.Private.CoreLib/shared/System/Activator.RuntimeType.cs @@ -136,6 +136,7 @@ namespace System return o != null ? new ObjectHandle(o) : null; } + [System.Runtime.CompilerServices.Intrinsic] public static T CreateInstance() { return (T)((RuntimeType)typeof(T)).CreateInstanceDefaultCtor(publicOnly: true, skipCheckThis: true, fillCache: true, wrapExceptions: true); -- 2.11.4.GIT