48 lines
1.8 KiB
C#
48 lines
1.8 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Runtime.Versioning
|
|
{
|
|
/// <summary>Identifies the version of the .NET Framework that a particular assembly was compiled against.</summary>
|
|
// Token: 0x02000451 RID: 1105
|
|
[Token(Token = "0x2000451")]
|
|
[AttributeUsage(AttributeTargets.Assembly)]
|
|
public sealed class TargetFrameworkAttribute : Attribute
|
|
{
|
|
/// <summary>Initializes an instance of the <see cref="T:System.Runtime.Versioning.TargetFrameworkAttribute" /> class by specifying the .NET Framework version against which an assembly was built.</summary>
|
|
/// <param name="frameworkName">The version of the .NET Framework against which the assembly was built.</param>
|
|
/// <exception cref="T:System.ArgumentNullException">
|
|
/// <paramref name="frameworkName" /> is <see langword="null" />.</exception>
|
|
// Token: 0x06002668 RID: 9832 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002668")]
|
|
[Address(RVA = "0x267D730", Offset = "0x267C730", VA = "0x18267D730")]
|
|
public TargetFrameworkAttribute(string frameworkName)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets the display name of the .NET Framework version against which an assembly was built.</summary>
|
|
/// <returns>The display name of the .NET Framework version.</returns>
|
|
// Token: 0x1700057B RID: 1403
|
|
// (set) Token: 0x06002669 RID: 9833 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x1700057B")]
|
|
public string FrameworkDisplayName
|
|
{
|
|
[Token(Token = "0x6002669")]
|
|
[Address(RVA = "0x4157F0", Offset = "0x4147F0", VA = "0x1804157F0")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x0400154D RID: 5453
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x400154D")]
|
|
private string _frameworkName;
|
|
|
|
// Token: 0x0400154E RID: 5454
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x400154E")]
|
|
private string _frameworkDisplayName;
|
|
}
|
|
}
|