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)
8939var 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)
3745public override BoundNode VisitNonConstructorMethodBody(BoundNonConstructorMethodBody node)
Generated\BoundNodes.xml.Generated.cs (8)
8935public BoundNonConstructorMethodBody Update(BoundBlock? blockBody, BoundBlock? expressionBody) 8939var result = new BoundNonConstructorMethodBody(this.Syntax, blockBody, expressionBody, this.HasErrors); 9541return VisitNonConstructorMethodBody((BoundNonConstructorMethodBody)node, arg); 9790public virtual R VisitNonConstructorMethodBody(BoundNonConstructorMethodBody node, A arg) => this.DefaultVisit(node, arg); 10031public virtual BoundNode? VisitNonConstructorMethodBody(BoundNonConstructorMethodBody node) => this.DefaultVisit(node); 11068public override BoundNode? VisitNonConstructorMethodBody(BoundNonConstructorMethodBody node) 12666public override BoundNode? VisitNonConstructorMethodBody(BoundNonConstructorMethodBody node) 17649public 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)