Skip to content

Commit a6e4ec4

Browse files
committed
C#: Remove requirement that a controller is not allowed to be abstract.
1 parent 9f66517 commit a6e4ec4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

csharp/ql/lib/semmle/code/csharp/frameworks/microsoft/AspNetCore.qll

-1
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,6 @@ class MicrosoftAspNetCoreMvcController extends Class {
205205
)
206206
) and
207207
this.isPublic() and
208-
(not this.isAbstract() or this instanceof MicrosoftAspNetCoreMvcControllerBaseClass) and
209208
not this instanceof Generic and
210209
(
211210
this.getABaseType*() instanceof MicrosoftAspNetCoreMvcControllerBaseClass

0 commit comments

Comments
 (0)