InternalsVisibleTo() public méthode

public InternalsVisibleTo ( Assembly assembly ) : bool
assembly System.Reflection.Assembly
Résultat bool
Exemple #1
0
        public bool SameAssemOrFriend(Symbol sym)
        {
            Assembly assem = GetAssembly();

            return(assem == sym.GetAssembly() || sym.InternalsVisibleTo(assem));
        }
Exemple #2
0
 public bool SameAssemOrFriend(Symbol sym)
 {
     Assembly assem = GetAssembly();
     return assem == sym.GetAssembly() || sym.InternalsVisibleTo(assem);
 }