Make marshaller types specific to each scenario (#89894)
authorJackson Schuster <36744439+jtschuster@users.noreply.github.com>
Fri, 4 Aug 2023 04:08:23 +0000 (21:08 -0700)
committerGitHub <noreply@github.com>
Fri, 4 Aug 2023 04:08:23 +0000 (21:08 -0700)
commitd19a1461b94374b2c3ff4f388d31e9919d891d55
tree10aa2db0bc385ef0fc9f492f5503cd02d02ed835
parent3be370e1236cdf30a3d52fa80c7c38132f1cb0f3
Make marshaller types specific to each scenario (#89894)

Make the marshaller types for the test interfaces only include the necessary methods for each scenario to catch any generated code that uses a method from another scenario
src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/ElementsMarshalling.cs
src/libraries/System.Runtime.InteropServices/tests/TestAssets/SharedTypes/ComInterfaces/IStatefulFinallyMarshalling.cs
src/libraries/System.Runtime.InteropServices/tests/TestAssets/SharedTypes/ComInterfaces/IStatefulMarshalling.cs
src/libraries/System.Runtime.InteropServices/tests/TestAssets/SharedTypes/ComInterfaces/IStatelessCollectionStatelessElement.cs
src/libraries/System.Runtime.InteropServices/tests/TestAssets/SharedTypes/ComInterfaces/IStatelessMarshalling.cs