Analyzers 1.1.0 2022 December 3
Today, we're shipping one new release:
- xUnit.net Analyzers
1.1.0
It's been 4 months since the release of 1.0.0.
As always, we'd like to thank all the users who contributed to the success of xUnit.net through usage, feedback, and code. 🎉
Important
By default, adding a reference to the xunit version 2.4.2 package will pull in xunit.analyzers version 1.0.0; you can upgrade to the newer Analyzers package by taking an explicit package reference against version 1.1.0. See this project for an example.
Release Notes
These release notes are a comprehensive list of changes from 1.0.0 to 1.1.0.
Usage Analyzers
- Fixed an issue with xUnit1033 where the analyzers was incorrectly detecting a missing fixture when the constructor had more than one parameter. xunit/xunit#2567
Assertion Analyzers
Fixed an issue with xUnit2002 that incorrectly flagged implicit casts from non-nullable types to nullable types as though the value were still non-nullable. xunit/xunit#2395
Fixed an issue with xUnit2005 was not correctly triggering when one of the two values was a non-nullable value (it was checking for both being non-nullable values). xunit/xunit#2560