Merge pull request #325 from adbre/iss5464
[mono.git] / mcs / class / corlib / System / AttributeTargets.cs
index 174a84590460819f8a56857149ff9795dbe215f5..3a023d38b22e19e92338cca6e317887f1f783bff 100644 (file)
@@ -9,10 +9,7 @@
 // URL: http://msdn.microsoft.com/net/ecma/AllTypes.xml
 //
 // (C) 2001 Ximian, Inc.  http://www.ximian.com
-//
-
-//
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
+// Copyright (C) 2004-2005 Novell, Inc (http://www.novell.com)
 //
 // Permission is hereby granted, free of charge, to any person obtaining
 // a copy of this software and associated documentation files (the
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-namespace System
-{
+using System.Runtime.InteropServices;
+
+namespace System {
+
+       [ComVisible (true)]
+       [Serializable]
        [Flags]
        public enum AttributeTargets
        {
@@ -53,8 +54,10 @@ namespace System
                Parameter = 0x00000800,
                Delegate = 0x00001000,
                ReturnValue = 0x00002000,
+
+               GenericParameter = 0x00004000,
                All = Assembly | Module | Class | Struct | Enum | Constructor |
-                       Method | Property | Field | Event | Interface | Parameter | Delegate | ReturnValue
+                       Method | Property | Field | Event | Interface | Parameter | Delegate | ReturnValue | GenericParameter
        }
 }