CodeQL library for C#
codeql/csharp-all 3.1.1 (changelog, source)
Search

Member predicate Modifiable::isEffectivelyInternal

Holds if this declaration is effectively internal. A declaration is considered effectively internal if it can only be referenced from the declaring assembly.

Note that friend assemblies declared in InternalsVisibleToAttribute are not considered. Explicit interface implementations are also considered effectively internal if the implemented interface is itself effectively internal. Finally, internal protected members are not considered effectively internal, because they can be overridden outside the declaring assembly.

predicate isEffectivelyInternal()