-
I have enabled diagnostics as indicated in the documentation.
This works as expected. Is there a way to disable this at a method level? My goal is that I turn it on at a global level, but indicate that I am fine if it is not processed for a particular method. |
Beta Was this translation helpful? Give feedback.
Answered by
latonz
Jul 19, 2023
Replies: 1 comment 1 reply
-
You should be able to do so with preprocessor directives. #pragma warning disable RMG020
// ... method ...
#pragma warning restore RMG020 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
baynezy
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You should be able to do so with preprocessor directives.
#pragma warning disable RMG020 // ... method ... #pragma warning restore RMG020