You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Category: Design
Default severity: Info
Enabled by default: true
Use cases: The rule should trigger a diagnostic when a conditional is used inside some assertion (e.g. Assert.AreEqual(a?.B, "ok")) and should recommend to split the call into 2 assertions (e.g. Assert.IsNotNull(a) and then Assert.AreEqual(a.B, "ok")).
AB#2051848
The text was updated successfully, but these errors were encountered:
Category: Design
Default severity: Info
Enabled by default: true
Use cases: The rule should trigger a diagnostic when a conditional is used inside some assertion (e.g.
Assert.AreEqual(a?.B, "ok")
) and should recommend to split the call into 2 assertions (e.g.Assert.IsNotNull(a)
and thenAssert.AreEqual(a.B, "ok")
).AB#2051848
The text was updated successfully, but these errors were encountered: