Skip to content

Conversation

@jkoritzinsky
Copy link
Member

We didn't actually use the strategy object here, so users like WinForms can't actually use it to override behavior. This is stopping WinForms from onboarding to StrategyBasedComWrappers.

I think this is worth backporting to 8.0 as the fixed bug significantly limits the utility of other RCW/CCW systems' ability to interact with source-generated COM.

We didn't actually use the strategy object here, so users like WinForms can't actually use it.
@jkoritzinsky jkoritzinsky added area-System.Runtime.InteropServices source-generator Indicates an issue with a source generator feature labels Sep 14, 2023
@jkoritzinsky jkoritzinsky added this to the 9.0.0 milestone Sep 14, 2023
@ghost ghost assigned jkoritzinsky Sep 14, 2023
@ghost
Copy link

ghost commented Sep 14, 2023

Tagging subscribers to this area: @dotnet/interop-contrib
See info in area-owners.md if you want to be subscribed.

Issue Details

We didn't actually use the strategy object here, so users like WinForms can't actually use it to override behavior. This is stopping WinForms from onboarding to StrategyBasedComWrappers.

I think this is worth backporting to 8.0 as the fixed bug significantly limits the utility of other RCW/CCW systems' ability to interact with source-generated COM.

Author: jkoritzinsky
Assignees: -
Labels:

area-System.Runtime.InteropServices, source-generator

Milestone: 9.0.0

…e/InteropServices/Marshalling/StrategyBasedComWrappers.cs

Co-authored-by: Jackson Schuster <[email protected]>
@jkoritzinsky jkoritzinsky merged commit 1f9764f into main Sep 18, 2023
@jkoritzinsky
Copy link
Member Author

/backport to release/8.0

@github-actions
Copy link
Contributor

@jkotas jkotas deleted the jkoritzinsky-patch-1 branch September 21, 2023 17:19
@ghost ghost locked as resolved and limited conversation to collaborators Oct 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-System.Runtime.InteropServices source-generator Indicates an issue with a source generator feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants