If you double-click the project node in Solution Explorer, you will see the project's details in XML format. There is a <ImplicitUsings>enable</ImplicitUsings>
element, which is related to a new feature — "Implicit Usings":
- https://learn.microsoft.com/en-us/dotnet/core/project-sdk/msbuild-props#implicitusings
- https://www.hanselman.com/blog/implicit-usings-in-net-6
You can change it to disable to see the effect.