This commit is contained in:
niko
2026-06-04 11:42:34 +02:00
parent f39ba70a9f
commit e720b98cd1
7488 changed files with 2493818 additions and 0 deletions
@@ -0,0 +1,85 @@
using System;
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: 0x020002FC RID: 764
[ComVisible(true)]
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false, Inherited = false)]
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: 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;
}
/// <summary>Gets the major version number of the assembly.</summary>
/// <returns>The major version number of the assembly.</returns>
// Token: 0x1700063E RID: 1598
// (get) Token: 0x060021CE RID: 8654 RVA: 0x0007913C File Offset: 0x0007733C
public int MajorVersion
{
get
{
return this.major;
}
}
/// <summary>Gets the minor version number of the assembly.</summary>
/// <returns>The minor version number of the assembly.</returns>
// Token: 0x1700063F RID: 1599
// (get) Token: 0x060021CF RID: 8655 RVA: 0x00079144 File Offset: 0x00077344
public int MinorVersion
{
get
{
return this.minor;
}
}
/// <summary>Gets the build number of the assembly.</summary>
/// <returns>The build number of the assembly.</returns>
// Token: 0x17000640 RID: 1600
// (get) Token: 0x060021D0 RID: 8656 RVA: 0x0007914C File Offset: 0x0007734C
public int BuildNumber
{
get
{
return this.build;
}
}
/// <summary>Gets the revision number of the assembly.</summary>
/// <returns>The revision number of the assembly.</returns>
// 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;
}
}