Files
codeql/csharp/ql/test/library-tests/modifiers/Effectively.ql
2018-08-02 17:53:23 +01:00

8 lines
227 B
Plaintext

import csharp
from Modifiable m, string s
where m.fromSource()
and (m.isEffectivelyInternal() and not m.isInternal() and s = "internal" or
m.isEffectivelyPrivate() and not m.isPrivate() and s = "private")
select m, s