Is it possible to disable InconsistentlySynchronizedField for a specific field?

Completed

I have a class field that is used inside and outside of synchronized blocks (logging instance) and Resharper is correct warning me with the InconsistentlySynchronizedField warning. 

 

Is it possible to disable this warning on a field by field rather than the whole class (as I have done atm because it's used a lot)?

If not, a possible feature request?

 

1 comment
Comment actions Permalink
Official comment

Hello Shane,

It is not possible right now, there is the same ticket in YouTrack https://youtrack.jetbrains.com/issue/RSRP-459072. You are welcome to vote for it.

Thanks! 

Please sign in to leave a comment.