// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== //============================================================================= // // Purpose: For Assembly-related custom attributes. // //============================================================================= namespace System.Reflection { using System; //| [AttributeUsage (AttributeTargets.Assembly, AllowMultiple=false)] public sealed class AssemblyCultureAttribute : Attribute { private String m_culture; //| public AssemblyCultureAttribute(String culture) { m_culture = culture; } //| public String Culture { get { return m_culture; } } } //| [AttributeUsage (AttributeTargets.Assembly, AllowMultiple=false)] public sealed class AssemblyVersionAttribute : Attribute { private String m_version; //| public AssemblyVersionAttribute(String version) { m_version = version; } //| public String Version { get { return m_version; } } } //| [AttributeUsage (AttributeTargets.Assembly, AllowMultiple=false)] public sealed class AssemblyKeyFileAttribute : Attribute { private String m_keyFile; //| public AssemblyKeyFileAttribute(String keyFile) { m_keyFile = keyFile; } //| public String KeyFile { get { return m_keyFile; } } } //| [AttributeUsage (AttributeTargets.Assembly, AllowMultiple=false)] public sealed class AssemblyKeyNameAttribute : Attribute { private String m_keyName; //| public AssemblyKeyNameAttribute(String keyName) { m_keyName = keyName; } //| public String KeyName { get { return m_keyName; } } } //| [AttributeUsage (AttributeTargets.Assembly, AllowMultiple=false)] public sealed class AssemblyDelaySignAttribute : Attribute { private bool m_delaySign; //| public AssemblyDelaySignAttribute(bool delaySign) { m_delaySign = delaySign; } //| public bool DelaySign { get { return m_delaySign; } } } //| [AttributeUsage(AttributeTargets.Assembly, AllowMultiple=false)] public sealed class AssemblyFlagsAttribute : Attribute { private uint m_flags; //| [CLSCompliant(false)] public AssemblyFlagsAttribute(uint flags) { m_flags = flags; } //| public AssemblyFlagsAttribute(int assemblyFlags) { m_flags = (uint)assemblyFlags; } //| [CLSCompliant(false)] public uint Flags { get { return m_flags; } } //| public int AssemblyFlags { get { return (int)m_flags; } } } }