We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39a88d2 commit 270b56aCopy full SHA for 270b56a
csharp/ql/src/semmle/code/csharp/dispatch/RuntimeCallable.qll
@@ -15,7 +15,10 @@ private import dotnet
15
class RuntimeCallable extends DotNet::Callable {
16
RuntimeCallable() {
17
not this.(Modifiable).isAbstract() and
18
- not getDeclaringType() instanceof Interface
+ (
19
+ not getDeclaringType() instanceof Interface or
20
+ this.(Virtualizable).isVirtual()
21
+ )
22
}
23
24
0 commit comments