System.RuntimeTypeHandle.Instantiate C# (CSharp) Method

Instantiate() private method

private Instantiate ( RuntimeTypeHandle inst ) : RuntimeTypeHandle
inst RuntimeTypeHandle
return RuntimeTypeHandle
        internal RuntimeTypeHandle Instantiate(RuntimeTypeHandle[] inst)
        {
            return new RuntimeTypeHandle(_Instantiate(inst));
        }

Usage Example

Example #1
0
        internal unsafe RuntimeType Instantiate(Type[] inst)
        {
            int length;

            fixed(IntPtr *pInst = RuntimeTypeHandle.CopyRuntimeTypeHandles(inst, out length))
            {
                RuntimeType o = (RuntimeType)null;

                RuntimeTypeHandle.Instantiate(this.GetNativeHandle(), pInst, length, JitHelpers.GetObjectHandleOnStack <RuntimeType>(ref o));
                GC.KeepAlive((object)inst);
                return(o);
            }
        }
All Usage Examples Of System.RuntimeTypeHandle::Instantiate