Skip to content

Commit d8176bc

Browse files
committed
C#: Change TrapStackBehaviour of local functions
1 parent 724baaf commit d8176bc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

csharp/extractor/Semmle.Extraction.CSharp/Entities/LocalFunction.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,7 @@ public override void Populate(TextWriter trapFile)
5151
trapFile.local_functions(this, symbol.Name, returnType, originalDefinition);
5252
ExtractRefReturn(trapFile);
5353
}
54+
55+
public override TrapStackBehaviour TrapStackBehaviour => TrapStackBehaviour.NeedsLabel;
5456
}
5557
}

0 commit comments

Comments
 (0)