46 lines
1.7 KiB
C#
46 lines
1.7 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Runtime.InteropServices
|
|
{
|
|
/// <summary>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.</summary>
|
|
// Token: 0x02000579 RID: 1401
|
|
[Token(Token = "0x2000579")]
|
|
[ComVisible(true)]
|
|
[AttributeUsage(AttributeTargets.Assembly)]
|
|
public sealed class ComCompatibleVersionAttribute : Attribute
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.ComCompatibleVersionAttribute" /> class with the major version, minor version, build, and revision numbers of the assembly.</summary>
|
|
/// <param name="major">The major version number of the assembly.</param>
|
|
/// <param name="minor">The minor version number of the assembly.</param>
|
|
/// <param name="build">The build number of the assembly.</param>
|
|
/// <param name="revision">The revision number of the assembly.</param>
|
|
// Token: 0x06002AA9 RID: 10921 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002AA9")]
|
|
[Address(RVA = "0x2370600", Offset = "0x236F400", VA = "0x182370600")]
|
|
public ComCompatibleVersionAttribute(int major, int minor, int build, int revision)
|
|
{
|
|
}
|
|
|
|
// Token: 0x04001923 RID: 6435
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4001923")]
|
|
internal int _major;
|
|
|
|
// Token: 0x04001924 RID: 6436
|
|
[FieldOffset(Offset = "0x14")]
|
|
[Token(Token = "0x4001924")]
|
|
internal int _minor;
|
|
|
|
// Token: 0x04001925 RID: 6437
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4001925")]
|
|
internal int _build;
|
|
|
|
// Token: 0x04001926 RID: 6438
|
|
[FieldOffset(Offset = "0x1C")]
|
|
[Token(Token = "0x4001926")]
|
|
internal int _revision;
|
|
}
|
|
}
|