فهرست منبع

2004-09-18 Zoltan Varga <[email protected]>

	* Module.cs: Add net 2.0 Mvid property.

svn path=/trunk/mcs/; revision=34042
Zoltan Varga 21 سال پیش
والد
کامیت
641e1b280e
2فایلهای تغییر یافته به همراه15 افزوده شده و 0 حذف شده
  1. 4 0
      mcs/class/corlib/System.Reflection/ChangeLog
  2. 11 0
      mcs/class/corlib/System.Reflection/Module.cs

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

@@ -1,3 +1,7 @@
+2004-09-18  Zoltan Varga  <[email protected]>
+
+	* Module.cs: Add net 2.0 Mvid property.
+
 2004-08-30  Sebastien Pouliot  <[email protected]>
 
 	* Assembly.cs: Added internal Demand(PermissionSet) for CAS.

+ 11 - 0
mcs/class/corlib/System.Reflection/Module.cs

@@ -214,6 +214,17 @@ namespace System.Reflection {
 			return name;
 		}
 
+#if NET_2_0 || BOOTSTRAP_NET_2_0
+		public
+#else
+		internal
+#endif
+		Guid Mvid {
+			get {
+				return Mono_GetGuid (this);
+			}
+		}
+
 		// Mono Extension: returns the GUID of this module
 		internal static Guid Mono_GetGuid (Module module)
 		{