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
Seems to me that we're getting the false positive because we're looking for ancestors of A<int>._, looking for the first InvocationExpressionSyntax, which is A.CallTo(() => fake[A<int>._]), but there's an intervening ElementAccessExpressionSyntax node (fake[A<int>._]) that should have stopped us walking up the tree.
In VB.NET, the equivalent node is an InvocationExpressionSyntax (fake(A(Of Integer).Ignored).)
Yes, so the issue should only happen for C#, not VB.
I can fix it when I get back, so the fix can be included in 3.3.0 (unless you want to do it of course)
You are probably all vacationy so didn't notice that I self-assigned and marked in-progress. I am on top of this!
I enjoy an opportunity to demonstrate my complete lack of understanding of analyzer issues, submit a fix, and have you tell me it's wrong!
Srsly, though, I'll upload a commit in a few minutes.
Found in the Nancy codebase.
Can be reproduced by
The text was updated successfully, but these errors were encountered: