diff options
author | Lauro Moura <lauromoura@expertisesolutions.com.br> | 2019-11-26 17:35:29 -0300 |
---|---|---|
committer | Lauro Moura <lauromoura@expertisesolutions.com.br> | 2019-12-03 18:21:43 -0300 |
commit | 6d10db606f9f22d13ca8175a6547de2a527b5418 (patch) | |
tree | e7520502d8a059cc96b23c610853a075551be0e4 | |
parent | 251703fcfe904b2c1b42ee1d2058916a97a3278f (diff) |
WIP - suppress PD issuesdevs/lauromoura/CA1801
-rw-r--r-- | src/bin/eolian_mono/eolian/mono/function_definition.hh | 1 |
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 | |||
124 | 124 | ||
125 | if(!as_generator | 125 | if(!as_generator |
126 | (indent << "[SuppressMessage(\"Microsoft.Reliability\", \"CA2000:DisposeObjectsBeforeLosingScope\", Justification = \"The instantiated objects can be stored in the called Managed API method.\")]\n" | 126 | (indent << "[SuppressMessage(\"Microsoft.Reliability\", \"CA2000:DisposeObjectsBeforeLosingScope\", Justification = \"The instantiated objects can be stored in the called Managed API method.\")]\n" |
127 | << indent << "[SuppressMessage(\"Microsoft.Usage\", \"CA1801:ReviweUnusedParameters\", Justification = \"The parameter \\\"pd\\\" is a requirement from the C API wrapped by this method.\")]\n" | ||
127 | << indent << "private static " | 128 | << indent << "private static " |
128 | << eolian_mono::marshall_type(true) << " " | 129 | << eolian_mono::marshall_type(true) << " " |
129 | << string | 130 | << string |