public override AstVisitAction VisitCommandParameter(CommandParameterAst commandParameterAst) { if (commandParameterAst.ToString().Contains(symbolRef.ScriptRegion.Text)) { ValidateExtend(symbolRef.ScriptRegion.Text, commandParameterAst.ParameterName, commandParameterAst); } return(base.VisitCommandParameter(commandParameterAst)); }
public override AstVisitAction VisitCommandParameter(CommandParameterAst commandParameterAst) { Console.WriteLine("Visited an CommandParameterAst."); Console.WriteLine(" " + commandParameterAst.ToString().Replace(Environment.NewLine, Environment.NewLine + " ")); return(AstVisitAction.Continue); }