Skip to content

Commit 04bacf4

Browse files
authored
Merge pull request #4760 from tamasvajk/feature/cil-debug-build
C#: Fix CIL trap file writing in debug mode
2 parents e266ced + ba56993 commit 04bacf4

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)