RSPR-233912 closed, but i have the problem in current build (2113)
The issue RSRP-233912 was closed because it can' t reproduced by you. I've installed build 2113 this morning and the problem lasts for me. I have mentioned this issue in the following thread
How to surpress warnings from R# code analysis
The problem is, that i did not get the option to supress the warning via an attribute in the Quickfix popup as it was in 5.x. Please reopen the issue.
Regards
Klaus
Please sign in to leave a comment.
Here is an example screenshot that shows what i mean:

I'm missing the option "Surpress warning..." as it was in R# 5.x in the Quickfix popup
Regards
Klaus
Hello Klaus,
Do I understand correctly that the problem is twofold:
1. The warning is incorrect
2. The warning cannot be suppressed
Thank you!
Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Hello Andrey,
the warning is correct in principle, but not in the code context. Here is the complete piece of code:
The mCommodity instance is a wrapper around a legacy object written in C++ which implements a data access layer in a database oriented way (tables and records). I have to code a For loop to iterate through the records (can't use foreach because IEnumerable is not implemented) but never use the iteration variable inside the loop.
R# 5.x had a quickfix to surpress the warning only for a special occurence either via a special comment or an attribute (i can't remember and have no 5.x installation to check this). This quickfix i'm missing.
Regards
Klaus