Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/ikvm-fork.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjfrijters <jfrijters>2010-05-06 17:50:36 +0400
committerjfrijters <jfrijters>2010-05-06 17:50:36 +0400
commitbb41551896a75a31c32b05f3f1fc19dd0854820d (patch)
treed84df0fe97ebbd085aff848c7cf1a5b3cbd4bd67 /reflect/Type.cs
parent222b6d70405ba761d8d8e5780fe3f9d1c314d1ef (diff)
Constructed types (Generic types, arrays and pointers) should forward CheckBaked to element type.
Diffstat (limited to 'reflect/Type.cs')
-rw-r--r--reflect/Type.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/reflect/Type.cs b/reflect/Type.cs
index 1cec4ce6..24ab4a84 100644
--- a/reflect/Type.cs
+++ b/reflect/Type.cs
@@ -1585,6 +1585,11 @@ namespace IKVM.Reflection
return Wrap(type, req, opt);
}
+ internal override void CheckBaked()
+ {
+ elementType.CheckBaked();
+ }
+
private static Type[] BindArray(Type[] array, IGenericBinder binder)
{
if (array ==null || array.Length == 0)
@@ -1960,6 +1965,11 @@ namespace IKVM.Reflection
get { return type.Attributes; }
}
+ internal override void CheckBaked()
+ {
+ type.CheckBaked();
+ }
+
public override FieldInfo[] __GetDeclaredFields()
{
FieldInfo[] fields = type.__GetDeclaredFields();