Skip to content

Upgrading CLI to 0.8.5 yields NullReferenceException #1444

@ArwynFr

Description

@ArwynFr

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions