3 instantiations of BoundConstructorMethodBody
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_Statements.cs (2)
3789return new BoundConstructorMethodBody(typeDecl, 3850return new BoundConstructorMethodBody(constructor,
Generated\BoundNodes.xml.Generated.cs (1)
8972var result = new BoundConstructorMethodBody(this.Syntax, locals, initializer, blockBody, expressionBody, this.HasErrors);
19 references to BoundConstructorMethodBody
Microsoft.CodeAnalysis.CSharp (19)
Binder\RefSafetyAnalysis.cs (2)
311BoundConstructorMethodBody constructorBody => constructorBody.BlockBody != node && constructorBody.ExpressionBody != node, 392public override BoundNode? VisitConstructorMethodBody(BoundConstructorMethodBody node)
Compilation\MemberSemanticModel.NodeMapBuilder.cs (1)
296public override BoundNode VisitConstructorMethodBody(BoundConstructorMethodBody node)
Compiler\MethodCompiler.cs (2)
2006var constructor = (BoundConstructorMethodBody)methodBody;
FlowAnalysis\AbstractFlowPass.cs (1)
3757public override BoundNode VisitConstructorMethodBody(BoundConstructorMethodBody node)
FlowAnalysis\NullableWalker.cs (2)
1628return constructorBody is BoundConstructorMethodBody { Initializer: BoundExpressionStatement { Expression: BoundCall { Method: { MethodKind: MethodKind.Constructor } initializerMethod } } } 3725public override BoundNode? VisitConstructorMethodBody(BoundConstructorMethodBody node)
Generated\BoundNodes.xml.Generated.cs (9)
8968public BoundConstructorMethodBody Update(ImmutableArray<LocalSymbol> locals, BoundStatement? initializer, BoundBlock? blockBody, BoundBlock? expressionBody) 8972var result = new BoundConstructorMethodBody(this.Syntax, locals, initializer, blockBody, expressionBody, this.HasErrors); 9546return VisitConstructorMethodBody((BoundConstructorMethodBody)node, arg); 9794public virtual R VisitConstructorMethodBody(BoundConstructorMethodBody node, A arg) => this.DefaultVisit(node, arg); 10035public virtual BoundNode? VisitConstructorMethodBody(BoundConstructorMethodBody node) => this.DefaultVisit(node); 11077public override BoundNode? VisitConstructorMethodBody(BoundConstructorMethodBody node) 12675public override BoundNode? VisitConstructorMethodBody(BoundConstructorMethodBody node) 15411public override BoundNode? VisitConstructorMethodBody(BoundConstructorMethodBody node) 17660public override TreeDumperNode VisitConstructorMethodBody(BoundConstructorMethodBody node, object? arg) => new TreeDumperNode("constructorMethodBody", null, new TreeDumperNode[]
Operations\CSharpOperationFactory.cs (2)
258return CreateConstructorBodyOperation((BoundConstructorMethodBody)boundNode); 368private IConstructorBodyOperation CreateConstructorBodyOperation(BoundConstructorMethodBody boundNode)