mirror of
https://github.com/github/codeql.git
synced 2026-02-27 04:13:51 +01:00
10 lines
327 B
Plaintext
10 lines
327 B
Plaintext
import semmle.code.csharp.Conversion
|
|
|
|
private class InterestingType extends Type {
|
|
InterestingType() { exists(LocalVariable lv | lv.getType() = this) }
|
|
}
|
|
|
|
from InterestingType sub, InterestingType sup
|
|
where convSpan(sub, sup) and sub != sup
|
|
select sub.toStringWithTypes() as s1, sup.toStringWithTypes() as s2 order by s1, s2
|