Esempio n. 1
0
        public override Type[] GetGenericArguments()
        {
            MethodInfo method = TryGetForwarder();

            if (method != null)
            {
                return(Forwarder.GetGenericArguments());
            }
            if (typeArgs == null)
            {
                typeArgs = new Type[signature.GenericParameterCount];
                for (int i = 0; i < typeArgs.Length; i++)
                {
                    typeArgs[i] = new MissingTypeParameter(this, i);
                }
            }
            return(Util.Copy(typeArgs));
        }
Esempio n. 2
0
 public override Type[] GetGenericArguments()
 {
     return(Forwarder.GetGenericArguments());
 }