Many years ago, I asked for ParseTemplateAndGetArgumentNames and my wish was granted. However somewhere along the way it got broken.
Steps to reproduce:
foreach( var a in TemplateParser.ParseTemplateAndGetArgumentNames("#{a.b.c}"))
{
Console.WriteLine(a);
}
What I'm expecting to see:
What I'm actually seeing:
The templating engine still correctly treats a.b.c as a single var, but ParseTemplateAndGetArgumentNames regressed somewhere and returns wrong result.