Version Used: Visual Studio 2022 17.0.4
Steps to Reproduce:
Create a new project and paste the following code:
using System;
[assembly: Test<int>]
class TestAttribute<T> : Attribute
{
}
Expected Behavior:
Visual Studio would display error CS8652 and suggest to set the language version to preview.
Actual Behavior:
Visual Studio does display the error but doesn't offer to fix the language version. Since we can't change it visually from the Properties page, we have to directly edit the project file.
Version Used: Visual Studio 2022 17.0.4
Steps to Reproduce:
Create a new project and paste the following code:
Expected Behavior:
Visual Studio would display error CS8652 and suggest to set the language version to
preview.Actual Behavior:
Visual Studio does display the error but doesn't offer to fix the language version. Since we can't change it visually from the Properties page, we have to directly edit the project file.