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

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