Skip to content

Commit

Permalink
[Java.Interop] Ignore AvoidMethodWithUnusedGenericTypeRule (#236)
Browse files Browse the repository at this point in the history
Looks like Gendarme bug, the `TArray` is used for the cast, so it is not
unused.
  • Loading branch information
radekdoulik authored and jonpryor committed Jan 3, 2018
1 parent b0497dd commit 9ab5290
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gendarme-ignore.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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<T>,Java.Interop.JniValueMarshalerState&,System.Reflection.ParameterAttributes)

0 comments on commit 9ab5290

Please sign in to comment.