Closed laazyj closed 11 years ago
http://stackoverflow.com/a/7137686/149264
"Annotations + SubjectAttribute (even without custom naming rules) prevent ReSharper from marking MSpec's fields as unused. Alternatively, disable warning 169 in the project settings."
Ah yeah. It seems that enabling the MSpec code annotations is one setting that isn't persisted when you update the plugin version - I already had the correct code style rules in place.
Using Visual Studio 2012 with ReSharper 8.0. MSpec plugin: 0.5.14-beta1
ReSharper is highlighting all specifications in my test contexts as 'unused fields'. I didn't observe the same behaviour with R# 7.1 + MSpec 0.5.12 plugin