// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
+using System.Runtime.InteropServices;
+
namespace System.Reflection
{
- [AttributeUsage (AttributeTargets.Assembly)]
+ [ComVisible (true)]
+ [AttributeUsage (AttributeTargets.Assembly, Inherited=false)]
public sealed class AssemblyFlagsAttribute : Attribute
{
// Field
private uint flags;
// Constructor
+ [Obsolete("")]
[CLSCompliant (false)]
public AssemblyFlagsAttribute (uint flags)
{
this.flags = flags;
}
-#if NET_1_1
- public AssemblyFlagsAttribute (int flags)
+ [Obsolete("")]
+ public AssemblyFlagsAttribute (int assemblyFlags)
+ {
+ this.flags = (uint)assemblyFlags;
+ }
+
+ public AssemblyFlagsAttribute (AssemblyNameFlags assemblyFlags)
{
- this.flags = (uint)flags;
+ this.flags = (uint)assemblyFlags;
}
-#endif
// Property
+ [Obsolete("")]
[CLSCompliant (false)]
public uint Flags
{
get { return flags; }
}
-#if NET_1_1
public int AssemblyFlags
{
get { return (int)flags; }
}
-#endif
}
}