Skip to content

False compile error: Use of unassigned local variable even when code is correct #3338

@CzBuCHi

Description

@CzBuCHi

Describe the bug
Created simple project where stryker throws compile error for valid code -> threads code as 'noCoverage' -> invalid report

Logs
Zip file contains test solution and result of dotnet stryker -L > console.txt command

Expected behavior
No error

Desktop (please complete the following information):

  • OS: Windows 11
  • Framework Version net4.8 and net 8.0
  • Stryker Version 4.8.1

Additional context
Test solution: Test.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions