Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Add support for emitting finally regions in ILEmitter #27109

Merged
merged 1 commit into from
Oct 11, 2019

Commits on Oct 10, 2019

  1. Add support for emitting finally regions in ILEmitter

    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);
    ```
    MichalStrehovsky committed Oct 10, 2019
    Configuration menu
    Copy the full SHA
    f37db36 View commit details
    Browse the repository at this point in the history