/// <summary> /// Gets the `p`th type parameter. /// </summary> /// <param name="p">The index of the parameter.</param> /// <returns> /// For constructed types, the supplied type. /// For unbound types, the type parameter. /// </returns> public Entities.Type GetGenericTypeParameter(int p) { return(TypeParameters.ElementAt(p)); }