News for hackers. Stuff that matters.
Re:C# 6: First reactions by sebastienros on Saturday April 05, 2014 @12:55PM (#7537589)
To answer this, the nice thing with Roslyn that is not explain in this blog is that it's also an API that you can extend with plugins. You project can contains them and they will have access to the AST at compile time, altering the compiled logic.

So in your example you could create one to detect your attribute and inject custom logic instead. You can unleash the full power of AOP at the compilation level.

Re:C# 6: First reactions by gambler on Saturday April 05, 2014 @01:18PM (#7537670)
I'll probably try that, but I'm worried about maintainability of such solutions.