﻿<?xml version="1.0" encoding="utf-8"?><Type Name="DependencyAttribute" FullName="System.Runtime.CompilerServices.DependencyAttribute"><TypeSignature Language="C#" Value="public sealed class DependencyAttribute : Attribute" /><TypeSignature Language="ILAsm" Value=".class public auto ansi serializable sealed beforefieldinit DependencyAttribute extends System.Attribute" /><AssemblyInfo><AssemblyName>mscorlib</AssemblyName><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Base><BaseTypeName>System.Attribute</BaseTypeName></Base><Interfaces /><Attributes><Attribute><AttributeName>System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)</AttributeName></Attribute></Attributes><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This attribute is used by the <format type="text/html"><a href="44bf97aa-a9a4-4eba-9a0d-cfaa6fc53a66">Native Image Generator (Ngen.exe)</a></format> to generate native assembly images.</para><para>Apply the <see cref="T:System.Runtime.CompilerServices.DependencyAttribute" /> attribute to a dependent assembly with a value of the <see cref="T:System.Runtime.CompilerServices.LoadHint" /> enumeration to specify when a referring assembly is to load a dependency.</para><para>A dependency that is likely to be loaded (<see cref="F:System.Runtime.CompilerServices.LoadHint.Always" />) will cause Ngen.exe to bind to that dependency.  Using this hint allows Ngen.exe to generate code that will result in a reduced working set and improved throughput  but at the cost of always loading the dependency when the parent assembly is loaded.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Indicates when a dependency is to be loaded by the referring assembly. This class cannot be inherited. </para></summary></Docs><Members><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public DependencyAttribute (string dependentAssemblyArgument, System.Runtime.CompilerServices.LoadHint loadHintArgument);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string dependentAssemblyArgument, valuetype System.Runtime.CompilerServices.LoadHint loadHintArgument) cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Parameters><Parameter Name="dependentAssemblyArgument" Type="System.String" /><Parameter Name="loadHintArgument" Type="System.Runtime.CompilerServices.LoadHint" /></Parameters><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.Runtime.CompilerServices.DependencyAttribute" /> attribute gives the common language runtime hints on how tightly to bind to the dependency. The runtime uses these hints to help settle tradeoffs between lazy dependency load and efficient binding to the dependency. For example, hard binding allows the runtime to encode pointers to dependent native images, which results in a reduced working set. This attribute guides the runtime in making these decisions.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>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. </para></summary><param name="dependentAssemblyArgument"><attribution license="cc4" from="Microsoft" modified="false" />The dependent assembly to bind to.</param><param name="loadHintArgument"><attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Runtime.CompilerServices.LoadHint" /> values.</param></Docs></Member><Member MemberName="DependentAssembly"><MemberSignature Language="C#" Value="public string DependentAssembly { get; }" /><MemberSignature Language="ILAsm" Value=".property instance string DependentAssembly" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.String</ReturnType></ReturnValue><Docs><value>To be added.</value><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Use this property to return the name of the assembly that the native image generation service binds to.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the value of the dependent assembly. </para></summary></Docs></Member><Member MemberName="LoadHint"><MemberSignature Language="C#" Value="public System.Runtime.CompilerServices.LoadHint LoadHint { get; }" /><MemberSignature Language="ILAsm" Value=".property instance valuetype System.Runtime.CompilerServices.LoadHint LoadHint" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Runtime.CompilerServices.LoadHint</ReturnType></ReturnValue><Docs><value>To be added.</value><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Use this property to return the value of the <see cref="T:System.Runtime.CompilerServices.LoadHint" /> enumeration used by the <see cref="T:System.Runtime.CompilerServices.DependencyAttribute" /> attribute.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the <see cref="T:System.Runtime.CompilerServices.LoadHint" /> value that indicates when an assembly is to load a dependency. </para></summary></Docs></Member></Members></Type>