// Token: 0x06003B28 RID: 15144 RVA: 0x000DF5EC File Offset: 0x000DD7EC
        internal object Clone()
        {
            IUnknownSafeHandle unknownSafeHandle = new IUnknownSafeHandle();

            if (!this.IsInvalid)
            {
                HostExecutionContextManager.CloneHostSecurityContext(this, unknownSafeHandle);
            }
            return(unknownSafeHandle);
        }
示例#2
0
        internal Object Clone()
        {
            IUnknownSafeHandle unkSafeHandleCloned = new IUnknownSafeHandle();

            // call into the Hosting API to CLONE the host context
            // stores the output IUnknown in the safehandle,
            if (!IsInvalid)
            {
                HostExecutionContextManager.CloneHostSecurityContext(this, unkSafeHandleCloned);
            }
            return(unkSafeHandleCloned);
        }