Allow specifying the in/ref/out marshaller scenarios for the generator factory (...
authorJeremy Koritzinsky <jekoritz@microsoft.com>
Thu, 30 Jun 2022 05:25:24 +0000 (22:25 -0700)
committerGitHub <noreply@github.com>
Thu, 30 Jun 2022 05:25:24 +0000 (22:25 -0700)
commitfae4347978d95e8a622f9e292ff90be824c9d649
treed72d01030be1b09c4b9d58a8f64217b986793f50
parent0402550585f54e88707af55652111ace793ef27f
Allow specifying the in/ref/out marshaller scenarios for the generator factory (#71466)

Allow specifying the in/ref/out marshaller scenarios for the generator factory and use the element scenarios types for element scenarios.

Also fix a typo in the CollectionsOfCollectionsStress test that implementing this exposed.
src/libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/LibraryImportGenerator.cs
src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/AttributedMarshallingModelGeneratorFactory.cs
src/libraries/System.Runtime.InteropServices/tests/LibraryImportGenerator.UnitTests/CodeSnippets.cs
src/libraries/System.Runtime.InteropServices/tests/LibraryImportGenerator.UnitTests/Compiles.cs