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