ソースを参照

2009-08-04 Rodrigo Kumpera <[email protected]>

	* MonoGenericClass.cs: Add type_arguments field and constructor
	that initializes it.

2009-08-04 Rodrigo Kumpera  <[email protected]>

	* Environment.cs: Bump corlib version.

svn path=/trunk/mcs/; revision=139372
Rodrigo Kumpera 16 年 前
コミット
9b26abaed8

+ 5 - 0
mcs/class/corlib/System.Reflection/ChangeLog

@@ -1,3 +1,8 @@
+2009-08-04 Rodrigo Kumpera  <[email protected]>
+
+	* MonoGenericClass.cs: Add type_arguments field and constructor
+	that initializes it.
+
 2009-08-03 Rodrigo Kumpera  <[email protected]>
 
 	* MonoGenericClass.cs (initialize): Remember the number

+ 7 - 0
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);
 

+ 4 - 0
mcs/class/corlib/System/ChangeLog

@@ -1,3 +1,7 @@
+2009-08-04 Rodrigo Kumpera  <[email protected]>
+
+	* Environment.cs: Bump corlib version.
+
 2009-08-03  Zoltan Varga  <[email protected]>
 
 	* Environment.cs: Bump corlib version.

+ 1 - 1
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)]