using System; using System.Runtime.InteropServices; namespace System.Reflection { /// Instructs a compiler to use a specific version number for the Win32 file version resource. The Win32 file version is not required to be the same as the assembly's version number. // Token: 0x02000229 RID: 553 [ComVisible(true)] [AttributeUsage(AttributeTargets.Assembly, Inherited = false)] public sealed class AssemblyFileVersionAttribute : Attribute { /// Initializes a new instance of the class, specifying the file version. /// The file version. /// /// is null. // Token: 0x06001D6D RID: 7533 RVA: 0x0006E168 File Offset: 0x0006C368 public AssemblyFileVersionAttribute(string version) { if (version == null) { throw new ArgumentNullException("version"); } this.name = version; } /// Gets the Win32 file version resource name. /// A string containing the file version resource name. // Token: 0x17000547 RID: 1351 // (get) Token: 0x06001D6E RID: 7534 RVA: 0x0006E188 File Offset: 0x0006C388 public string Version { get { return this.name; } } // Token: 0x040009E6 RID: 2534 private string name; } }