summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2019-11-26 17:35:29 -0300
committerLauro Moura <lauromoura@expertisesolutions.com.br>2019-12-03 18:21:43 -0300
commit6d10db606f9f22d13ca8175a6547de2a527b5418 (patch)
treee7520502d8a059cc96b23c610853a075551be0e4
parent251703fcfe904b2c1b42ee1d2058916a97a3278f (diff)
downloadefl-devs/lauromoura/CA1801.tar.gz
WIP - suppress PD issuesdevs/lauromoura/CA1801
-rw-r--r--src/bin/eolian_mono/eolian/mono/function_definition.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/eolian_mono/eolian/mono/function_definition.hh b/src/bin/eolian_mono/eolian/mono/function_definition.hh
index e2c91f4de1..4e01c300e3 100644
--- a/src/bin/eolian_mono/eolian/mono/function_definition.hh
+++ b/src/bin/eolian_mono/eolian/mono/function_definition.hh
@@ -124,6 +124,7 @@ struct native_function_definition_generator
if(!as_generator
(indent << "[SuppressMessage(\"Microsoft.Reliability\", \"CA2000:DisposeObjectsBeforeLosingScope\", Justification = \"The instantiated objects can be stored in the called Managed API method.\")]\n"
+ << indent << "[SuppressMessage(\"Microsoft.Usage\", \"CA1801:ReviweUnusedParameters\", Justification = \"The parameter \\\"pd\\\" is a requirement from the C API wrapped by this method.\")]\n"
<< indent << "private static "
<< eolian_mono::marshall_type(true) << " "
<< string