mirror of
https://github.com/github/codeql.git
synced 2026-03-22 15:36:48 +01:00
10 lines
283 B
Plaintext
10 lines
283 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
|