• V
    Fixes an issue with flow analysis where branches within `try` could be... · 5a5395c8
    vsadov 提交于
        Fixes an issue with flow analysis where branches within `try` could be considered as going through `finally`
    
        We could incorrectly assume that variable is assigned (or unassigned in async capture tracking case).
    
        As a resutl we could
        - allow use of unassigned locals (undefined behavior)
        - not capture a local whose value survives `await` (NRE crash)
    
        Also added a regression test fro VB, which does not seem affected.
    
        Fixes:#19831
    5a5395c8
SemanticErrorTests.cs 922.7 KB