Files
codeql/csharp/ql/test/library-tests/modifiers/Effectively.ql
2018-12-20 10:19:59 +01:00

12 lines
238 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