Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLakshan Fernando <lakshanf@hotmail.com>2021-06-09 14:01:26 +0300
committerGitHub <noreply@github.com>2021-06-09 14:01:26 +0300
commit9a64a29c38319a3c7724894fbf3e1e14b6fa799e (patch)
tree44a191660bc7731544605c3b72d4c18cc5354881 /src/coreclr/vm
parent29354ef53e9534a38f2af73d6fdc9313b08c403a (diff)
Fixes Trim HelloWorld (#53912)
Diffstat (limited to 'src/coreclr/vm')
-rw-r--r--src/coreclr/vm/corelib.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/coreclr/vm/corelib.h b/src/coreclr/vm/corelib.h
index 73ce65fd2d7..01ba6f44582 100644
--- a/src/coreclr/vm/corelib.h
+++ b/src/coreclr/vm/corelib.h
@@ -202,7 +202,6 @@ DEFINE_CLASS(VARIANT_WRAPPER, Interop, VariantWrapper)
#endif // FEATURE_COMINTEROP
END_ILLINK_FEATURE_SWITCH()
-BEGIN_ILLINK_FEATURE_SWITCH(System.Runtime.InteropServices.BuiltInComInterop.IsSupported, true, true)
#ifdef FEATURE_COMINTEROP
DEFINE_CLASS_U(System, __ComObject, ComObject)
DEFINE_FIELD_U(m_ObjectToDataMap, ComObject, m_ObjectToDataMap)
@@ -212,12 +211,14 @@ DEFINE_METHOD(COM_OBJECT, GET_EVENT_PROVIDER, GetEventProvider,
#ifdef FOR_ILLINK
DEFINE_METHOD(COM_OBJECT, CTOR, .ctor, IM_RetVoid)
#endif
+#endif // FEATURE_COMINTEROP
+BEGIN_ILLINK_FEATURE_SWITCH(System.Runtime.InteropServices.BuiltInComInterop.IsSupported, true, true)
+#ifdef FEATURE_COMINTEROP
DEFINE_CLASS(LICENSE_INTEROP_PROXY, InternalInteropServices, LicenseInteropProxy)
DEFINE_METHOD(LICENSE_INTEROP_PROXY, CREATE, Create, SM_RetObj)
DEFINE_METHOD(LICENSE_INTEROP_PROXY, GETCURRENTCONTEXTINFO, GetCurrentContextInfo, IM_RuntimeTypeHandle_RefBool_RefIntPtr_RetVoid)
DEFINE_METHOD(LICENSE_INTEROP_PROXY, SAVEKEYINCURRENTCONTEXT, SaveKeyInCurrentContext, IM_IntPtr_RetVoid)
-
#endif // FEATURE_COMINTEROP
END_ILLINK_FEATURE_SWITCH()