This project is read-only.
1
Vote

LocalsOpt in { BoundBlock, BoundSwitchStatement, BoundUsingStatement } should not be optional

description

LocalsOpt in { BoundBlock, BoundSwitchStatement, BoundUsingStatement } should not be optional.

Instances of those BoundNodes should be constructed with ImmutableArray<LocalSymbol>.Empty rather than default(ImmutableArray<LocalSymbol>), and that might simplify code that uses instances of those types.

comments