C#: Add alert suppression comments. Rename e to ex in catch clauses for consistency.

This commit is contained in:
calum
2019-01-11 12:32:24 +00:00
parent fb0cae87a8
commit a44a86bf6f
14 changed files with 31 additions and 31 deletions

View File

@@ -143,7 +143,7 @@ namespace Semmle.Extraction.CIL.Entities
}
}
}
catch (Exception ex)
catch (Exception ex) // lgtm[cs/catch-of-all-exceptions]
{
logger.Log(Severity.Error, string.Format("Exception extracting {0}: {1}", assemblyPath, ex));
}