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