Reshaper does not recognize my type alias "DataType":
Type 'DataType' is not defined.
However, "DataType" is defined in my project settings and the program works correctly:
=> How can I suppress that specific warning (without disabling other, possibly justified data type warnings)?
I tried to
A. Wrap the corresponding lines with
#Disable Warning BC30002
...
#Enable Warning BC30002
B. Put
'ReSharper disable All
at top of the file.
C.
#Region "No Resharper"
...
#End Region
D. <SuppressMessage("ReSharper", "All")>
None of them worked so far. I would expect a suppression option in the quick fix suggestions. But there is none.
I use VisualStudio 15.7.3 and Resharper 2018.1.2
Related questions: