mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Update csharp/extractor/Semmle.Extraction.CSharp/Entities/Method.cs
Co-authored-by: Michael B. Gale <mbg@github.com>
This commit is contained in:
@@ -245,7 +245,7 @@ namespace Semmle.Extraction.CSharp.Entities
|
||||
// Retrieve the original method kind
|
||||
if (methodDecl.ExplicitInterfaceImplementations.IsEmpty)
|
||||
{
|
||||
throw new InternalError(methodDecl, $"Couldn't get the original method kind for explicit interface implementation");
|
||||
throw new InternalError(methodDecl, $"Couldn't get the original method kind for an explicit interface implementation");
|
||||
}
|
||||
|
||||
methodKind = methodDecl.ExplicitInterfaceImplementations.Select(m => m.MethodKind).First();
|
||||
|
||||
Reference in New Issue
Block a user