Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15705

IDE0059 Unnecessary assignment of a value...

$
0
0
So are you ever developing code and you want to know if your call to TableAdapter.Update() worked so you throw int rc = ta.Update() in front of it to check it when you run and then you leave it there because what if you come back to debug that code later? Am I supposed to either remove all these or remove the rule so I don't get the IDE0059 message? Or just look at them and let them be if I know they're okay/intentional?

Viewing all articles
Browse latest Browse all 15705

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>