C#: Fix CIL trap file writing in debug mode

This commit is contained in:
Tamas Vajk
2020-12-01 16:57:17 +01:00
parent 6e6cd05787
commit ba56993396

View File

@@ -77,7 +77,7 @@ namespace Semmle.Extraction
{
if (idLabelCache.ContainsKey(id))
{
ExtractionError("Label collision for " + id, entity.Label.ToString(), Entities.Location.Create(this, entity.ReportingLocation), "", Severity.Warning);
this.Extractor.Message(new Message("Label collision for " + id, entity.Label.ToString(), Entities.Location.Create(this, entity.ReportingLocation), "", Severity.Warning));
}
else
{