1 write to Syntax
Microsoft.CodeAnalysis.CSharp (1)
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.ValueDispatchNode.cs (1)
30public ValueDispatchNode(SyntaxNode syntax) => Syntax = syntax;
10 references to Syntax
Microsoft.CodeAnalysis.CSharp (10)
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs (8)
631return new ValueDispatchNode.SwitchDispatch(sd.Syntax, sd.Cases.Concat(cases), sd.Otherwise); 678var test = MakeRelationalTest(rel.Syntax, input, rel.Operator, rel.Value); 770EnsureStringHashFunction(node.Cases.Length, node.Syntax, stringPatternInput); 776_localRewriter.TryGetSpecialTypeMethod(node.Syntax, SpecialMember.System_String__op_Equality, out _); 780var dispatch = new BoundSwitchDispatch(node.Syntax, input, node.Cases, defaultLabel, lengthBasedDispatchOpt); 806var dispatch = new BoundSwitchDispatch(node.Syntax, input, cases, defaultLabel, lengthBasedStringSwitchDataOpt: null); 830_loweredDecisionDag.Add(_factory.ConditionalGoto(MakeValueTest(node.Syntax, input, cases[i].value), cases[i].label, jumpIfTrue: true)); 839_loweredDecisionDag.Add(_factory.ConditionalGoto(MakeRelationalTest(node.Syntax, input, lessThanOrEqualOperator, cases[firstIndex + half - 1].value), gt, jumpIfTrue: false));
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.ValueDispatchNode.cs (2)
152(syntax, value, op, left, right) = (l.Syntax, l.Value, l.Operator, l.Left, newRight); 158(syntax, value, op, left, right) = (r.Syntax, r.Value, r.Operator, newLeft, r.Right);