Files
codeql/csharp/ql/test/library-tests/modifiers/Effectively.ql
2019-02-04 10:32:30 +01:00

14 lines
290 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"
or
m.isEffectivelyPublic() and s = "public"
)
select m, s