Newest roslyn not being used?
C# 13 introduced some new syntax: class A<T> where T : allows ref struct;
With LINQPad 8 & .NET 9 RC2 installed, I have .NET 9 selected as target framework and checkbox set for Enable C# preview features. However, the above syntax is still unrecognized in the query and generates compiler errors, which makes me believe it's actually not using latest .NET Roslyn.
Comments
You might need a beta version.
That's one of the samples on my version v8.4.6