Release Notes for Analyzers: December 3, 2022
Today we shipped the xUnit.net Analyzers package 1.1.0. This package contains
a few targeted bug fixes, and is compatible with xUnit.net v2 2.4.2.
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 reflect the entirety of the changes between 1.0.0 and 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