Skip to content

Commit ba56993

Browse files
committed
C#: Fix CIL trap file writing in debug mode
1 parent 6e6cd05 commit ba56993

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

csharp/extractor/Semmle.Extraction/Context.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ private void CheckEntityHasUniqueLabel(string id, ICachedEntity entity)
7777
{
7878
if (idLabelCache.ContainsKey(id))
7979
{
80-
ExtractionError("Label collision for " + id, entity.Label.ToString(), Entities.Location.Create(this, entity.ReportingLocation), "", Severity.Warning);
80+
this.Extractor.Message(new Message("Label collision for " + id, entity.Label.ToString(), Entities.Location.Create(this, entity.ReportingLocation), "", Severity.Warning));
8181
}
8282
else
8383
{

0 commit comments

Comments
 (0)