Example #1
0
        public override void VisitLiteralExpression(LiteralExpressionSyntax node)
        {
            if (!visitingStringFormat && StringInterpolation.Qualifies(node))
            {
                result.Add(node, new StringInterpolation(model, node, visitingConstant));
            }

            base.VisitLiteralExpression(node);
        }
Example #2
0
 public void Add(LiteralExpressionSyntax node, StringInterpolation interpolation)
 {
     interpolations.Add(node, interpolation);
 }
Example #3
0
 public void Add(LiteralExpressionSyntax node, StringInterpolation interpolation)
 {
     interpolations.Add(node, interpolation);
 }