2 references to Block
Microsoft.CodeAnalysis.CSharp (2)
Lowering\LocalRewriter\LocalRewriter_PatternSwitchStatement.cs (1)
174
BoundStatement translatedSwitch = _factory.
Block
(outerVariables.ToImmutableAndFree(), node.InnerLocalFunctions, result.ToImmutableAndFree());
Lowering\SyntheticBoundNodeFactory.cs (1)
483
return
Block
(locals, ImmutableArray<MethodSymbol>.CastUp(localFunctions), statements);