Skip to content

Commit

Permalink
Merge pull request #683 from phongphanq/CastleDynamicProxyFactory_Has…
Browse files Browse the repository at this point in the history
…Item_true_when_array_is_null

CastleDynamicProxyFactory_HasItem_true_when_array_is_null
  • Loading branch information
dtchepak authored Jul 9, 2022
2 parents 1cefed8 + 7ff4994 commit 8d00402
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ private static void VerifyClassHasNotBeenPassedAsAnAdditionalInterface(Type[]? a
}
}

private static bool HasItems<T>(T[]? array) => array?.Length != 0;
private static bool HasItems<T>(T[]? array) => array?.Length > 0;

private class AllMethodsExceptCallRouterCallsHook : AllMethodsHook
{
Expand Down

0 comments on commit 8d00402

Please sign in to comment.