C#: Refactor extractor errors and log extractor errors to the database.

This commit is contained in:
calum
2019-03-25 13:49:40 +00:00
committed by Calum Grant
parent e1158bb5e5
commit 343cddcbb7
41 changed files with 367 additions and 194 deletions

View File

@@ -291,7 +291,7 @@ namespace Semmle.Extraction.CSharp.Entities
case MethodKind.LocalFunction:
return LocalFunction.Create(cx, methodDecl);
default:
throw new InternalError(methodDecl, "Unhandled method '{0}' of kind '{1}'", methodDecl, methodDecl.MethodKind);
throw new InternalError(methodDecl, $"Unhandled method '{methodDecl}' of kind '{methodDecl.MethodKind}'");
}
}