I would be very grateful for any hints, because I'm struggling to find anything useful online.
I added this into my .csproj file:
<PropertyGroup>
<AnalysisLevel>latest</AnalysisLevel>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="SwitchEnumAnalyzer" Version="1.0.0.4" />
</ItemGroup>
Now I would expect dotnet build to emit warnings about incomplete switch statements in my code. However, I'm not seeing any new output. Am I misunderstanding how the analyzer works?
I would be very grateful for any hints, because I'm struggling to find anything useful online.
I added this into my .csproj file:
Now I would expect
dotnet buildto emit warnings about incomplete switch statements in my code. However, I'm not seeing any new output. Am I misunderstanding how the analyzer works?