public override void VisitLiteralExpression(LiteralExpressionSyntax node) { if (!visitingStringFormat && StringInterpolation.Qualifies(node)) { result.Add(node, new StringInterpolation(model, node, visitingConstant)); } base.VisitLiteralExpression(node); }
public void Add(LiteralExpressionSyntax node, StringInterpolation interpolation) { interpolations.Add(node, interpolation); }