Home

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

Sign In or Register to comment.