Closed dupdob closed 4 months ago
@dupdob while I think it's good to have proper nullable code anyway, wouldn't we want to explicitly disable nullable for the injected code? #nullable disable
Or does that not work on older target frameworks?
you guessed right: it was the first thing I attempted, the pragma raises an error for pre CSharp 8. I did a couple of quick fixes (ensuring explicit initialization of fields), but I mainly disabled the warning. plus added a specific unit test
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
Ensure MutationControl class, which is injected into mutated code, compiles without warnings with 'nullable' option on while remaining compatible with C# 2 Fix issue #2867