mirror of
https://github.com/github/codeql.git
synced 2026-04-27 17:55:19 +02:00
C#: Address more review comments.
This commit is contained in:
@@ -663,11 +663,11 @@ namespace Semmle.Extraction.CSharp
|
||||
}
|
||||
if (symbol is IMethodSymbol method)
|
||||
{
|
||||
return method.ExplicitInterfaceImplementations.Any(m => m.ContainingType.DeclaredAccessibility == Accessibility.Public);
|
||||
return method.ExplicitInterfaceImplementations.Any(m => m.ContainingType.ShouldExtractSymbol());
|
||||
}
|
||||
if (symbol is IPropertySymbol property)
|
||||
{
|
||||
return property.ExplicitInterfaceImplementations.Any(m => m.ContainingType.DeclaredAccessibility == Accessibility.Public);
|
||||
return property.ExplicitInterfaceImplementations.Any(m => m.ContainingType.ShouldExtractSymbol());
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user