mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
12 lines
286 B
Plaintext
12 lines
286 B
Plaintext
/**
|
|
* @name Test that types, methods, and parameters can have attributes
|
|
*/
|
|
|
|
import csharp
|
|
|
|
where
|
|
exists(Attribute a | a.getTarget() instanceof Type) and
|
|
exists(Attribute a | a.getTarget() instanceof Method) and
|
|
exists(Attribute a | a.getTarget() instanceof Parameter)
|
|
select 1
|