mirror of
https://github.com/github/codeql.git
synced 2026-05-04 13:15:21 +02:00
C#: Generic classes should not be considered controllers.
This commit is contained in:
@@ -205,7 +205,7 @@ class MicrosoftAspNetCoreMvcController extends Class {
|
||||
) and
|
||||
this.isPublic() and
|
||||
not this.isAbstract() and
|
||||
not this.containsTypeParameters() and
|
||||
not this instanceof Generic and
|
||||
(
|
||||
this.getABaseType*() instanceof MicrosoftAspNetCoreMvcControllerBaseClass
|
||||
or
|
||||
|
||||
Reference in New Issue
Block a user