1 write to WhenClause
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
5699this.WhenClause = whenClause;
12 references to WhenClause
Microsoft.CodeAnalysis.CSharp (12)
Binder\DecisionDagBuilder.cs (1)
155builder.Add(MakeTestsForPattern(++i, label.Syntax, rootIdentifier, label.Pattern, label.WhenClause, label.Label));
Binder\SwitchBinder_Patterns.cs (1)
124newLabel = new BoundSwitchLabel(label.Syntax, label.Label, label.Pattern, label.WhenClause, hasErrors: true);
FlowAnalysis\AbstractFlowPass_Switch.cs (2)
63if (label.WhenClause != null) 65VisitCondition(label.WhenClause);
FlowAnalysis\NullableWalker_Patterns.cs (2)
325if (!State.Reachable && label.WhenClause != null) 328VisitForRewriting(label.WhenClause);
Generated\BoundNodes.xml.Generated.cs (4)
5711if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(label, this.Label) || pattern != this.Pattern || whenClause != this.WhenClause) 10397this.Visit(node.WhenClause); 11662BoundExpression? whenClause = (BoundExpression?)this.Visit(node.WhenClause); 16262new TreeDumperNode("whenClause", null, new TreeDumperNode[] { Visit(node.WhenClause, null) }),
Operations\CSharpOperationFactory.cs (2)
2756else if (boundSwitchLabel.WhenClause == null && 2766IOperation? guard = Create(boundSwitchLabel.WhenClause);