We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6ce8c1 commit 7ff4994Copy full SHA for 7ff4994
src/NSubstitute/Proxies/CastleDynamicProxy/CastleDynamicProxyFactory.cs
@@ -164,7 +164,7 @@ private static void VerifyClassHasNotBeenPassedAsAnAdditionalInterface(Type[]? a
164
}
165
166
167
- private static bool HasItems<T>(T[]? array) => array?.Length != 0;
+ private static bool HasItems<T>(T[]? array) => array?.Length > 0;
168
169
private class AllMethodsExceptCallRouterCallsHook : AllMethodsHook
170
{
0 commit comments