Files
codeql/csharp/ql/test/library-tests/modifiers/Effectively.ql

14 lines
291 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