using System; namespace System.Runtime.CompilerServices { /// Indicates when a dependency is to be loaded by the referring assembly. This class cannot be inherited. // Token: 0x02000299 RID: 665 [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] [Serializable] public sealed class DependencyAttribute : Attribute { /// Initializes a new instance of the class with the specified value. /// The dependent assembly to bind to. /// One of the values. // Token: 0x060020EC RID: 8428 RVA: 0x00078BF4 File Offset: 0x00076DF4 public DependencyAttribute(string dependentAssemblyArgument, LoadHint loadHintArgument) { this.dependentAssembly = dependentAssemblyArgument; this.hint = loadHintArgument; } /// Gets the value of the dependent assembly. /// The name of the dependent assembly. // Token: 0x1700062F RID: 1583 // (get) Token: 0x060020ED RID: 8429 RVA: 0x00078C0C File Offset: 0x00076E0C public string DependentAssembly { get { return this.dependentAssembly; } } /// Gets the value that indicates when an assembly is to load a dependency. /// One of the values. // Token: 0x17000630 RID: 1584 // (get) Token: 0x060020EE RID: 8430 RVA: 0x00078C14 File Offset: 0x00076E14 public LoadHint LoadHint { get { return this.hint; } } // Token: 0x04000BC7 RID: 3015 private string dependentAssembly; // Token: 0x04000BC8 RID: 3016 private LoadHint hint; } }