mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
8 lines
168 B
Plaintext
8 lines
168 B
Plaintext
import csharp
|
|
|
|
private string getType(Setter s) { if s.isInitOnly() then result = "init" else result = "set" }
|
|
|
|
from Setter s
|
|
where s.fromSource()
|
|
select s, getType(s)
|