mirror of
https://github.com/github/codeql.git
synced 2026-05-03 04:39:29 +02:00
Extend runtime callables to interface members with default implementation
This commit is contained in:
@@ -15,7 +15,10 @@ private import dotnet
|
||||
class RuntimeCallable extends DotNet::Callable {
|
||||
RuntimeCallable() {
|
||||
not this.(Modifiable).isAbstract() and
|
||||
not getDeclaringType() instanceof Interface
|
||||
(
|
||||
not getDeclaringType() instanceof Interface or
|
||||
this.(Virtualizable).isVirtual()
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user