mirror of
https://github.com/github/codeql.git
synced 2026-03-23 16:06:47 +01:00
14 lines
284 B
Plaintext
14 lines
284 B
Plaintext
/**
|
|
* @name Test for properties
|
|
*/
|
|
import csharp
|
|
|
|
from Property p
|
|
where p.hasName("Caption")
|
|
and p.isReadWrite()
|
|
and p.isPublic()
|
|
and p.getGetter().getAssemblyName() = "get_Caption"
|
|
and p.getSetter().getAssemblyName() = "set_Caption"
|
|
select p, p.getGetter(), p.getSetter()
|
|
|