CodeQL library for C#

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 overriden outside the declaring assembly.

predicate isEffectivelyInternal()