Don't understand this message

i'm working on a Windows Forms VB solution. In the code, the cursor is manipulated the following way:

screenshot.jpg
Why does R# gives this warning? Is this assignment really problematic or is it another false positive message from the analyzer?

Regards
Klaus

3 comments

Please could you provide the solution demonstrating this problem?  From the given line it is not clear what happens.

0

Hi Evgeny,

I attached a small sample solution which shows the problem.

Regards
Klaus



Attachment(s):
TestCursor.zip
0

Please sign in to leave a comment.