-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
DynamicMethod Byref Return Type #26657
Comments
Interestingly, this limitation only applies to
The custom delegate here is required because you can't invoke this type of method via reflection, since a managed pointer ( |
Yeah, the |
This was fixed by dotnet/coreclr#15106 . This fix is included in .NET Core 2.1 |
Oh my mistake...I looked though "DynamicMethod" issues but it didn't come up because of the space between the words in the other issue :/ |
Would like to be able to set a ref return type like this:
Currently have to use this workaround/hack to avoid exception being thrown:
The text was updated successfully, but these errors were encountered: