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 9bb501c commit 9c2ca93Copy full SHA for 9c2ca93
csharp/ql/src/semmle/code/csharp/commons/Util.qll
@@ -8,7 +8,7 @@ class MainMethod extends Method {
8
(
9
this.hasName("Main")
10
or
11
- this.hasQualifiedName("<Program>$.<Main>$")
+ this.hasQualifiedName("<Program>$", "<Main>$")
12
) and
13
this.isStatic() and
14
(this.getReturnType() instanceof VoidType or this.getReturnType() instanceof IntType) and
0 commit comments