Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing support for ref- and out args for sync calls #4

Open
crystalgreen opened this issue Mar 13, 2024 · 0 comments
Open

Missing support for ref- and out args for sync calls #4

crystalgreen opened this issue Mar 13, 2024 · 0 comments

Comments

@crystalgreen
Copy link

Async calls don't support ref- or out arguments but synchronous calls do. But this doesn't work in DispatchProxyAsync.

When calling via Invoke, those arg types should be supported but I get an exception. The original DispatchProxy does support it.

See my example on dotnetfiddle.
Also try only out- args or only ref-args.

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

No branches or pull requests

1 participant