Add opt-in support for GeneratedComInterface/ComImport RCW interop (#87583)
authorJeremy Koritzinsky <jekoritz@microsoft.com>
Tue, 18 Jul 2023 20:27:37 +0000 (13:27 -0700)
committerGitHub <noreply@github.com>
Tue, 18 Jul 2023 20:27:37 +0000 (13:27 -0700)
commit1dedddef7b8f389e3720b9c643306b98b092ad87
tree4a1cc39f8c402f73c7bae94722d1180ffcd56f63
parentb8653d9c40ceca92805a68a7180f2e0caee65df8
Add opt-in support for GeneratedComInterface/ComImport RCW interop (#87583)

Co-authored-by: Jan Kotas <jkotas@microsoft.com>
docs/design/libraries/ComInterfaceGenerator/Compatibility.md [new file with mode: 0644]
eng/testing/linker/project.csproj.template
src/libraries/System.Runtime.InteropServices/src/ILLink/ILLink.Substitutions.xml [new file with mode: 0644]
src/libraries/System.Runtime.InteropServices/src/System.Runtime.InteropServices.csproj
src/libraries/System.Runtime.InteropServices/src/System/Runtime/InteropServices/Marshalling/ComImportInteropInterfaceDetailsStrategy.cs [new file with mode: 0644]
src/libraries/System.Runtime.InteropServices/src/System/Runtime/InteropServices/Marshalling/ComObject.cs
src/libraries/System.Runtime.InteropServices/src/System/Runtime/InteropServices/Marshalling/StrategyBasedComWrappers.cs
src/libraries/System.Runtime.InteropServices/tests/ComInterfaceGenerator.Tests/ComInterfaceGenerator.Tests.csproj
src/libraries/System.Runtime.InteropServices/tests/ComInterfaceGenerator.Tests/GeneratedComInterfaceComImportInteropTests.cs [new file with mode: 0644]
src/libraries/System.Runtime.InteropServices/tests/TrimmingTests/GeneratedComInterfaceComImportInteropTrimmed.cs [new file with mode: 0644]
src/libraries/System.Runtime.InteropServices/tests/TrimmingTests/System.Runtime.InteropServices.TrimmingTests.proj [new file with mode: 0644]