2005-08-30 Sebastien Pouliot <sebastien@ximian.com>
[mono.git] / mcs / class / corlib / System.Reflection / AssemblyNameFlags.cs
old mode 100755 (executable)
new mode 100644 (file)
index daa3cd9..4ce505d
@@ -9,12 +9,38 @@
 //
 // (C) 2001 Ximian, Inc.  http://www.ximian.com
 
+//
+// Copyright (C) 2004 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
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
 
-namespace System.Reflection {
+using System.Runtime.InteropServices;
 
+namespace System.Reflection {
 
        /// <summary>
        /// </summary>
+#if NET_2_0
+       [ComVisible (true)]
+#endif
        [Flags]
        [Serializable]
        public enum AssemblyNameFlags {
@@ -28,6 +54,27 @@ namespace System.Reflection {
                ///  Perhaps this has changed since the beta.
                /// </summary>
                PublicKey = 1,
+
+#if NET_1_1
+               Retargetable = 256,
+#endif
+
+#if NET_2_0
+               [Obsolete ("This will be removed before Whidbey ships.  There will be no replacement for Whidbey.")]
+               Library = 0x2,
+               [Obsolete ("This will be removed before Whidbey ships.  There will be no replacement for Whidbey.")]
+               AppDomainPlatform = 0x4,
+               [Obsolete ("This will be removed before Whidbey ships.  There will be no replacement for Whidbey.")]
+               ProcessPlatform = 0x6,
+               [Obsolete ("This will be removed before Whidbey ships.  There will be no replacement for Whidbey.")]
+               SystemPlatform = 0x8,
+               [Obsolete ("This will be removed before Whidbey ships.  There will be no replacement for Whidbey.")]
+               LongevityMask = 0xe,
+               [Obsolete ("This will be removed before Whidbey ships.  There will be no replacement for Whidbey.")]
+               LongevityUnspecified = 0x0,
+               EnableJITcompileOptimizer = 0x4000,
+               EnableJITcompileTracking = 0x8000
+#endif
        } // AssemblyNameFlags
 
 } // System.Reflection