Move COM ILLink.Descriptors entries to CoreCLR (#38172)
authorEric Erhardt <eric.erhardt@microsoft.com>
Sat, 20 Jun 2020 03:54:16 +0000 (22:54 -0500)
committerGitHub <noreply@github.com>
Sat, 20 Jun 2020 03:54:16 +0000 (20:54 -0700)
These types only exist in CoreCLR, they don't exist in Mono.

Contributes to #36659

src/coreclr/src/System.Private.CoreLib/ILLinkTrim.xml
src/libraries/System.Private.CoreLib/src/ILLink/ILLink.Descriptors.Shared.xml

index f24632d..11a67fd 100644 (file)
@@ -9,5 +9,13 @@
     <type fullname="System.Diagnostics.Tracing.EventPipe*" />
     <!-- The private Event methods are accessed by private reflection in the base EventSource class. -->
     <type fullname="System.Diagnostics.Tracing.NativeRuntimeEventSource" />
+    <!-- Accessed via native code. -->
+    <type fullname="System.Runtime.InteropServices.ComTypes.IEnumerable" />
+    <type fullname="System.Runtime.InteropServices.ComTypes.IEnumerator" />
+    <type fullname="System.Runtime.InteropServices.CustomMarshalers.*" />
+    <!-- Workaround for https://github.com/mono/linker/issues/378 -->
+    <type fullname="System.Runtime.InteropServices.IDispatch" />
+    <type fullname="System.Runtime.InteropServices.IMarshal" />
+    <type fullname="Internal.Runtime.InteropServices.IClassFactory2" />
   </assembly>
 </linker>
index 8072c02..aa0a42d 100644 (file)
       <!-- Methods is used by VS Tasks Window. -->
       <method name="GetActiveTaskFromId" />
     </type>
-    <!-- Accessed via native code. -->
-    <type fullname="System.Runtime.InteropServices.ComTypes.IEnumerable" />
-    <type fullname="System.Runtime.InteropServices.ComTypes.IEnumerator" />
-    <type fullname="System.Runtime.InteropServices.CustomMarshalers.*" />
-    <!-- Workaround for https://github.com/mono/linker/issues/378 -->
-    <type fullname="System.Runtime.InteropServices.IDispatch" />
-    <type fullname="System.Runtime.InteropServices.IMarshal" />
-    <type fullname="Internal.Runtime.InteropServices.IClassFactory2" />
     <type fullname="System.Threading.ThreadPoolBoundHandle">
       <!-- Workaround to keep .interfaceimpl even though this type
              is not instantiated on unix: