3 instantiations of BoundNonConstructorMethodBody
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_Statements.cs (2)
3764return new BoundNonConstructorMethodBody(compilationUnit, 4143return new BoundNonConstructorMethodBody(declaration,
Generated\BoundNodes.xml.Generated.cs (1)
8941var result = new BoundNonConstructorMethodBody(this.Syntax, blockBody, expressionBody, this.HasErrors);
14 references to BoundNonConstructorMethodBody
Microsoft.CodeAnalysis.CSharp (14)
Binder\RefSafetyAnalysis.cs (1)
312BoundNonConstructorMethodBody methodBody => methodBody.BlockBody != node && methodBody.ExpressionBody != node,
Compiler\MethodCompiler.cs (2)
2036var nonConstructor = (BoundNonConstructorMethodBody)methodBody;
FlowAnalysis\AbstractFlowPass.cs (1)
3754public override BoundNode VisitNonConstructorMethodBody(BoundNonConstructorMethodBody node)
Generated\BoundNodes.xml.Generated.cs (8)
8937public BoundNonConstructorMethodBody Update(BoundBlock? blockBody, BoundBlock? expressionBody) 8941var result = new BoundNonConstructorMethodBody(this.Syntax, blockBody, expressionBody, this.HasErrors); 9543return VisitNonConstructorMethodBody((BoundNonConstructorMethodBody)node, arg); 9792public virtual R VisitNonConstructorMethodBody(BoundNonConstructorMethodBody node, A arg) => this.DefaultVisit(node, arg); 10033public virtual BoundNode? VisitNonConstructorMethodBody(BoundNonConstructorMethodBody node) => this.DefaultVisit(node); 11070public override BoundNode? VisitNonConstructorMethodBody(BoundNonConstructorMethodBody node) 12668public override BoundNode? VisitNonConstructorMethodBody(BoundNonConstructorMethodBody node) 17652public override TreeDumperNode VisitNonConstructorMethodBody(BoundNonConstructorMethodBody node, object? arg) => new TreeDumperNode("nonConstructorMethodBody", null, new TreeDumperNode[]
Operations\CSharpOperationFactory.cs (2)
260return CreateMethodBodyOperation((BoundNonConstructorMethodBody)boundNode); 358private IMethodBodyOperation CreateMethodBodyOperation(BoundNonConstructorMethodBody boundNode)