mirror of
https://github.com/github/codeql.git
synced 2026-04-25 16:55:19 +02:00
The class `Overridable` generalizes the existing class `Virtualizable` by also including accessors. This allows for quite a bit of code to be simplified.
13 lines
308 B
Plaintext
13 lines
308 B
Plaintext
import csharp
|
|
|
|
from Overridable v1, Overridable v2, string kind
|
|
where
|
|
(
|
|
v1.getOverridee() = v2 and kind = "overrides"
|
|
or
|
|
v1.getImplementee() = v2 and kind = "implements"
|
|
) and
|
|
v1.fromSource() and
|
|
v2.fromSource()
|
|
select v1.getQualifiedNameWithTypes(), v2.getQualifiedNameWithTypes(), kind
|