3 instantiations of BoundConstructorMethodBody
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_Statements.cs (2)
3596
return new
BoundConstructorMethodBody
(typeDecl,
3645
return new
BoundConstructorMethodBody
(constructor,
Generated\BoundNodes.xml.Generated.cs (1)
8432
var result = new
BoundConstructorMethodBody
(this.Syntax, locals, initializer, blockBody, expressionBody, this.HasErrors);
19 references to BoundConstructorMethodBody
Microsoft.CodeAnalysis.CSharp (19)
Binder\RefSafetyAnalysis.cs (1)
284
public override BoundNode? VisitConstructorMethodBody(
BoundConstructorMethodBody
node)
BoundTree\BoundNode.cs (1)
646
public override BoundNode? VisitConstructorMethodBody(
BoundConstructorMethodBody
node)
Compilation\MemberSemanticModel.NodeMapBuilder.cs (1)
271
public override BoundNode VisitConstructorMethodBody(
BoundConstructorMethodBody
node)
Compiler\MethodCompiler.cs (2)
1886
var
constructor = (
BoundConstructorMethodBody
)methodBody;
FlowAnalysis\AbstractFlowPass.cs (1)
3498
public override BoundNode VisitConstructorMethodBody(
BoundConstructorMethodBody
node)
FlowAnalysis\NullableWalker.cs (2)
1413
return constructorBody is
BoundConstructorMethodBody
{ Initializer: BoundExpressionStatement { Expression: BoundCall { Method: { MethodKind: MethodKind.Constructor } initializerMethod } } }
3238
public override BoundNode? VisitConstructorMethodBody(
BoundConstructorMethodBody
node)
Generated\BoundNodes.xml.Generated.cs (9)
8428
public
BoundConstructorMethodBody
Update(ImmutableArray<LocalSymbol> locals, BoundStatement? initializer, BoundBlock? blockBody, BoundBlock? expressionBody)
8432
var
result = new BoundConstructorMethodBody(this.Syntax, locals, initializer, blockBody, expressionBody, this.HasErrors);
8957
return VisitConstructorMethodBody((
BoundConstructorMethodBody
)node, arg);
9191
public virtual R VisitConstructorMethodBody(
BoundConstructorMethodBody
node, A arg) => this.DefaultVisit(node, arg);
9419
public virtual BoundNode? VisitConstructorMethodBody(
BoundConstructorMethodBody
node) => this.DefaultVisit(node);
10398
public override BoundNode? VisitConstructorMethodBody(
BoundConstructorMethodBody
node)
11759
public override BoundNode? VisitConstructorMethodBody(
BoundConstructorMethodBody
node)
14375
public override BoundNode? VisitConstructorMethodBody(
BoundConstructorMethodBody
node)
16475
public override TreeDumperNode VisitConstructorMethodBody(
BoundConstructorMethodBody
node, object? arg) => new TreeDumperNode("constructorMethodBody", null, new TreeDumperNode[]
Operations\CSharpOperationFactory.cs (2)
255
return CreateConstructorBodyOperation((
BoundConstructorMethodBody
)boundNode);
358
private IConstructorBodyOperation CreateConstructorBodyOperation(
BoundConstructorMethodBody
boundNode)