Skip to content

Commit 5c7b24d

Browse files
committed
Fixes IsStatic() extension method.
1 parent 0abd3b1 commit 5c7b24d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TestStack.ConventionTests/ConventionData/TypeExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public static bool IsEnum(this Type type)
2222

2323
public static bool IsStatic(this Type type)
2424
{
25-
return type.IsClass && !(type.IsSealed && type.IsAbstract);
25+
return type.IsClass && type.IsSealed && type.IsAbstract;
2626
}
2727

2828
public static bool IsCompilerGenerated(this Type type)

0 commit comments

Comments
 (0)