3 instantiations of BoundConstructorMethodBody
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_Statements.cs (2)
3744return new BoundConstructorMethodBody(typeDecl, 3793return new BoundConstructorMethodBody(constructor,
Generated\BoundNodes.xml.Generated.cs (1)
8796var result = new BoundConstructorMethodBody(this.Syntax, locals, initializer, blockBody, expressionBody, this.HasErrors);
20 references to BoundConstructorMethodBody
Microsoft.CodeAnalysis.CSharp (20)
Binder\RefSafetyAnalysis.cs (2)
306BoundConstructorMethodBody constructorBody => constructorBody.BlockBody != node && constructorBody.ExpressionBody != node, 386public override BoundNode? VisitConstructorMethodBody(BoundConstructorMethodBody node)
BoundTree\BoundNode.cs (1)
708public override BoundNode? VisitConstructorMethodBody(BoundConstructorMethodBody node)
Compilation\MemberSemanticModel.NodeMapBuilder.cs (1)
296public override BoundNode VisitConstructorMethodBody(BoundConstructorMethodBody node)
Compiler\MethodCompiler.cs (2)
1994var constructor = (BoundConstructorMethodBody)methodBody;
FlowAnalysis\AbstractFlowPass.cs (1)
3728public override BoundNode VisitConstructorMethodBody(BoundConstructorMethodBody node)
FlowAnalysis\NullableWalker.cs (2)
1572return constructorBody is BoundConstructorMethodBody { Initializer: BoundExpressionStatement { Expression: BoundCall { Method: { MethodKind: MethodKind.Constructor } initializerMethod } } } 3616public override BoundNode? VisitConstructorMethodBody(BoundConstructorMethodBody node)
Generated\BoundNodes.xml.Generated.cs (9)
8792public BoundConstructorMethodBody Update(ImmutableArray<LocalSymbol> locals, BoundStatement? initializer, BoundBlock? blockBody, BoundBlock? expressionBody) 8796var result = new BoundConstructorMethodBody(this.Syntax, locals, initializer, blockBody, expressionBody, this.HasErrors); 9337return VisitConstructorMethodBody((BoundConstructorMethodBody)node, arg); 9579public virtual R VisitConstructorMethodBody(BoundConstructorMethodBody node, A arg) => this.DefaultVisit(node, arg); 9815public virtual BoundNode? VisitConstructorMethodBody(BoundConstructorMethodBody node) => this.DefaultVisit(node); 10824public override BoundNode? VisitConstructorMethodBody(BoundConstructorMethodBody node) 12388public override BoundNode? VisitConstructorMethodBody(BoundConstructorMethodBody node) 15085public override BoundNode? VisitConstructorMethodBody(BoundConstructorMethodBody node) 17270public override TreeDumperNode VisitConstructorMethodBody(BoundConstructorMethodBody node, object? arg) => new TreeDumperNode("constructorMethodBody", null, new TreeDumperNode[]
Operations\CSharpOperationFactory.cs (2)
259return CreateConstructorBodyOperation((BoundConstructorMethodBody)boundNode); 361private IConstructorBodyOperation CreateConstructorBodyOperation(BoundConstructorMethodBody boundNode)