mirror of
https://github.com/github/codeql.git
synced 2026-04-28 02:05:14 +02:00
Fix code review findings
This commit is contained in:
@@ -114,7 +114,8 @@ namespace Semmle.Extraction.CSharp.Entities
|
||||
|
||||
if (!symbol.Locations.Any() &&
|
||||
symbol.ContainingSymbol is IMethodSymbol ms &&
|
||||
ms.Name == WellKnownMemberNames.TopLevelStatementsEntryPointMethodName)
|
||||
ms.Name == WellKnownMemberNames.TopLevelStatementsEntryPointMethodName &&
|
||||
ms.ContainingType.Name == WellKnownMemberNames.TopLevelStatementsEntryPointTypeName)
|
||||
{
|
||||
trapFile.param_location(this, Context.CreateLocation());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user