Upgrading CLI to 0.8.5 yields NullReferenceException
ArwynFr opened this issue · comments
Adrien Hupond commented
Product and Version Used: Roslynator CLI 0.8.5
Steps to Reproduce: https://github.com/ArwynFr/dotnet-integration-testing/actions/runs/8696430966/job/23849664701?pr=28
Actual Behavior:
> /usr/bin/dotnet tool run roslynator analyze
---> System.NullReferenceException: Object reference not set to an instance of an object.
at Roslynator.Diagnostics.CodeAnalyzer.<>c__DisplayClass13_0.<FilterDiagnostics>b__0(SyntaxTrivia f) in /_/src/Workspaces.Core/Diagnostics/CodeAnalyzer.cs:line 219
Expected Behavior:
> /usr/bin/dotnet tool run roslynator analyze
Analyzed solution 'xxxx' (in 4,7 s)
10 CS8019 Directive using non nécessaire
10 diagnostics found