Reputation: 29
I'd like to know if there is a way yet to disable the CS1514 Error Warning for Visual Studio 2022 Preview.
Beginning with C#10.0 (https://learn.microsoft.com/en-us/dotnet/csharp/fundamentals/types/namespaces) namespaces can be declared like this:
namespace SampleNamespace;
without braces but visual studio 2022 preview still shows this as an error. I understand that this is a new feature but is there a way to disable the warning for this, like #pragma warning disable or something like that?
Upvotes: 0
Views: 1943