From 046cb010aa63399283902755c0d4e79b6a995b66 Mon Sep 17 00:00:00 2001 From: Radek Doulik Date: Fri, 22 Dec 2017 23:18:46 +0100 Subject: [PATCH] [Java.Interop] Ignore AvoidMethodWithUnusedGenericTypeRule Looks like Gendarme bug, the TArray is used for the cast, so it is not unused. --- gendarme-ignore.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gendarme-ignore.txt b/gendarme-ignore.txt index 57d11ab55..10a5bac24 100644 --- a/gendarme-ignore.txt +++ b/gendarme-ignore.txt @@ -636,3 +636,7 @@ M: System.Boolean Java.Interop.JniRuntime/JniTypeManager::TryRegisterNativeMembe R: Gendarme.Rules.Performance.AvoidUnsealedConcreteAttributesRule # We would like users to be able to derive from this attribute T: Java.Interop.JniValueMarshalerAttribute + +R: Gendarme.Rules.Design.Generic.AvoidMethodWithUnusedGenericTypeRule +# looks like Gendarme bug, the TArray is used in the cast +M: System.Void Java.Interop.JavaArray`1::DestroyArgumentState(System.Collections.Generic.IList`1,Java.Interop.JniValueMarshalerState&,System.Reflection.ParameterAttributes)