Skip to content

Commit c08ea98

Browse files
owen-mcCopilot
andcommitted
Restore C# goto label targets
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent e7d3ae3 commit c08ea98

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

‎csharp/ql/lib/semmle/code/csharp/controlflow/internal/ControlFlowGraph.qll‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -162,11 +162,7 @@ module Ast implements AstSig<Location> {
162162

163163
class Stmt = CS::Stmt;
164164

165-
class LabeledStmt extends Stmt {
166-
LabeledStmt() { none() }
167-
168-
Stmt getStmt() { none() }
169-
}
165+
class LabeledStmt = CS::LabelStmt;
170166

171167
class Expr = CS::Expr;
172168

0 commit comments

Comments
 (0)