modifiers);
}
+#if NET_2_0
+ [ComVisible (true)]
+#endif
public override ConstructorInfo[] GetConstructors(BindingFlags bindingAttr)
{
return _tb.GetConstructors (bindingAttr);
return _tb.GetInterface (name, ignoreCase);
}
+#if NET_2_0
+ [ComVisible (true)]
+#endif
public override InterfaceMapping GetInterfaceMap (Type interfaceType)
{
return _tb.GetInterfaceMap (interfaceType);
return _tb.IsDefined (attributeType, inherit);
}
- public void SetCustomAttribute (CustomAttributeBuilder customBuilder)
- {
- _tb.SetCustomAttribute (customBuilder);
- }
-
#if NET_2_0
- [ComVisible (true)]
-#endif
- public void SetCustomAttribute (ConstructorInfo con, byte[] binaryAttribute)
+ [MonoTODO]
+ public override Type MakeArrayType ()
{
- SetCustomAttribute (new CustomAttributeBuilder (con, binaryAttribute));
+ return base.MakeArrayType ();
}
-#if NET_2_0 || BOOTSTRAP_NET_2_0
- [MonoTODO("Not implemented")]
- public override Type[] GetGenericArguments ()
+ [MonoTODO]
+ public override Type MakeArrayType (int rank)
{
- throw new NotImplementedException ();
+ return base.MakeArrayType (rank);
}
- [MonoTODO("Not implemented")]
- public override bool ContainsGenericParameters {
- get {
- throw new NotImplementedException ();
- }
+ [MonoTODO]
+ public override Type MakeByRefType ()
+ {
+ return base.MakeByRefType ();
}
[MonoTODO]
- public override bool IsGenericParameter {
- get {
- throw new NotImplementedException ();
- }
+ public override Type MakePointerType ()
+ {
+ return base.MakePointerType ();
}
+#endif
- [MonoTODO]
- public override int GenericParameterPosition {
- get {
- throw new NotImplementedException ();
- }
+ public void SetCustomAttribute (CustomAttributeBuilder customBuilder)
+ {
+ _tb.SetCustomAttribute (customBuilder);
}
+
+#if NET_2_0
+ [ComVisible (true)]
#endif
+ public void SetCustomAttribute (ConstructorInfo con, byte[] binaryAttribute)
+ {
+ SetCustomAttribute (new CustomAttributeBuilder (con, binaryAttribute));
+ }
private Exception CreateNotSupportedException ()
{
return false;
}
+ // FIXME: I doubt just removing this still works.
protected override bool IsValueTypeImpl ()
{
return ((type_is_subtype_of (this, pmodule.assemblyb.corlib_value_type, false) || type_is_subtype_of (this, typeof(System.ValueType), false)) &&
this != pmodule.assemblyb.corlib_enum_type);
}
+#if NET_2_0
+ [MonoTODO]
+ public override Type MakeArrayType ()
+ {
+ return base.MakeArrayType ();
+ }
+
+ [MonoTODO]
+ public override Type MakeArrayType (int rank)
+ {
+ return base.MakeArrayType (rank);
+ }
+
+ [MonoTODO]
+ public override Type MakeByRefType ()
+ {
+ return base.MakeByRefType ();
+ }
+
+ [MonoTODO]
+ public override Type MakeGenericType (params Type [] typeArguments)
+ {
+ return base.MakeGenericType (typeArguments);
+ }
+
+ [MonoTODO]
+ public override Type MakePointerType ()
+ {
+ return base.MakePointerType ();
+ }
+#endif
+
public override RuntimeTypeHandle TypeHandle {
get {
check_created ();