internal void ImportOwner(Type ownerType) { MyOwnerImport = new TypeImport(ownerType, BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.Static, false); MyOwnerImport.SetContext(MyContext); }
protected override bool EqualsInternal(ImportBase import) { TypeImport otherSameType = import as TypeImport; return((otherSameType != null) && object.ReferenceEquals(_myType, otherSameType._myType)); }