Call to constructor

Author: LGTM

import csharp
from ThrowStmt throw
where throw.getThrownExceptionType().getBaseClass*().hasQualifiedName("System.IO.IOException")
select throw

Description

Finds places where we call 'new System.Exception(...)'.