File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
csharp/ql/lib/semmle/code/csharp Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ class BlockStmt extends Stmt, @block_stmt {
75
75
76
76
/** Holds if this block is the container of the global statements. */
77
77
predicate isGlobalStatementContainer ( ) {
78
- this .getEnclosingCallable ( ) .hasQualifiedName ( "< Program>$ .<Main>$" )
78
+ this .getEnclosingCallable ( ) .hasQualifiedName ( "Program.<Main>$" )
79
79
}
80
80
81
81
override Stmt stripSingletonBlocks ( ) {
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ class MainMethod extends Method {
8
8
(
9
9
this .hasName ( "Main" )
10
10
or
11
- this .hasQualifiedName ( "< Program>$" , " <Main>$")
11
+ this .hasQualifiedName ( "Program. <Main>$" )
12
12
) and
13
13
this .isStatic ( ) and
14
14
( this .getReturnType ( ) instanceof VoidType or this .getReturnType ( ) instanceof IntType ) and
You can’t perform that action at this time.
0 commit comments