This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for emitting finally regions in ILEmitter (#27109)
This will be needed to properly do cleanups in marshalling stubs. The usage goes like (I couldn't come up with anything better): ``` var b = codeStream.BeginTry(); //... codeStream.EndTry(b); codeStream.BeginHandler(b); // ... codeStream.EndHandler(b); emit.NewFinallyRegion(b); ```
- Loading branch information
1 parent
d8bbcc4
commit a7ffbba
Showing
2 changed files
with
139 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters