34 lines
1.3 KiB
C#
34 lines
1.3 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Runtime.CompilerServices
|
|
{
|
|
/// <summary>Indicates when a dependency is to be loaded by the referring assembly. This class cannot be inherited.</summary>
|
|
// Token: 0x0200056E RID: 1390
|
|
[Token(Token = "0x200056E")]
|
|
[AttributeUsage(AttributeTargets.Assembly)]
|
|
[Serializable]
|
|
public sealed class DependencyAttribute : Attribute
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.CompilerServices.DependencyAttribute" /> class with the specified <see cref="T:System.Runtime.CompilerServices.LoadHint" /> value.</summary>
|
|
/// <param name="dependentAssemblyArgument">The dependent assembly to bind to.</param>
|
|
/// <param name="loadHintArgument">One of the <see cref="T:System.Runtime.CompilerServices.LoadHint" /> values.</param>
|
|
// Token: 0x06002C72 RID: 11378 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002C72")]
|
|
[Address(RVA = "0xE66140", Offset = "0xE65140", VA = "0x180E66140")]
|
|
public DependencyAttribute(string dependentAssemblyArgument, LoadHint loadHintArgument)
|
|
{
|
|
}
|
|
|
|
// Token: 0x04001956 RID: 6486
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4001956")]
|
|
private string dependentAssembly;
|
|
|
|
// Token: 0x04001957 RID: 6487
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4001957")]
|
|
private LoadHint loadHint;
|
|
}
|
|
}
|