1 write to WhenClause
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
4917this.WhenClause = whenClause;
14 references to WhenClause
Microsoft.CodeAnalysis.CSharp (14)
Binder\Binder_Conversions.cs (1)
1994new BoundSwitchExpressionArm(oldCase.Syntax, oldCase.Locals, oldCase.Pattern, oldCase.WhenClause, newValue, oldCase.Label, oldCase.HasErrors);
Binder\DecisionDagBuilder.cs (1)
175builder.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)
372if (node.WhenClause?.ConstantValueOpt != ConstantValue.True) 374this.Visit(node.WhenClause);
FlowAnalysis\NullableWalker_Patterns.cs (2)
925if (!State.Reachable && arm.WhenClause != null) 928VisitForRewriting(arm.WhenClause);
Generated\BoundNodes.xml.Generated.cs (5)
4933if (locals != this.Locals || pattern != this.Pattern || whenClause != this.WhenClause || value != this.Value || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(label, this.Label)) 10306this.Visit(node.WhenClause); 11650BoundExpression? whenClause = (BoundExpression?)this.Visit(node.WhenClause); 13815BoundExpression? whenClause = (BoundExpression?)this.Visit(node.WhenClause); 16257new TreeDumperNode("whenClause", null, new TreeDumperNode[] { Visit(node.WhenClause, null) }),
Operations\CSharpOperationFactory.cs (1)
2733IOperation? guard = Create(boundSwitchExpressionArm.WhenClause);