Closed Vannevelj closed 7 years ago
Verify that the == true simplifier doesn't fire for nullable bools.
== true
We already have tests for this: https://github.com/VSDiagnostics/VSDiagnostics/blob/develop/VSDiagnostics/VSDiagnostics/VSDiagnostics.Test/Tests/General/CompareBooleanToTrueLiteralTests.cs#L595
https://github.com/VSDiagnostics/VSDiagnostics/blob/develop/VSDiagnostics/VSDiagnostics/VSDiagnostics.Test/Tests/General/CompareBooleanToFalseLiteralTests.cs#L506
We should make an issue for merging these two analyzers, however.
Perhaps they should've been but it's not an important enough issue to change now
Verify that the
== true
simplifier doesn't fire for nullable bools.