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: 0x02000550 RID: 1360
|
|
[Token(Token = "0x2000550")]
|
|
[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: 0x06002A63 RID: 10851 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002A63")]
|
|
[Address(RVA = "0x582150", Offset = "0x580F50", VA = "0x180582150")]
|
|
public DependencyAttribute(string dependentAssemblyArgument, LoadHint loadHintArgument)
|
|
{
|
|
}
|
|
|
|
// Token: 0x04001893 RID: 6291
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4001893")]
|
|
private string dependentAssembly;
|
|
|
|
// Token: 0x04001894 RID: 6292
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4001894")]
|
|
private LoadHint loadHint;
|
|
}
|
|
}
|