Skip to content

Is there a way to disable diagnostics for a particular method? #583

Closed Answered by latonz
baynezy asked this question in Q&A
Discussion options

You must be logged in to vote

You should be able to do so with preprocessor directives.

#pragma warning disable RMG020
// ... method ...
#pragma warning restore RMG020

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@baynezy
Comment options

Answer selected by baynezy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants