using System;
namespace System.Runtime.InteropServices
{
/// Indicates that the attributed assembly is a primary interop assembly.
// Token: 0x02000334 RID: 820
[ComVisible(true)]
[AttributeUsage(AttributeTargets.Assembly, Inherited = false, AllowMultiple = true)]
public sealed class PrimaryInteropAssemblyAttribute : Attribute
{
/// Initializes a new instance of the class with the major and minor version numbers of the type library for which this assembly is the primary interop assembly.
/// The major version of the type library for which this assembly is the primary interop assembly.
/// The minor version of the type library for which this assembly is the primary interop assembly.
// Token: 0x060022F4 RID: 8948 RVA: 0x0007A5C0 File Offset: 0x000787C0
public PrimaryInteropAssemblyAttribute(int major, int minor)
{
this.major = major;
this.minor = minor;
}
/// Gets the major version number of the type library for which this assembly is the primary interop assembly.
/// The major version number of the type library for which this assembly is the primary interop assembly.
// Token: 0x17000655 RID: 1621
// (get) Token: 0x060022F5 RID: 8949 RVA: 0x0007A5D8 File Offset: 0x000787D8
public int MajorVersion
{
get
{
return this.major;
}
}
/// Gets the minor version number of the type library for which this assembly is the primary interop assembly.
/// The minor version number of the type library for which this assembly is the primary interop assembly.
// Token: 0x17000656 RID: 1622
// (get) Token: 0x060022F6 RID: 8950 RVA: 0x0007A5E0 File Offset: 0x000787E0
public int MinorVersion
{
get
{
return this.minor;
}
}
// Token: 0x04000D7A RID: 3450
private int major;
// Token: 0x04000D7B RID: 3451
private int minor;
}
}