64 references to Block
Microsoft.CodeAnalysis.CSharp (64)
Compiler\AnonymousTypeMethodBodySynthesizer.cs (4)
65F.CloseMethod(F.Block(statements)); 87F.CloseMethod(F.Block(F.Return(F.Field(F.This(), _property.BackingField)))); 212F.CloseMethod(F.Block(F.Return(retExpression))); 291F.CloseMethod(F.Block(F.Return(retExpression)));
Compiler\MethodBodySynthesizer.Lowered.cs (4)
88F.Block( 333if (body.Kind != BoundKind.Block) body = F.Block(body); 470? F.Block(F.ExpressionStatement(invocation), F.Return()) 471: F.Block(F.Return(invocation));
Lowering\AsyncRewriter\AsyncExceptionHandlerRewriter.cs (7)
194_F.Block( 202BoundBlock syntheticFinallyBlock = _F.Block( 345unpendReturn = _F.Block( 390return _F.Block( 493_F.Block( 587body: _F.Block( 633body: _F.Block(
Lowering\AsyncRewriter\AsyncIteratorMethodToStateMachineRewriter.cs (6)
90return (asyncDispatch != null) ? F.Block(asyncDispatch, iteratorDispatch) : iteratorDispatch; 174thenClause: F.Block( 218return F.Block( 255return F.Block( 324return F.Block( 382tryBlock: F.Block(node.TryBlock, F.Label(finallyEntry)),
Lowering\AsyncRewriter\AsyncMethodToStateMachineRewriter.cs (4)
240body: F.Block( 374var awaitIfIncomplete = F.Block( 593elseClauseOpt: F.Block( 661return F.Block(
Lowering\AsyncRewriter\AsyncRewriter.AsyncIteratorRewriter.cs (5)
246elseClauseOpt: F.Block( 487F.CloseMethod(F.Block(F.Return(F.InstanceField(_currentField)))); 561F.CloseMethod(F.Block( 588F.CloseMethod(F.Block( 634F.CloseMethod(F.Block(
Lowering\AsyncRewriter\AsyncRewriter.cs (1)
180F.Block(
Lowering\ClosureConversion\ClosureConversion.cs (1)
558var body = F.Block(
Lowering\IteratorRewriter\IteratorMethodToStateMachineRewriter.cs (8)
147var faultBlock = F.Block(F.ExpressionStatement(F.Call(F.This(), disposeMethod))); 164var disposeBody = F.Block( 192return F.Block( 270body = F.Block( 277var tryBlock = body != null ? F.Block(body) : F.Block(); 281F.Block(F.ExpressionStatement(F.Call(F.This(), frame.handler)))); 312return this.F.Block( 340return F.Block(
Lowering\LocalRewriter\LocalRewriter_FixedStatement.cs (3)
68_factory.Block(cleanup))); 287return factory.Block(pinnedTempInit, localInit); 489return factory.Block(stringTempInit, localInit, conditionalAdd);
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (7)
265result = F.Block(result, missingStateDispatch); 382translatedStatement = F.Block( 405return F.Block(new BoundStateMachineScope(F.Syntax, hoistedLocals, statement)); 882BoundBlock tryBlock = F.Block((BoundStatement)this.Visit(node.TryBlock)); 888tryBlock = F.Block( 901BoundBlock finallyBlockOpt = node.FinallyBlockOpt == null ? null : F.Block( 913result = F.Block(
Lowering\SyntheticBoundNodeFactory.cs (3)
533statements.Add(Try(Block(statement), ImmutableArray<BoundCatchBlock>.Empty, Block(instrumentation.Epilogue))); 574body = Block(body);
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListConstructor.cs (1)
33var block = f.Block(
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListEnumeratorConstructor.cs (1)
33var block = f.Block(
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListEnumeratorTypeSymbol.cs (1)
102return f.Block(f.Assignment(moveNextCalledFieldReference, f.Literal(false)), f.Return());
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListTypeSymbol.cs (2)
644return f.Block(statement, f.Return()); 660return f.Block(
Symbols\Synthesized\Records\SynthesizedRecordBaseEquals.cs (1)
70F.CloseMethod(F.Block(F.Return(retExpr)));
Symbols\Synthesized\Records\SynthesizedRecordEqualityContractProperty.cs (1)
179F.CloseMethod(F.Block(F.Return(F.Typeof(ContainingType, ReturnType))));
Symbols\Synthesized\Records\SynthesizedRecordEqualityOperator.cs (1)
77F.CloseMethod(F.Block(F.Return(expression)));
Symbols\Synthesized\Records\SynthesizedRecordEquals.cs (1)
172F.CloseMethod(F.Block(F.Return(retExpr)));
Symbols\Synthesized\Records\SynthesizedRecordGetHashCode.cs (1)
118F.CloseMethod(F.Block(F.Return(currentHashValue)));
Symbols\Synthesized\Records\SynthesizedRecordInequalityOperator.cs (1)
41F.CloseMethod(F.Block(F.Return(F.Not(F.Call(receiver: null, ContainingType.GetMembers(WellKnownMemberNames.EqualityOperatorName).OfType<SynthesizedRecordEqualityOperator>().Single(),