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

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRodrigo Kumpera <kumpera@gmail.com>2009-08-04 04:10:17 +0400
committerRodrigo Kumpera <kumpera@gmail.com>2009-08-04 04:10:17 +0400
commit2909089503476c4bbfd78f38e60961caa95f5d75 (patch)
tree1fa983540e47b4f27ac19cd4a5dedf0d5721d9e7 /mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs
parent32304d19e08d1d92e8fcef0b893c3c29b2b2598f (diff)
2009-08-03 Rodrigo Kumpera <rkumpera@novell.com>
* MonoGenericClass.cs (initialize): Remember the number of events available at initialization time. This is required as mcs expect this behavior under compiler context that new events are not returned for an instance that was inflated before. * MonoGenericClass.cs: Kill GetEvents_internal and implement it in terms of managed code. 2009-08-03 Rodrigo Kumpera <rkumpera@novell.com> * EventBuilder.cs: Make some fields internal. * TypeBuilder.cs: Make events field internal. Remove some MonoTODOs that are already done. * EventOnTypeBuilderInst.cs: New file which implements the required functionality by compiler context. svn path=/trunk/mcs/; revision=139307
Diffstat (limited to 'mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs')
-rw-r--r--mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs b/mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs
index 1aef914597e..8037c402bbe 100644
--- a/mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs
+++ b/mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs
@@ -65,7 +65,7 @@ namespace System.Reflection.Emit
internal PropertyBuilder[] properties;
internal int num_fields;
internal FieldBuilder[] fields;
- private EventBuilder[] events;
+ internal EventBuilder[] events;
private CustomAttributeBuilder[] cattrs;
internal TypeBuilder[] subtypes;
internal TypeAttributes attrs;
@@ -1428,7 +1428,6 @@ namespace System.Reflection.Emit
return new ArrayType (this, rank);
}
- [MonoTODO]
public override Type MakeByRefType ()
{
return new ByRefType (this);
@@ -1440,7 +1439,6 @@ namespace System.Reflection.Emit
return base.MakeGenericType (typeArguments);
}
- [MonoTODO]
public override Type MakePointerType ()
{
return new PointerType (this);