Просмотр исходного кода

2002-04-22 Duncan Mak <[email protected]>

	* ImporterEventKind.cs:
	* TypeLibFuncFlags.cs:
	* TypeLibTypeFlags.cs:
	* TypeLibVarFlags.cs: Fixed various typos and added missing elements.

svn path=/trunk/mcs/; revision=3976
Duncan Mak 24 лет назад
Родитель
Сommit
11b93b6cd9

+ 5 - 0
mcs/class/corlib/System.Runtime.InteropServices/ChangeLog

@@ -1,5 +1,10 @@
 2002-04-22  Duncan Mak  <[email protected]>
 
+	* ImporterEventKind.cs: 
+	* TypeLibFuncFlags.cs:
+	* TypeLibTypeFlags.cs:
+	* TypeLibVarFlags.cs: Fixed various typos and added missing elements.
+
 	* ComConventionLossAttribute.cs: Removed, there's a typo.
 	* ComConversionLossAttribute.cs: Same attribute, slight change of name.
 

+ 2 - 2
mcs/class/corlib/System.Runtime.InteropServices/ImporterEventKind.cs

@@ -10,8 +10,8 @@ namespace System.Runtime.InteropServices
 {
 	[Serializable] public enum ImporterEventKind
 	{
-		NOTIF_TYPECONVERED = 0,
+		NOTIF_TYPECONVERTED = 0,
 		NOTIF_CONVERTWARNING = 1,
-		ERROR_REFTOINVALIDTYPELID = 2,	      
+		ERROR_REFTOINVALIDTYPELIB = 2,	      
 	}
 }

+ 3 - 3
mcs/class/corlib/System.Runtime.InteropServices/TypeLibFuncFlags.cs

@@ -8,17 +8,17 @@
 namespace System.Runtime.InteropServices {
 	[Flags] [Serializable]
 	public enum TypeLibFuncFlags {
-		FReadOnly = 1,
+		FRestricted = 1,
 		FSource = 2,
 		FBindable = 4,
 		FRequestEdit = 8,
 		FDisplayBind = 16,
 		FDefaultBind = 32,
 		FHidden = 64,
-		FRestricted = 128,
+		FUsesGetLastError = 128,
 		FDefaultCollelem = 256,
 		FUiDefault = 512,
-		FNonBrowable = 1024,
+		FNonBrowsable = 1024,
 		FReplaceable = 2048,
 		FImmediateBind = 4096,
 	}

+ 3 - 2
mcs/class/corlib/System.Runtime.InteropServices/TypeLibTypeFlags.cs

@@ -19,7 +19,8 @@ namespace System.Runtime.InteropServices {
 		FOleAutomation = 256,
 		FRestricted = 512,
 		FAggregatable = 1024,
-		FDispatchable = 2048,
-		FReverseBind = 4096,
+		FReplaceable = 2048,
+		FDispatchable = 4096,
+		FReverseBind = 8192,
 	}
 }

+ 1 - 1
mcs/class/corlib/System.Runtime.InteropServices/TypeLibVarFlags.cs

@@ -19,7 +19,7 @@ namespace System.Runtime.InteropServices {
 		FRestricted = 128,
 		FDefaultCollelem = 256,
 		FUiDefault = 512,
-		FNonBrowable = 1024,
+		FNonBrowsable = 1024,
 		FReplaceable = 2048,
 		FImmediateBind = 4096,
 	}