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.
2 parents 1cefed8 + 7ff4994 commit 8d00402Copy full SHA for 8d00402
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