Ejemplo n.º 1
0
 internal void ImportOwner(Type ownerType)
 {
     MyOwnerImport = new TypeImport(ownerType, BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.Static, false);
     MyOwnerImport.SetContext(MyContext);
 }
Ejemplo n.º 2
0
        protected override bool EqualsInternal(ImportBase import)
        {
            TypeImport otherSameType = import as TypeImport;

            return((otherSameType != null) && object.ReferenceEquals(_myType, otherSameType._myType));
        }