Skip to content
This repository was archived by the owner on Nov 13, 2026. It is now read-only.

Wrap LINQ object array delegate thunk in a try/finally - #8072

Merged
MichalStrehovsky merged 2 commits into
dotnet:masterfrom
MichalStrehovsky:wraplinq
Apr 5, 2020
Merged

MichalStrehovsky merged 2 commits into
dotnet:masterfrom
MichalStrehovsky:wraplinq

Conversation

@MichalStrehovsky

Copy link
Copy Markdown
Member

This ensures we copy back byref args. It wasn't possible when this code was originally witten because the IL generator couldn't generate finallys.

Closes #2910.

This ensures we copy back byref args. It wasn't possible when this code was originally witten because the IL generator couldn't generate finallys.

Closes dotnet#2910.
@jkotas

jkotas commented Apr 4, 2020

Copy link
Copy Markdown
Member

CppCodeGen failing. System.Linq.Expressions\src\System\Linq\Expressions\Interpreter\LightCompiler.cs(1831,342): error G7DF253DA: expected unqualified-id

@MichalStrehovsky

Copy link
Copy Markdown
Member Author

CppCodeGen failing

Sigh, forgot it runs here. It would have trouble with the throw as well.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add ILEmitter support for try/finally blocks

2 participants