mirror of
https://github.com/github/codeql.git
synced 2026-04-30 03:05:15 +02:00
C#: Refactor extractor errors and log extractor errors to the database.
This commit is contained in:
@@ -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}'");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user