Call to constructor
Author: LGTM
import csharp
from ThrowStmt throw
where throw.getThrownExceptionType().getBaseClass*().hasQualifiedName("System.IO.IOException")
select throwDescription
Finds places where we call 'new System.Exception(...)'.
import csharp
from ThrowStmt throw
where throw.getThrownExceptionType().getBaseClass*().hasQualifiedName("System.IO.IOException")
select throwFinds places where we call 'new System.Exception(...)'.