C#: Generic classes should not be considered controllers.

This commit is contained in:
Michael Nebel
2022-07-25 09:35:09 +02:00
parent eed04696a9
commit 72429cb9e8

View File

@@ -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