Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
126 lines (123 sloc) 7.24 KB
<Type Name="TypeForwardedToAttribute" FullName="System.Runtime.CompilerServices.TypeForwardedToAttribute">
<TypeSignature Language="C#" Value="public sealed class TypeForwardedToAttribute : Attribute" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit TypeForwardedToAttribute extends System.Attribute" />
<TypeSignature Language="DocId" Value="T:System.Runtime.CompilerServices.TypeForwardedToAttribute" />
<TypeSignature Language="VB.NET" Value="Public NotInheritable Class TypeForwardedToAttribute&#xA;Inherits Attribute" />
<TypeSignature Language="C++ CLI" Value="public ref class TypeForwardedToAttribute sealed : Attribute" />
<TypeSignature Language="F#" Value="type TypeForwardedToAttribute = class&#xA; inherit Attribute" />
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.10.0</AssemblyVersion>
<AssemblyVersion>4.0.20.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Attribute</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute FrameworkAlternate="netcore-1.0;netcore-1.1;netcore-2.0;netcore-2.1;netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netstandard-1.0;netstandard-1.1;netstandard-1.2;netstandard-1.3;netstandard-1.4;netstandard-1.5;netstandard-1.6;netstandard-2.0;xamarinandroid-7.1;xamarinios-10.8;xamarinmac-3.0;netframework-4.8;netcore-2.2;dotnet-uwp-10.0;netcore-3.0;netstandard-2.1">
<AttributeName>System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true, Inherited=false)</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Specifies a destination <see cref="T:System.Type" /> in another assembly.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Use the <xref:System.Runtime.CompilerServices.TypeForwardedToAttribute> attribute to move a type from one assembly to another without disrupting callers that compiled against the old assembly.
**Note** [!INCLUDE[vbprvbext](~/includes/vbprvbext-md.md)] does not support the use of the <xref:System.Runtime.CompilerServices.TypeForwardedToAttribute> attribute to forward types written in [!INCLUDE[vbprvblong](~/includes/vbprvblong-md.md)]. Applications written in [!INCLUDE[vbprvblong](~/includes/vbprvblong-md.md)] can use forwarded types written in other languages.
]]></format>
</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public TypeForwardedToAttribute (Type destination);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.Type destination) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Runtime.CompilerServices.TypeForwardedToAttribute.#ctor(System.Type)" />
<MemberSignature Language="VB.NET" Value="Public Sub New (destination As Type)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; TypeForwardedToAttribute(Type ^ destination);" />
<MemberSignature Language="F#" Value="new System.Runtime.CompilerServices.TypeForwardedToAttribute : Type -&gt; System.Runtime.CompilerServices.TypeForwardedToAttribute" Usage="new System.Runtime.CompilerServices.TypeForwardedToAttribute destination" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.10.0</AssemblyVersion>
<AssemblyVersion>4.0.20.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="destination" Type="System.Type" />
</Parameters>
<Docs>
<param name="destination">The destination <see cref="T:System.Type" /> in another assembly.</param>
<summary>Initializes a new instance of the <see cref="T:System.Runtime.CompilerServices.TypeForwardedToAttribute" /> class specifying a destination <see cref="T:System.Type" />.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Destination">
<MemberSignature Language="C#" Value="public Type Destination { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Type Destination" />
<MemberSignature Language="DocId" Value="P:System.Runtime.CompilerServices.TypeForwardedToAttribute.Destination" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property Destination As Type" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property Type ^ Destination { Type ^ get(); };" />
<MemberSignature Language="F#" Value="member this.Destination : Type" Usage="System.Runtime.CompilerServices.TypeForwardedToAttribute.Destination" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.10.0</AssemblyVersion>
<AssemblyVersion>4.0.20.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Type</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the destination <see cref="T:System.Type" /> in another assembly.</summary>
<value>The destination <see cref="T:System.Type" /> in another assembly.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>
You can’t perform that action at this time.