mirror of
https://github.com/github/codeql.git
synced 2025-12-20 02:44:30 +01:00
12 lines
257 B
Plaintext
12 lines
257 B
Plaintext
import csharp
|
|
|
|
from LocalVariableAccess access, string type
|
|
where
|
|
access.getTarget().hasName("x") and
|
|
(
|
|
access instanceof LocalVariableRead and type = "read"
|
|
or
|
|
access instanceof LocalVariableWrite and type = "write"
|
|
)
|
|
select access, type
|