private CallingConvention native_cc;
private CallingConventions call_conv;
private bool init_locals = true;
+ private IntPtr generic_container;
#if NET_2_0 || BOOTSTRAP_NET_2_0
private GenericTypeParameterBuilder[] generic_params;
#else
return iattrs;
}
public override ParameterInfo[] GetParameters() {
+ if (!type.is_created)
+ throw NotSupported ();
if (parameters == null)
return null;
return result;
}
- public GenericTypeParameterBuilder[] DefineGenericParameters (string[] names)
+ public GenericTypeParameterBuilder[] DefineGenericParameters (params string[] names)
{
generic_params = new GenericTypeParameterBuilder [names.Length];
for (int i = 0; i < names.Length; i++)