1 write to WhenClause
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
4914
this.
WhenClause
= whenClause;
13 references to WhenClause
Microsoft.CodeAnalysis.CSharp (13)
Binder\DecisionDagBuilder.cs (1)
175
builder.Add(MakeTestsForPattern(++i, arm.Syntax, rootIdentifier, arm.Pattern, arm.
WhenClause
, arm.Label));
FlowAnalysis\AbstractFlowPass_Switch.cs (2)
171
if (arm.
WhenClause
!= null)
173
VisitCondition(arm.
WhenClause
);
FlowAnalysis\NullableWalker.DebugVerifier.cs (2)
372
if (node.
WhenClause
?.ConstantValueOpt != ConstantValue.True)
374
this.Visit(node.
WhenClause
);
FlowAnalysis\NullableWalker_Patterns.cs (2)
925
if (!State.Reachable && arm.
WhenClause
!= null)
928
VisitForRewriting(arm.
WhenClause
);
Generated\BoundNodes.xml.Generated.cs (5)
4930
if (locals != this.Locals || pattern != this.Pattern || whenClause != this.
WhenClause
|| value != this.Value || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(label, this.Label))
10267
this.Visit(node.
WhenClause
);
11522
BoundExpression? whenClause = (BoundExpression?)this.Visit(node.
WhenClause
);
13629
BoundExpression? whenClause = (BoundExpression?)this.Visit(node.
WhenClause
);
16070
new TreeDumperNode("whenClause", null, new TreeDumperNode[] { Visit(node.
WhenClause
, null) }),
Operations\CSharpOperationFactory.cs (1)
2733
IOperation? guard = Create(boundSwitchExpressionArm.
WhenClause
);