System.Type.CreateTypeParameter C# (CSharp) Method

CreateTypeParameter() public static method

public static CreateTypeParameter ( string fullName, JsTypeFunction baseType ) : Type
fullName string
baseType JsTypeFunction
return Type
        public static Type CreateTypeParameter(string fullName, JsTypeFunction baseType)
        {
            var type = new Type(fullName, new Attribute[0]);
            type.Init(fullName, (int)TypeFlags.GenericParameter, null, baseType, new JsTypeFunction[0], new JsTypeFunction[0],
                new FieldInfo[0], new MethodInfo[0], new ConstructorInfo[0], new PropertyInfo[0],
                new EventInfo[0], null, null);
            return type;
        }