1 write to Syntax
Microsoft.CodeAnalysis.CSharp (1)
Binder\DecisionDagBuilder.cs (1)
3182
this.
Syntax
= Syntax;
8 references to Syntax
Microsoft.CodeAnalysis.CSharp (8)
Binder\DecisionDagBuilder_CheckOrReachability.cs (2)
600
bool shouldReport = !dag.ReachableLabels.Contains(@case.CaseLabel) && !labelsToIgnore.Contains(@case.CaseLabel) && ShouldWarn(@case.
Syntax
);
603
context.RedundantNodes.Add(@case.
Syntax
);
Binder\DecisionDagBuilder.cs (6)
1652
state.Dag = finalState(first.
Syntax
, first.CaseLabel, first.Bindings);
1660
BoundDecisionDagNode whenTrue = finalState(first.
Syntax
, first.CaseLabel, default);
1664
state.Dag = uniqifyDagNode(new BoundWhenDecisionDagNode(first.
Syntax
, first.Bindings, first.WhenClause, whenTrue, whenFalse));
1937
Index: stateForCase.Index, Syntax: stateForCase.
Syntax
,
2893
builder.Append($"{cd.Index}. [{cd.
Syntax
}] {(cd.PatternIsSatisfied ? "MATCH" : cd.RemainingTests.Dump(dumpDagTest))}");
3227
: new StateForCase(Index,
Syntax
, newRemainingTests, Bindings, WhenClause, CaseLabel);