63 references to Block
Microsoft.CodeAnalysis.CSharp (63)
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)
89return (asyncDispatch != null) ? F.Block(asyncDispatch, iteratorDispatch) : iteratorDispatch; 163thenClause: F.Block( 207return F.Block( 244return F.Block( 313return F.Block( 355tryBlock: F.Block(node.TryBlock, F.Label(finallyEntry)),
Lowering\AsyncRewriter\AsyncMethodToStateMachineRewriter.cs (4)
253body: F.Block( 365var awaitIfIncomplete = F.Block( 579elseClauseOpt: F.Block( 647return 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 (7)
146var faultBlock = F.Block(F.ExpressionStatement(F.Call(F.This(), disposeMethod))); 186return F.Block( 264body = F.Block( 271var tryBlock = body != null ? F.Block(body) : F.Block(); 275F.Block(F.ExpressionStatement(F.Call(F.This(), frame.handler)))); 306return this.F.Block( 334return 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)
260result = F.Block(result, missingStateDispatch); 377translatedStatement = F.Block( 400return F.Block(new BoundStateMachineScope(F.Syntax, hoistedLocals, statement)); 864BoundBlock tryBlock = F.Block((BoundStatement)this.Visit(node.TryBlock)); 870tryBlock = F.Block( 883BoundBlock finallyBlockOpt = node.FinallyBlockOpt == null ? null : F.Block( 895result = 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(),