using System; namespace System.Runtime.InteropServices { /// Indicates to a COM client that all classes in the current version of an assembly are compatible with classes in an earlier version of the assembly. // Token: 0x020002FC RID: 764 [ComVisible(true)] [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false, Inherited = false)] public sealed class ComCompatibleVersionAttribute : Attribute { /// Initializes a new instance of the class with the major version, minor version, build, and revision numbers of the assembly. /// The major version number of the assembly. /// The minor version number of the assembly. /// The build number of the assembly. /// The revision number of the assembly. // Token: 0x060021CD RID: 8653 RVA: 0x00079114 File Offset: 0x00077314 public ComCompatibleVersionAttribute(int major, int minor, int build, int revision) { this.major = major; this.minor = minor; this.build = build; this.revision = revision; } /// Gets the major version number of the assembly. /// The major version number of the assembly. // Token: 0x1700063E RID: 1598 // (get) Token: 0x060021CE RID: 8654 RVA: 0x0007913C File Offset: 0x0007733C public int MajorVersion { get { return this.major; } } /// Gets the minor version number of the assembly. /// The minor version number of the assembly. // Token: 0x1700063F RID: 1599 // (get) Token: 0x060021CF RID: 8655 RVA: 0x00079144 File Offset: 0x00077344 public int MinorVersion { get { return this.minor; } } /// Gets the build number of the assembly. /// The build number of the assembly. // Token: 0x17000640 RID: 1600 // (get) Token: 0x060021D0 RID: 8656 RVA: 0x0007914C File Offset: 0x0007734C public int BuildNumber { get { return this.build; } } /// Gets the revision number of the assembly. /// The revision number of the assembly. // Token: 0x17000641 RID: 1601 // (get) Token: 0x060021D1 RID: 8657 RVA: 0x00079154 File Offset: 0x00077354 public int RevisionNumber { get { return this.revision; } } // Token: 0x04000CE7 RID: 3303 private int major; // Token: 0x04000CE8 RID: 3304 private int minor; // Token: 0x04000CE9 RID: 3305 private int build; // Token: 0x04000CEA RID: 3306 private int revision; } }