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-05 04:06:13 +0400
committerRodrigo Kumpera <kumpera@gmail.com>2009-08-05 04:06:13 +0400
commit9b26abaed8b09ce913ad91f1aa0c83cfc6ef409c (patch)
tree617082a76e848668d35d2eadffefb8ad4fcc0156
parentfc9eac201d1f1d22d046482b33cb71ad2b0e0422 (diff)
2009-08-04 Rodrigo Kumpera <rkumpera@novell.com>
* MonoGenericClass.cs: Add type_arguments field and constructor that initializes it. 2009-08-04 Rodrigo Kumpera <rkumpera@novell.com> * Environment.cs: Bump corlib version. svn path=/trunk/mcs/; revision=139372
-rw-r--r--mcs/class/corlib/System.Reflection/ChangeLog5
-rw-r--r--mcs/class/corlib/System.Reflection/MonoGenericClass.cs7
-rw-r--r--mcs/class/corlib/System/ChangeLog4
-rw-r--r--mcs/class/corlib/System/Environment.cs2
4 files changed, 17 insertions, 1 deletions
diff --git a/mcs/class/corlib/System.Reflection/ChangeLog b/mcs/class/corlib/System.Reflection/ChangeLog
index d22314f8942..0950e0488c8 100644
--- a/mcs/class/corlib/System.Reflection/ChangeLog
+++ b/mcs/class/corlib/System.Reflection/ChangeLog
@@ -1,3 +1,8 @@
+2009-08-04 Rodrigo Kumpera <rkumpera@novell.com>
+
+ * MonoGenericClass.cs: Add type_arguments field and constructor
+ that initializes it.
+
2009-08-03 Rodrigo Kumpera <rkumpera@novell.com>
* MonoGenericClass.cs (initialize): Remember the number
diff --git a/mcs/class/corlib/System.Reflection/MonoGenericClass.cs b/mcs/class/corlib/System.Reflection/MonoGenericClass.cs
index 5ba0e5bf0b8..b4e73aba4a6 100644
--- a/mcs/class/corlib/System.Reflection/MonoGenericClass.cs
+++ b/mcs/class/corlib/System.Reflection/MonoGenericClass.cs
@@ -53,6 +53,7 @@ namespace System.Reflection
#region Keep in sync with object-internals.h
#pragma warning disable 649
internal TypeBuilder generic_type;
+ Type[] type_arguments;
bool initialized;
#pragma warning restore 649
#endregion
@@ -67,6 +68,12 @@ namespace System.Reflection
throw new InvalidOperationException ();
}
+ internal MonoGenericClass (TypeBuilder tb, Type[] args) : base (null)
+ {
+ this.generic_type = tb;
+ this.type_arguments = args;
+ }
+
[MethodImplAttribute(MethodImplOptions.InternalCall)]
extern void initialize (MethodInfo[] methods, ConstructorInfo[] ctors, FieldInfo[] fields, PropertyInfo[] properties, EventInfo[] events);
diff --git a/mcs/class/corlib/System/ChangeLog b/mcs/class/corlib/System/ChangeLog
index 1a25c839fe7..a25a3e011dd 100644
--- a/mcs/class/corlib/System/ChangeLog
+++ b/mcs/class/corlib/System/ChangeLog
@@ -1,3 +1,7 @@
+2009-08-04 Rodrigo Kumpera <rkumpera@novell.com>
+
+ * Environment.cs: Bump corlib version.
+
2009-08-03 Zoltan Varga <vargaz@gmail.com>
* Environment.cs: Bump corlib version.
diff --git a/mcs/class/corlib/System/Environment.cs b/mcs/class/corlib/System/Environment.cs
index e072b05f7ee..975ff52bf8a 100644
--- a/mcs/class/corlib/System/Environment.cs
+++ b/mcs/class/corlib/System/Environment.cs
@@ -63,7 +63,7 @@ namespace System {
* Changes which are already detected at runtime, like the addition
* of icalls, do not require an increment.
*/
- private const int mono_corlib_version = 80;
+ private const int mono_corlib_version = 81;
#if NET_2_0
[ComVisible (true)]