mirror of
https://github.com/github/codeql.git
synced 2026-03-23 07:56:54 +01:00
16 lines
261 B
Plaintext
16 lines
261 B
Plaintext
import csharp
|
|
|
|
/* This tests a regression in the extractor where the following failed to extract:
|
|
|
|
class Foo<T>
|
|
{
|
|
enum E { a };
|
|
}
|
|
*/
|
|
|
|
from Enum e, Class c
|
|
where c.hasName("Param<>")
|
|
and e.hasName("E")
|
|
and e.getDeclaringType()=c
|
|
select c, e
|