1 write to WhenClause
Microsoft.CodeAnalysis.CSharp (1)
Binder\DecisionDagBuilder.cs (1)
1849
this.
WhenClause
= WhenClause;
7 references to WhenClause
Microsoft.CodeAnalysis.CSharp (7)
Binder\DecisionDagBuilder.cs (7)
981
state.Dag = uniqifyDagNode(new BoundWhenDecisionDagNode(first.Syntax, first.Bindings, first.
WhenClause
, whenTrue, whenFalse));
1173
Bindings: stateForCase.Bindings, WhenClause: stateForCase.
WhenClause
, CaseLabel: stateForCase.CaseLabel));
1689
if (cd.
WhenClause
is { })
1691
builder.Append($" WHEN[{cd.
WhenClause
.Syntax}]");
1856
public bool IsFullyMatched => RemainingTests is Tests.True && (
WhenClause
is null ||
WhenClause
.ConstantValueOpt == ConstantValue.True);
1893
: new StateForCase(Index, Syntax, newRemainingTests, Bindings,
WhenClause
, CaseLabel);