1 write to AlternativeOpt
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
3904this.AlternativeOpt = alternativeOpt;
15 references to AlternativeOpt
Microsoft.CodeAnalysis.CSharp (15)
Binder\RefSafetyAnalysis.cs (1)
414var alternative = node.AlternativeOpt;
BoundTree\BoundTreeRewriter.cs (2)
299if (node.AlternativeOpt is not BoundIfStatement ifStatement) 312alternative = ifStatement.AlternativeOpt;
BoundTree\BoundTreeWalker.cs (1)
239var alternative = node.AlternativeOpt;
BoundTree\NullabilityRewriter.cs (1)
42var alternative = node.AlternativeOpt;
Compilation\MemberSemanticModel.NodeMapBuilder.cs (1)
321var alternative = node.AlternativeOpt;
FlowAnalysis\AbstractFlowPass.cs (1)
1798var alternative = node.AlternativeOpt;
Generated\BoundNodes.xml.Generated.cs (4)
3916if (condition != this.Condition || consequence != this.Consequence || alternativeOpt != this.AlternativeOpt) 10435this.Visit(node.AlternativeOpt); 11739BoundStatement? alternativeOpt = (BoundStatement?)this.Visit(node.AlternativeOpt); 16364new TreeDumperNode("alternativeOpt", null, new TreeDumperNode[] { Visit(node.AlternativeOpt, null) }),
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
1153var alternative = node.AlternativeOpt;
Lowering\LocalRewriter\LocalRewriter_IfStatement.cs (2)
34var elseIfStatement = node.AlternativeOpt as BoundIfStatement; 39rewrittenAlternative = VisitStatement(node.AlternativeOpt);
Operations\CSharpOperationFactory.cs (1)
1896var alternative = boundIfStatement.AlternativeOpt;