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