Exemplo n.º 1
0
        public override void VisitInterpolatedStringExpression(InterpolatedStringExpressionSyntax node)
        {
            var interpolation = EnvironmentVariableInterpolation.Match(model, node);

            if (interpolation != null)
            {
                result.Add(node, interpolation);
            }

            base.VisitInterpolatedStringExpression(node);
        }
Exemplo n.º 2
0
        public override void VisitLiteralExpression(LiteralExpressionSyntax node)
        {
            var interpolation = EnvironmentVariableInterpolation.Match(model, node, visitingConstant);

            if (interpolation != null)
            {
                result.Add(node, interpolation);
            }

            base.VisitLiteralExpression(node);
        }