浏览代码

2005-06-06 Zoltan Varga <[email protected]>

	* Assembly.cs ExceptionHandlingClause.cs: Fix build.

svn path=/trunk/mcs/; revision=45525
Zoltan Varga 20 年之前
父节点
当前提交
5c4dd1aefc

+ 3 - 3
mcs/class/corlib/System.Reflection/Assembly.cs

@@ -731,7 +731,7 @@ namespace System.Reflection {
 		public ImageFileMachine ImageFileMachine {
 			get {
 				ImageFileMachine machine;
-				PortableExecutableKind kind;
+				PortableExecutableKinds kind;
 				ModuleHandle handle = ManifestModule.ModuleHandle;
 				handle.GetPEKind (out kind, out machine);
 				return machine;
@@ -751,10 +751,10 @@ namespace System.Reflection {
 		}
 
 		[ComVisible (false)]
-		public PortableExecutableKind PortableExecutableKind {
+		public PortableExecutableKinds PortableExecutableKind {
 			get {
 				ImageFileMachine machine;
-				PortableExecutableKind kind;
+				PortableExecutableKinds kind;
 				ModuleHandle handle = ManifestModule.ModuleHandle;
 				handle.GetPEKind (out kind, out machine);
 				return kind;

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

@@ -1,5 +1,7 @@
 2005-06-06  Zoltan Varga  <[email protected]>
 
+	* Assembly.cs ExceptionHandlingClause.cs: Fix build.
+
 	* ProcessorArchitecture.cs: New file.
 
 	* ExceptionHandlingClause.cs: Update after ExceptionHandlingClauseFlags name change.

+ 1 - 1
mcs/class/corlib/System.Reflection/ExceptionHandlingClause.cs

@@ -41,7 +41,7 @@ namespace System.Reflection {
 		#region Sync with reflection.h
 		internal Type catch_type;
 		internal int filter_offset;
-		internal ExceptionHandlingClauseFlags flags;
+		internal ExceptionHandlingClauseOptions flags;
 		internal int try_offset;
 		internal int try_length;
 		internal int handler_offset;