Skip to content

Conversation

@jevansaks
Copy link
Member

@jevansaks jevansaks commented Dec 11, 2025

When converting methods on an interface into properties, we were losing the MarshalAs attribute for IUnknown and IDispatch. Added plumbing to pass the MarshalAsAttribute up through the TryGetPropertyAccessorInfo and add it to the accessor declarations.

Fixes #1139

@jevansaks jevansaks requested a review from manodasanW December 11, 2025 23:48
@jevansaks jevansaks requested a review from Sergio0694 December 12, 2025 19:16
@jevansaks jevansaks merged commit af067cc into main Dec 12, 2025
7 checks passed
@jevansaks jevansaks deleted the user/jevansaks/idispatchproperties branch December 12, 2025 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Accessing property IShellFolderViewDual.Application causes InvalidOleVariantTypeException "Specified OLE variant is invalid"

3 participants