* MethodBuilder.cs, TypeBuilder.cs: always have
slot for generic_params for consistent offsets.
+2004-04-07 Martin Baulig <martin@ximian.com>
+
+ * GenericTypeParameterBuilder.cs
+ (Mono_SetConstructorConstraint): New public method.
+
2004-04-07 Martin Baulig <martin@ximian.com>
* GenericTypeParameterBuilder.cs: New file.
private int index;
private Type base_type;
private Type[] iface_constraints;
+ private bool has_ctor_constraint;
#endregion
public void SetBaseTypeConstraint (Type base_type_constraint)
this.iface_constraints = iface_constraints;
}
+ public void Mono_SetConstructorConstraint ()
+ {
+ has_ctor_constraint = true;
+ }
+
internal GenericTypeParameterBuilder (TypeBuilder tbuilder,
MethodBuilder mbuilder,
string name, int index)
{
#warning "FIXME"
return false;
- return base_type != null ? base_type.IsValueType : false;
+ // return base_type != null ? base_type.IsValueType : false;
}
public override object InvokeMember (string name, BindingFlags invokeAttr,