1 write to WhenClause
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
4803this.WhenClause = whenClause;
14 references to WhenClause
Microsoft.CodeAnalysis.CSharp (14)
Binder\Binder_Conversions.cs (1)
467new BoundSwitchExpressionArm(oldCase.Syntax, oldCase.Locals, oldCase.Pattern, oldCase.WhenClause, newValue, oldCase.Label, oldCase.HasErrors);
Binder\DecisionDagBuilder.cs (1)
172builder.Add(MakeTestsForPattern(++i, arm.Syntax, rootIdentifier, arm.Pattern, arm.WhenClause, arm.Label));
FlowAnalysis\AbstractFlowPass_Switch.cs (2)
171if (arm.WhenClause != null) 173VisitCondition(arm.WhenClause);
FlowAnalysis\NullableWalker.DebugVerifier.cs (2)
255if (node.WhenClause?.ConstantValueOpt != ConstantValue.True) 257this.Visit(node.WhenClause);
FlowAnalysis\NullableWalker_Patterns.cs (2)
885if (!State.Reachable && arm.WhenClause != null) 888VisitForRewriting(arm.WhenClause);
Generated\BoundNodes.xml.Generated.cs (5)
4819if (locals != this.Locals || pattern != this.Pattern || whenClause != this.WhenClause || value != this.Value || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(label, this.Label)) 9910this.Visit(node.WhenClause); 11127BoundExpression? whenClause = (BoundExpression?)this.Visit(node.WhenClause); 13162BoundExpression? whenClause = (BoundExpression?)this.Visit(node.WhenClause); 15510new TreeDumperNode("whenClause", null, new TreeDumperNode[] { Visit(node.WhenClause, null) }),
Operations\CSharpOperationFactory.cs (1)
2588IOperation? guard = Create(boundSwitchExpressionArm.WhenClause);