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.
1 parent 56055bd commit 3d281fbCopy full SHA for 3d281fb
csharp/ql/lib/semmle/code/csharp/frameworks/microsoft/AspNetCore.qll
@@ -199,7 +199,7 @@ class MicrosoftAspNetCoreMvcController extends Class {
199
MicrosoftAspNetCoreMvcController() {
200
(
201
this.getABaseType*() instanceof MicrosoftAspNetCoreMvcControllerBaseClass or
202
- this.getABaseType*().hasName("%Controller") or
+ this.getABaseType*().getName().matches("%Controller") or
203
this.getABaseType*().getAnAttribute() instanceof MicrosoftAspNetCoreMvcControllerAttribute
204
) and
205
not this.getABaseType*().getAnAttribute() instanceof
0 commit comments