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
I agree that creating a delegate for a variable doesn't make sense. It would make more sense to remove the After modifier if we can't move the assignment inside the Assert.
If you have code like this:
Changing to
seems to be useless. The variable actualValue will be set only once before the Assert.That call.
It should be e.g.
Can the analyzer be enhanced, so that it does not accept variables as actualValue param in the Assert call? And can the fixer be adapted accordingly?
The text was updated successfully, but these errors were encountered: