Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
1942 lines (1918 sloc) 127 KB
<Type Name="CustomAttributeExtensions" FullName="System.Reflection.CustomAttributeExtensions">
<TypeSignature Language="C#" Value="public static class CustomAttributeExtensions" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi abstract sealed beforefieldinit CustomAttributeExtensions extends System.Object" />
<TypeSignature Language="DocId" Value="T:System.Reflection.CustomAttributeExtensions" />
<TypeSignature Language="VB.NET" Value="Public Module CustomAttributeExtensions" />
<TypeSignature Language="C++ CLI" Value="public ref class CustomAttributeExtensions abstract sealed" />
<TypeSignature Language="F#" Value="type CustomAttributeExtensions = class" />
<AssemblyInfo>
<AssemblyName>System.Reflection.Extensions</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<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>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>Contains static methods for retrieving custom attributes.</summary>
<remarks>To be added.</remarks>
</Docs>
<Members>
<MemberGroup MemberName="GetCustomAttribute">
<AssemblyInfo>
<AssemblyName>System.Reflection.Extensions</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Retrieves a custom attribute that is applied to a specified element.</summary>
</Docs>
</MemberGroup>
<Member MemberName="GetCustomAttribute">
<MemberSignature Language="C#" Value="public static Attribute GetCustomAttribute (this System.Reflection.Assembly element, Type attributeType);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Attribute GetCustomAttribute(class System.Reflection.Assembly element, class System.Type attributeType) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Reflection.CustomAttributeExtensions.GetCustomAttribute(System.Reflection.Assembly,System.Type)" />
<MemberSignature Language="VB.NET" Value="&lt;Extension()&gt;&#xA;Public Function GetCustomAttribute (element As Assembly, attributeType As Type) As Attribute" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;[System::Runtime::CompilerServices::Extension]&#xA; static Attribute ^ GetCustomAttribute(System::Reflection::Assembly ^ element, Type ^ attributeType);" />
<MemberSignature Language="F#" Value="static member GetCustomAttribute : System.Reflection.Assembly * Type -&gt; Attribute" Usage="System.Reflection.CustomAttributeExtensions.GetCustomAttribute (element, attributeType)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Reflection.Extensions</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<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>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Attribute</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Reflection.Assembly" RefType="this" />
<Parameter Name="attributeType" Type="System.Type" />
</Parameters>
<Docs>
<param name="element">The assembly to inspect.</param>
<param name="attributeType">The type of attribute to search for.</param>
<summary>Retrieves a custom attribute of a specified type that is applied to a specified assembly.</summary>
<returns>A custom attribute that matches <paramref name="attributeType" />, or <see langword="null" /> if no such attribute is found.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Use the <xref:System.Reflection.CustomAttributeExtensions.GetCustomAttributes%2A> extension method if you expect more than one value to be returned, or <xref:System.Reflection.AmbiguousMatchException> will be thrown.
]]></format>
</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="element" /> or <paramref name="attributeType" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentException">
<paramref name="attributeType" /> is not derived from <see cref="T:System.Attribute" />.</exception>
<exception cref="T:System.Reflection.AmbiguousMatchException">More than one of the requested attributes was found.</exception>
</Docs>
</Member>
<Member MemberName="GetCustomAttribute">
<MemberSignature Language="C#" Value="public static Attribute GetCustomAttribute (this System.Reflection.MemberInfo element, Type attributeType);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Attribute GetCustomAttribute(class System.Reflection.MemberInfo element, class System.Type attributeType) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Reflection.CustomAttributeExtensions.GetCustomAttribute(System.Reflection.MemberInfo,System.Type)" />
<MemberSignature Language="VB.NET" Value="&lt;Extension()&gt;&#xA;Public Function GetCustomAttribute (element As MemberInfo, attributeType As Type) As Attribute" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;[System::Runtime::CompilerServices::Extension]&#xA; static Attribute ^ GetCustomAttribute(System::Reflection::MemberInfo ^ element, Type ^ attributeType);" />
<MemberSignature Language="F#" Value="static member GetCustomAttribute : System.Reflection.MemberInfo * Type -&gt; Attribute" Usage="System.Reflection.CustomAttributeExtensions.GetCustomAttribute (element, attributeType)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Reflection.Extensions</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<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>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Attribute</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Reflection.MemberInfo" RefType="this" />
<Parameter Name="attributeType" Type="System.Type" />
</Parameters>
<Docs>
<param name="element">The member to inspect.</param>
<param name="attributeType">The type of attribute to search for.</param>
<summary>Retrieves a custom attribute of a specified type that is applied to a specified member.</summary>
<returns>A custom attribute that matches <paramref name="attributeType" />, or <see langword="null" /> if no such attribute is found.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Use the <xref:System.Reflection.CustomAttributeExtensions.GetCustomAttributes%2A> extension method if you expect more than one value to be returned, or <xref:System.Reflection.AmbiguousMatchException> will be thrown.
]]></format>
</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="element" /> or <paramref name="attributeType" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentException">
<paramref name="attributeType" /> is not derived from <see cref="T:System.Attribute" />.</exception>
<exception cref="T:System.NotSupportedException">
<paramref name="element" /> is not a constructor, method, property, event, type, or field.</exception>
<exception cref="T:System.Reflection.AmbiguousMatchException">More than one of the requested attributes was found.</exception>
<exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded.</exception>
</Docs>
</Member>
<Member MemberName="GetCustomAttribute">
<MemberSignature Language="C#" Value="public static Attribute GetCustomAttribute (this System.Reflection.Module element, Type attributeType);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Attribute GetCustomAttribute(class System.Reflection.Module element, class System.Type attributeType) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Reflection.CustomAttributeExtensions.GetCustomAttribute(System.Reflection.Module,System.Type)" />
<MemberSignature Language="VB.NET" Value="&lt;Extension()&gt;&#xA;Public Function GetCustomAttribute (element As Module, attributeType As Type) As Attribute" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;[System::Runtime::CompilerServices::Extension]&#xA; static Attribute ^ GetCustomAttribute(System::Reflection::Module ^ element, Type ^ attributeType);" />
<MemberSignature Language="F#" Value="static member GetCustomAttribute : System.Reflection.Module * Type -&gt; Attribute" Usage="System.Reflection.CustomAttributeExtensions.GetCustomAttribute (element, attributeType)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Reflection.Extensions</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<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>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Attribute</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Reflection.Module" RefType="this" />
<Parameter Name="attributeType" Type="System.Type" />
</Parameters>
<Docs>
<param name="element">The module to inspect.</param>
<param name="attributeType">The type of attribute to search for.</param>
<summary>Retrieves a custom attribute of a specified type that is applied to a specified module.</summary>
<returns>A custom attribute that matches <paramref name="attributeType" />, or <see langword="null" /> if no such attribute is found.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Use the <xref:System.Reflection.CustomAttributeExtensions.GetCustomAttributes%2A> extension method if you expect more than one value to be returned, or <xref:System.Reflection.AmbiguousMatchException> will be thrown.
]]></format>
</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="element" /> or <paramref name="attributeType" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentException">
<paramref name="attributeType" /> is not derived from <see cref="T:System.Attribute" />.</exception>
<exception cref="T:System.Reflection.AmbiguousMatchException">More than one of the requested attributes was found.</exception>
</Docs>
</Member>
<Member MemberName="GetCustomAttribute">
<MemberSignature Language="C#" Value="public static Attribute GetCustomAttribute (this System.Reflection.ParameterInfo element, Type attributeType);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Attribute GetCustomAttribute(class System.Reflection.ParameterInfo element, class System.Type attributeType) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Reflection.CustomAttributeExtensions.GetCustomAttribute(System.Reflection.ParameterInfo,System.Type)" />
<MemberSignature Language="VB.NET" Value="&lt;Extension()&gt;&#xA;Public Function GetCustomAttribute (element As ParameterInfo, attributeType As Type) As Attribute" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;[System::Runtime::CompilerServices::Extension]&#xA; static Attribute ^ GetCustomAttribute(System::Reflection::ParameterInfo ^ element, Type ^ attributeType);" />
<MemberSignature Language="F#" Value="static member GetCustomAttribute : System.Reflection.ParameterInfo * Type -&gt; Attribute" Usage="System.Reflection.CustomAttributeExtensions.GetCustomAttribute (element, attributeType)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Reflection.Extensions</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<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>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Attribute</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Reflection.ParameterInfo" RefType="this" />
<Parameter Name="attributeType" Type="System.Type" />
</Parameters>
<Docs>
<param name="element">The parameter to inspect.</param>
<param name="attributeType">The type of attribute to search for.</param>
<summary>Retrieves a custom attribute of a specified type that is applied to a specified parameter.</summary>
<returns>A custom attribute that matches <paramref name="attributeType" />, or <see langword="null" /> if no such attribute is found.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Use the <xref:System.Reflection.CustomAttributeExtensions.GetCustomAttributes%2A> extension method if you expect more than one value to be returned, or <xref:System.Reflection.AmbiguousMatchException> will be thrown.
]]></format>
</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="element" /> or <paramref name="attributeType" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentException">
<paramref name="attributeType" /> is not derived from <see cref="T:System.Attribute" />.</exception>
<exception cref="T:System.Reflection.AmbiguousMatchException">More than one of the requested attributes was found.</exception>
<exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded.</exception>
</Docs>
</Member>
<Member MemberName="GetCustomAttribute">
<MemberSignature Language="C#" Value="public static Attribute GetCustomAttribute (this System.Reflection.MemberInfo element, Type attributeType, bool inherit);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Attribute GetCustomAttribute(class System.Reflection.MemberInfo element, class System.Type attributeType, bool inherit) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Reflection.CustomAttributeExtensions.GetCustomAttribute(System.Reflection.MemberInfo,System.Type,System.Boolean)" />
<MemberSignature Language="VB.NET" Value="&lt;Extension()&gt;&#xA;Public Function GetCustomAttribute (element As MemberInfo, attributeType As Type, inherit As Boolean) As Attribute" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;[System::Runtime::CompilerServices::Extension]&#xA; static Attribute ^ GetCustomAttribute(System::Reflection::MemberInfo ^ element, Type ^ attributeType, bool inherit);" />
<MemberSignature Language="F#" Value="static member GetCustomAttribute : System.Reflection.MemberInfo * Type * bool -&gt; Attribute" Usage="System.Reflection.CustomAttributeExtensions.GetCustomAttribute (element, attributeType, inherit)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Reflection.Extensions</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<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>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Attribute</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Reflection.MemberInfo" RefType="this" />
<Parameter Name="attributeType" Type="System.Type" />
<Parameter Name="inherit" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="element">The member to inspect.</param>
<param name="attributeType">The type of attribute to search for.</param>
<param name="inherit">
<see langword="true" /> to inspect the ancestors of <paramref name="element" />; otherwise, <see langword="false" />.</param>
<summary>Retrieves a custom attribute of a specified type that is applied to a specified member, and optionally inspects the ancestors of that member.</summary>
<returns>A custom attribute that matches <paramref name="attributeType" />, or <see langword="null" /> if no such attribute is found.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Use the <xref:System.Reflection.CustomAttributeExtensions.GetCustomAttributes%2A> extension method if you expect more than one value to be returned, or <xref:System.Reflection.AmbiguousMatchException> will be thrown.
]]></format>
</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="element" /> or <paramref name="attributeType" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentException">
<paramref name="attributeType" /> is not derived from <see cref="T:System.Attribute" />.</exception>
<exception cref="T:System.NotSupportedException">
<paramref name="element" /> is not a constructor, method, property, event, type, or field.</exception>
<exception cref="T:System.Reflection.AmbiguousMatchException">More than one of the requested attributes was found.</exception>
<exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded.</exception>
</Docs>
</Member>
<Member MemberName="GetCustomAttribute">
<MemberSignature Language="C#" Value="public static Attribute GetCustomAttribute (this System.Reflection.ParameterInfo element, Type attributeType, bool inherit);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Attribute GetCustomAttribute(class System.Reflection.ParameterInfo element, class System.Type attributeType, bool inherit) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Reflection.CustomAttributeExtensions.GetCustomAttribute(System.Reflection.ParameterInfo,System.Type,System.Boolean)" />
<MemberSignature Language="VB.NET" Value="&lt;Extension()&gt;&#xA;Public Function GetCustomAttribute (element As ParameterInfo, attributeType As Type, inherit As Boolean) As Attribute" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;[System::Runtime::CompilerServices::Extension]&#xA; static Attribute ^ GetCustomAttribute(System::Reflection::ParameterInfo ^ element, Type ^ attributeType, bool inherit);" />
<MemberSignature Language="F#" Value="static member GetCustomAttribute : System.Reflection.ParameterInfo * Type * bool -&gt; Attribute" Usage="System.Reflection.CustomAttributeExtensions.GetCustomAttribute (element, attributeType, inherit)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Reflection.Extensions</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<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>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Attribute</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Reflection.ParameterInfo" RefType="this" />
<Parameter Name="attributeType" Type="System.Type" />
<Parameter Name="inherit" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="element">The parameter to inspect.</param>
<param name="attributeType">The type of attribute to search for.</param>
<param name="inherit">
<see langword="true" /> to inspect the ancestors of <paramref name="element" />; otherwise, <see langword="false" />.</param>
<summary>Retrieves a custom attribute of a specified type that is applied to a specified parameter, and optionally inspects the ancestors of that parameter.</summary>
<returns>A custom attribute matching <paramref name="attributeType" />, or <see langword="null" /> if no such attribute is found.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Use the <xref:System.Reflection.CustomAttributeExtensions.GetCustomAttributes%2A> extension method if you expect more than one value to be returned, or <xref:System.Reflection.AmbiguousMatchException> will be thrown.
]]></format>
</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="element" /> or <paramref name="attributeType" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentException">
<paramref name="attributeType" /> is not derived from <see cref="T:System.Attribute" />.</exception>
<exception cref="T:System.Reflection.AmbiguousMatchException">More than one of the requested attributes was found.</exception>
<exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded.</exception>
</Docs>
</Member>
<Member MemberName="GetCustomAttribute&lt;T&gt;">
<MemberSignature Language="C#" Value="public static T GetCustomAttribute&lt;T&gt; (this System.Reflection.Assembly element) where T : Attribute;" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig !!T GetCustomAttribute&lt;(class System.Attribute) T&gt;(class System.Reflection.Assembly element) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Reflection.CustomAttributeExtensions.GetCustomAttribute``1(System.Reflection.Assembly)" />
<MemberSignature Language="VB.NET" Value="&lt;Extension()&gt;&#xA;Public Function GetCustomAttribute(Of T As Attribute) (element As Assembly) As T" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;generic &lt;typename T&gt;&#xA; where T : Attribute[System::Runtime::CompilerServices::Extension]&#xA; static T GetCustomAttribute(System::Reflection::Assembly ^ element);" />
<MemberSignature Language="F#" Value="static member GetCustomAttribute : System.Reflection.Assembly -&gt; 'T (requires 'T :&gt; Attribute)" Usage="System.Reflection.CustomAttributeExtensions.GetCustomAttribute element" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Reflection.Extensions</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<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>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>T</ReturnType>
</ReturnValue>
<TypeParameters>
<TypeParameter Name="T">
<Constraints>
<BaseTypeName>System.Attribute</BaseTypeName>
</Constraints>
</TypeParameter>
</TypeParameters>
<Parameters>
<Parameter Name="element" Type="System.Reflection.Assembly" RefType="this" />
</Parameters>
<Docs>
<typeparam name="T">The type of attribute to search for.</typeparam>
<param name="element">The assembly to inspect.</param>
<summary>Retrieves a custom attribute of a specified type that is applied to a specified assembly.</summary>
<returns>A custom attribute that matches <paramref name="T" />, or <see langword="null" /> if no such attribute is found.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Use the <xref:System.Reflection.CustomAttributeExtensions.GetCustomAttributes%2A> extension method if you expect more than one value to be returned, or <xref:System.Reflection.AmbiguousMatchException> will be thrown.
]]></format>
</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="element" /> is <see langword="null" />.</exception>
<exception cref="T:System.Reflection.AmbiguousMatchException">More than one of the requested attributes was found.</exception>
</Docs>
</Member>
<Member MemberName="GetCustomAttribute&lt;T&gt;">
<MemberSignature Language="C#" Value="public static T GetCustomAttribute&lt;T&gt; (this System.Reflection.MemberInfo element) where T : Attribute;" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig !!T GetCustomAttribute&lt;(class System.Attribute) T&gt;(class System.Reflection.MemberInfo element) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Reflection.CustomAttributeExtensions.GetCustomAttribute``1(System.Reflection.MemberInfo)" />
<MemberSignature Language="VB.NET" Value="&lt;Extension()&gt;&#xA;Public Function GetCustomAttribute(Of T As Attribute) (element As MemberInfo) As T" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;generic &lt;typename T&gt;&#xA; where T : Attribute[System::Runtime::CompilerServices::Extension]&#xA; static T GetCustomAttribute(System::Reflection::MemberInfo ^ element);" />
<MemberSignature Language="F#" Value="static member GetCustomAttribute : System.Reflection.MemberInfo -&gt; 'T (requires 'T :&gt; Attribute)" Usage="System.Reflection.CustomAttributeExtensions.GetCustomAttribute element" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Reflection.Extensions</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<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>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>T</ReturnType>
</ReturnValue>
<TypeParameters>
<TypeParameter Name="T">
<Constraints>
<BaseTypeName>System.Attribute</BaseTypeName>
</Constraints>
</TypeParameter>
</TypeParameters>
<Parameters>
<Parameter Name="element" Type="System.Reflection.MemberInfo" RefType="this" />
</Parameters>
<Docs>
<typeparam name="T">The type of attribute to search for.</typeparam>
<param name="element">The member to inspect.</param>
<summary>Retrieves a custom attribute of a specified type that is applied to a specified member.</summary>
<returns>A custom attribute that matches <paramref name="T" />, or <see langword="null" /> if no such attribute is found.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Use the <xref:System.Reflection.CustomAttributeExtensions.GetCustomAttributes%2A> extension method if you expect more than one value to be returned, or <xref:System.Reflection.AmbiguousMatchException> will be thrown.
]]></format>
</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="element" /> is <see langword="null" />.</exception>
<exception cref="T:System.NotSupportedException">
<paramref name="element" /> is not a constructor, method, property, event, type, or field.</exception>
<exception cref="T:System.Reflection.AmbiguousMatchException">More than one of the requested attributes was found.</exception>
<exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded.</exception>
</Docs>
</Member>
<Member MemberName="GetCustomAttribute&lt;T&gt;">
<MemberSignature Language="C#" Value="public static T GetCustomAttribute&lt;T&gt; (this System.Reflection.Module element) where T : Attribute;" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig !!T GetCustomAttribute&lt;(class System.Attribute) T&gt;(class System.Reflection.Module element) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Reflection.CustomAttributeExtensions.GetCustomAttribute``1(System.Reflection.Module)" />
<MemberSignature Language="VB.NET" Value="&lt;Extension()&gt;&#xA;Public Function GetCustomAttribute(Of T As Attribute) (element As Module) As T" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;generic &lt;typename T&gt;&#xA; where T : Attribute[System::Runtime::CompilerServices::Extension]&#xA; static T GetCustomAttribute(System::Reflection::Module ^ element);" />
<MemberSignature Language="F#" Value="static member GetCustomAttribute : System.Reflection.Module -&gt; 'T (requires 'T :&gt; Attribute)" Usage="System.Reflection.CustomAttributeExtensions.GetCustomAttribute element" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Reflection.Extensions</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<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>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>T</ReturnType>
</ReturnValue>
<TypeParameters>
<TypeParameter Name="T">
<Constraints>
<BaseTypeName>System.Attribute</BaseTypeName>
</Constraints>
</TypeParameter>
</TypeParameters>
<Parameters>
<Parameter Name="element" Type="System.Reflection.Module" RefType="this" />
</Parameters>
<Docs>
<typeparam name="T">The type of attribute to search for.</typeparam>
<param name="element">The module to inspect.</param>
<summary>Retrieves a custom attribute of a specified type that is applied to a specified module.</summary>
<returns>A custom attribute that matches <paramref name="T" />, or <see langword="null" /> if no such attribute is found.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Use the <xref:System.Reflection.CustomAttributeExtensions.GetCustomAttributes%2A> extension method if you expect more than one value to be returned, or <xref:System.Reflection.AmbiguousMatchException> will be thrown.
]]></format>
</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="element" /> is <see langword="null" />.</exception>
<exception cref="T:System.Reflection.AmbiguousMatchException">More than one of the requested attributes was found.</exception>
</Docs>
</Member>
<Member MemberName="GetCustomAttribute&lt;T&gt;">
<MemberSignature Language="C#" Value="public static T GetCustomAttribute&lt;T&gt; (this System.Reflection.ParameterInfo element) where T : Attribute;" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig !!T GetCustomAttribute&lt;(class System.Attribute) T&gt;(class System.Reflection.ParameterInfo element) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Reflection.CustomAttributeExtensions.GetCustomAttribute``1(System.Reflection.ParameterInfo)" />
<MemberSignature Language="VB.NET" Value="&lt;Extension()&gt;&#xA;Public Function GetCustomAttribute(Of T As Attribute) (element As ParameterInfo) As T" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;generic &lt;typename T&gt;&#xA; where T : Attribute[System::Runtime::CompilerServices::Extension]&#xA; static T GetCustomAttribute(System::Reflection::ParameterInfo ^ element);" />
<MemberSignature Language="F#" Value="static member GetCustomAttribute : System.Reflection.ParameterInfo -&gt; 'T (requires 'T :&gt; Attribute)" Usage="System.Reflection.CustomAttributeExtensions.GetCustomAttribute element" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Reflection.Extensions</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<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>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>T</ReturnType>
</ReturnValue>
<TypeParameters>
<TypeParameter Name="T">
<Constraints>
<BaseTypeName>System.Attribute</BaseTypeName>
</Constraints>
</TypeParameter>
</TypeParameters>
<Parameters>
<Parameter Name="element" Type="System.Reflection.ParameterInfo" RefType="this" />
</Parameters>
<Docs>
<typeparam name="T">The type of attribute to search for.</typeparam>
<param name="element">The parameter to inspect.</param>
<summary>Retrieves a custom attribute of a specified type that is applied to a specified parameter.</summary>
<returns>A custom attribute that matches <paramref name="T" />, or <see langword="null" /> if no such attribute is found.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Use the <xref:System.Reflection.CustomAttributeExtensions.GetCustomAttributes%2A> extension method if you expect more than one value to be returned, or <xref:System.Reflection.AmbiguousMatchException> will be thrown.
]]></format>
</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="element" /> is <see langword="null" />.</exception>
<exception cref="T:System.NotSupportedException">
<paramref name="element" /> is not a constructor, method, property, event, type, or field.</exception>
<exception cref="T:System.Reflection.AmbiguousMatchException">More than one of the requested attributes was found.</exception>
<exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded.</exception>
</Docs>
</Member>
<Member MemberName="GetCustomAttribute&lt;T&gt;">
<MemberSignature Language="C#" Value="public static T GetCustomAttribute&lt;T&gt; (this System.Reflection.MemberInfo element, bool inherit) where T : Attribute;" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig !!T GetCustomAttribute&lt;(class System.Attribute) T&gt;(class System.Reflection.MemberInfo element, bool inherit) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Reflection.CustomAttributeExtensions.GetCustomAttribute``1(System.Reflection.MemberInfo,System.Boolean)" />
<MemberSignature Language="VB.NET" Value="&lt;Extension()&gt;&#xA;Public Function GetCustomAttribute(Of T As Attribute) (element As MemberInfo, inherit As Boolean) As T" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;generic &lt;typename T&gt;&#xA; where T : Attribute[System::Runtime::CompilerServices::Extension]&#xA; static T GetCustomAttribute(System::Reflection::MemberInfo ^ element, bool inherit);" />
<MemberSignature Language="F#" Value="static member GetCustomAttribute : System.Reflection.MemberInfo * bool -&gt; 'T (requires 'T :&gt; Attribute)" Usage="System.Reflection.CustomAttributeExtensions.GetCustomAttribute (element, inherit)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Reflection.Extensions</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<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>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>T</ReturnType>
</ReturnValue>
<TypeParameters>
<TypeParameter Name="T">
<Constraints>
<BaseTypeName>System.Attribute</BaseTypeName>
</Constraints>
</TypeParameter>
</TypeParameters>
<Parameters>
<Parameter Name="element" Type="System.Reflection.MemberInfo" RefType="this" />
<Parameter Name="inherit" Type="System.Boolean" />
</Parameters>
<Docs>
<typeparam name="T">The type of attribute to search for.</typeparam>
<param name="element">The member to inspect.</param>
<param name="inherit">
<see langword="true" /> to inspect the ancestors of <paramref name="element" />; otherwise, <see langword="false" />.</param>
<summary>Retrieves a custom attribute of a specified type that is applied to a specified member, and optionally inspects the ancestors of that member.</summary>
<returns>A custom attribute that matches <paramref name="T" />, or <see langword="null" /> if no such attribute is found.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Use the <xref:System.Reflection.CustomAttributeExtensions.GetCustomAttributes%2A> extension method if you expect more than one value to be returned, or <xref:System.Reflection.AmbiguousMatchException> will be thrown.
]]></format>
</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="element" /> is <see langword="null" />.</exception>
<exception cref="T:System.NotSupportedException">
<paramref name="element" /> is not a constructor, method, property, event, type, or field.</exception>
<exception cref="T:System.Reflection.AmbiguousMatchException">More than one of the requested attributes was found.</exception>
<exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded.</exception>
</Docs>
</Member>
<Member MemberName="GetCustomAttribute&lt;T&gt;">
<MemberSignature Language="C#" Value="public static T GetCustomAttribute&lt;T&gt; (this System.Reflection.ParameterInfo element, bool inherit) where T : Attribute;" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig !!T GetCustomAttribute&lt;(class System.Attribute) T&gt;(class System.Reflection.ParameterInfo element, bool inherit) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Reflection.CustomAttributeExtensions.GetCustomAttribute``1(System.Reflection.ParameterInfo,System.Boolean)" />
<MemberSignature Language="VB.NET" Value="&lt;Extension()&gt;&#xA;Public Function GetCustomAttribute(Of T As Attribute) (element As ParameterInfo, inherit As Boolean) As T" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;generic &lt;typename T&gt;&#xA; where T : Attribute[System::Runtime::CompilerServices::Extension]&#xA; static T GetCustomAttribute(System::Reflection::ParameterInfo ^ element, bool inherit);" />
<MemberSignature Language="F#" Value="static member GetCustomAttribute : System.Reflection.ParameterInfo * bool -&gt; 'T (requires 'T :&gt; Attribute)" Usage="System.Reflection.CustomAttributeExtensions.GetCustomAttribute (element, inherit)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Reflection.Extensions</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<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>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>T</ReturnType>
</ReturnValue>
<TypeParameters>
<TypeParameter Name="T">
<Constraints>
<BaseTypeName>System.Attribute</BaseTypeName>
</Constraints>
</TypeParameter>
</TypeParameters>
<Parameters>
<Parameter Name="element" Type="System.Reflection.ParameterInfo" RefType="this" />
<Parameter Name="inherit" Type="System.Boolean" />
</Parameters>
<Docs>
<typeparam name="T">The type of attribute to search for.</typeparam>
<param name="element">The parameter to inspect.</param>
<param name="inherit">
<see langword="true" /> to inspect the ancestors of <paramref name="element" />; otherwise, <see langword="false" />.</param>
<summary>Retrieves a custom attribute of a specified type that is applied to a specified parameter, and optionally inspects the ancestors of that parameter.</summary>
<returns>A custom attribute that matches <paramref name="T" />, or <see langword="null" /> if no such attribute is found.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Use the <xref:System.Reflection.CustomAttributeExtensions.GetCustomAttributes%2A> extension method if you expect more than one value to be returned, or <xref:System.Reflection.AmbiguousMatchException> will be thrown.
]]></format>
</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="element" /> is <see langword="null" />.</exception>
<exception cref="T:System.NotSupportedException">
<paramref name="element" /> is not a constructor, method, property, event, type, or field.</exception>
<exception cref="T:System.Reflection.AmbiguousMatchException">More than one of the requested attributes was found.</exception>
<exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded.</exception>
</Docs>
</Member>
<MemberGroup MemberName="GetCustomAttributes">
<AssemblyInfo>
<AssemblyName>System.Reflection.Extensions</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Retrieves a collection of custom attributes that are applied to a specified element.</summary>
</Docs>
</MemberGroup>
<Member MemberName="GetCustomAttributes">
<MemberSignature Language="C#" Value="public static System.Collections.Generic.IEnumerable&lt;Attribute&gt; GetCustomAttributes (this System.Reflection.Assembly element);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Collections.Generic.IEnumerable`1&lt;class System.Attribute&gt; GetCustomAttributes(class System.Reflection.Assembly element) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Reflection.CustomAttributeExtensions.GetCustomAttributes(System.Reflection.Assembly)" />
<MemberSignature Language="VB.NET" Value="&lt;Extension()&gt;&#xA;Public Function GetCustomAttributes (element As Assembly) As IEnumerable(Of Attribute)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;[System::Runtime::CompilerServices::Extension]&#xA; static System::Collections::Generic::IEnumerable&lt;Attribute ^&gt; ^ GetCustomAttributes(System::Reflection::Assembly ^ element);" />
<MemberSignature Language="F#" Value="static member GetCustomAttributes : System.Reflection.Assembly -&gt; seq&lt;Attribute&gt;" Usage="System.Reflection.CustomAttributeExtensions.GetCustomAttributes element" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Reflection.Extensions</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<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>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Collections.Generic.IEnumerable&lt;System.Attribute&gt;</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Reflection.Assembly" RefType="this" />
</Parameters>
<Docs>
<param name="element">The assembly to inspect.</param>
<summary>Retrieves a collection of custom attributes that are applied to a specified assembly.</summary>
<returns>A collection of the custom attributes that are applied to <paramref name="element" />, or an empty collection if no such attributes exist.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="element" /> is <see langword="null" />.</exception>
</Docs>
</Member>
<Member MemberName="GetCustomAttributes">
<MemberSignature Language="C#" Value="public static System.Collections.Generic.IEnumerable&lt;Attribute&gt; GetCustomAttributes (this System.Reflection.MemberInfo element);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Collections.Generic.IEnumerable`1&lt;class System.Attribute&gt; GetCustomAttributes(class System.Reflection.MemberInfo element) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Reflection.CustomAttributeExtensions.GetCustomAttributes(System.Reflection.MemberInfo)" />
<MemberSignature Language="VB.NET" Value="&lt;Extension()&gt;&#xA;Public Function GetCustomAttributes (element As MemberInfo) As IEnumerable(Of Attribute)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;[System::Runtime::CompilerServices::Extension]&#xA; static System::Collections::Generic::IEnumerable&lt;Attribute ^&gt; ^ GetCustomAttributes(System::Reflection::MemberInfo ^ element);" />
<MemberSignature Language="F#" Value="static member GetCustomAttributes : System.Reflection.MemberInfo -&gt; seq&lt;Attribute&gt;" Usage="System.Reflection.CustomAttributeExtensions.GetCustomAttributes element" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Reflection.Extensions</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<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>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Collections.Generic.IEnumerable&lt;System.Attribute&gt;</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Reflection.MemberInfo" RefType="this" />
</Parameters>
<Docs>
<param name="element">The member to inspect.</param>
<summary>Retrieves a collection of custom attributes that are applied to a specified member.</summary>
<returns>A collection of the custom attributes that are applied to <paramref name="element" />, or an empty collection if no such attributes exist.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="element" /> is <see langword="null" />.</exception>
<exception cref="T:System.NotSupportedException">
<paramref name="element" /> is not a constructor, method, property, event, type, or field.</exception>
<exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded.</exception>
</Docs>
</Member>
<Member MemberName="GetCustomAttributes">
<MemberSignature Language="C#" Value="public static System.Collections.Generic.IEnumerable&lt;Attribute&gt; GetCustomAttributes (this System.Reflection.Module element);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Collections.Generic.IEnumerable`1&lt;class System.Attribute&gt; GetCustomAttributes(class System.Reflection.Module element) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Reflection.CustomAttributeExtensions.GetCustomAttributes(System.Reflection.Module)" />
<MemberSignature Language="VB.NET" Value="&lt;Extension()&gt;&#xA;Public Function GetCustomAttributes (element As Module) As IEnumerable(Of Attribute)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;[System::Runtime::CompilerServices::Extension]&#xA; static System::Collections::Generic::IEnumerable&lt;Attribute ^&gt; ^ GetCustomAttributes(System::Reflection::Module ^ element);" />
<MemberSignature Language="F#" Value="static member GetCustomAttributes : System.Reflection.Module -&gt; seq&lt;Attribute&gt;" Usage="System.Reflection.CustomAttributeExtensions.GetCustomAttributes element" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Reflection.Extensions</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<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>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Collections.Generic.IEnumerable&lt;System.Attribute&gt;</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Reflection.Module" RefType="this" />
</Parameters>
<Docs>
<param name="element">The module to inspect.</param>
<summary>Retrieves a collection of custom attributes that are applied to a specified module.</summary>
<returns>A collection of the custom attributes that are applied to <paramref name="element" />, or an empty collection if no such attributes exist.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="element" /> is <see langword="null" />.</exception>
</Docs>
</Member>
<Member MemberName="GetCustomAttributes">
<MemberSignature Language="C#" Value="public static System.Collections.Generic.IEnumerable&lt;Attribute&gt; GetCustomAttributes (this System.Reflection.ParameterInfo element);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Collections.Generic.IEnumerable`1&lt;class System.Attribute&gt; GetCustomAttributes(class System.Reflection.ParameterInfo element) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Reflection.CustomAttributeExtensions.GetCustomAttributes(System.Reflection.ParameterInfo)" />
<MemberSignature Language="VB.NET" Value="&lt;Extension()&gt;&#xA;Public Function GetCustomAttributes (element As ParameterInfo) As IEnumerable(Of Attribute)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;[System::Runtime::CompilerServices::Extension]&#xA; static System::Collections::Generic::IEnumerable&lt;Attribute ^&gt; ^ GetCustomAttributes(System::Reflection::ParameterInfo ^ element);" />
<MemberSignature Language="F#" Value="static member GetCustomAttributes : System.Reflection.ParameterInfo -&gt; seq&lt;Attribute&gt;" Usage="System.Reflection.CustomAttributeExtensions.GetCustomAttributes element" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Reflection.Extensions</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<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>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Collections.Generic.IEnumerable&lt;System.Attribute&gt;</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Reflection.ParameterInfo" RefType="this" />
</Parameters>
<Docs>
<param name="element">The parameter to inspect.</param>
<summary>Retrieves a collection of custom attributes that are applied to a specified parameter.</summary>
<returns>A collection of the custom attributes that are applied to <paramref name="element" />, or an empty collection if no such attributes exist.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="element" /> is <see langword="null" />.</exception>
<exception cref="T:System.NotSupportedException">
<paramref name="element" /> is not a constructor, method, property, event, type, or field.</exception>
<exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded.</exception>
</Docs>
</Member>
<Member MemberName="GetCustomAttributes">
<MemberSignature Language="C#" Value="public static System.Collections.Generic.IEnumerable&lt;Attribute&gt; GetCustomAttributes (this System.Reflection.Assembly element, Type attributeType);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Collections.Generic.IEnumerable`1&lt;class System.Attribute&gt; GetCustomAttributes(class System.Reflection.Assembly element, class System.Type attributeType) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Reflection.CustomAttributeExtensions.GetCustomAttributes(System.Reflection.Assembly,System.Type)" />
<MemberSignature Language="VB.NET" Value="&lt;Extension()&gt;&#xA;Public Function GetCustomAttributes (element As Assembly, attributeType As Type) As IEnumerable(Of Attribute)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;[System::Runtime::CompilerServices::Extension]&#xA; static System::Collections::Generic::IEnumerable&lt;Attribute ^&gt; ^ GetCustomAttributes(System::Reflection::Assembly ^ element, Type ^ attributeType);" />
<MemberSignature Language="F#" Value="static member GetCustomAttributes : System.Reflection.Assembly * Type -&gt; seq&lt;Attribute&gt;" Usage="System.Reflection.CustomAttributeExtensions.GetCustomAttributes (element, attributeType)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Reflection.Extensions</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<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>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Collections.Generic.IEnumerable&lt;System.Attribute&gt;</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Reflection.Assembly" RefType="this" />
<Parameter Name="attributeType" Type="System.Type" />
</Parameters>
<Docs>
<param name="element">The assembly to inspect.</param>
<param name="attributeType">The type of attribute to search for.</param>
<summary>Retrieves a collection of custom attributes of a specified type that are applied to a specified assembly.</summary>
<returns>A collection of the custom attributes that are applied to <paramref name="element" /> and that match <paramref name="attributeType" />, or an empty collection if no such attributes exist.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="element" /> or <paramref name="attributeType" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentException">
<paramref name="attributeType" /> is not derived from <see cref="T:System.Attribute" />.</exception>
</Docs>
</Member>
<Member MemberName="GetCustomAttributes">
<MemberSignature Language="C#" Value="public static System.Collections.Generic.IEnumerable&lt;Attribute&gt; GetCustomAttributes (this System.Reflection.MemberInfo element, bool inherit);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Collections.Generic.IEnumerable`1&lt;class System.Attribute&gt; GetCustomAttributes(class System.Reflection.MemberInfo element, bool inherit) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Reflection.CustomAttributeExtensions.GetCustomAttributes(System.Reflection.MemberInfo,System.Boolean)" />
<MemberSignature Language="VB.NET" Value="&lt;Extension()&gt;&#xA;Public Function GetCustomAttributes (element As MemberInfo, inherit As Boolean) As IEnumerable(Of Attribute)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;[System::Runtime::CompilerServices::Extension]&#xA; static System::Collections::Generic::IEnumerable&lt;Attribute ^&gt; ^ GetCustomAttributes(System::Reflection::MemberInfo ^ element, bool inherit);" />
<MemberSignature Language="F#" Value="static member GetCustomAttributes : System.Reflection.MemberInfo * bool -&gt; seq&lt;Attribute&gt;" Usage="System.Reflection.CustomAttributeExtensions.GetCustomAttributes (element, inherit)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Reflection.Extensions</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<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>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Collections.Generic.IEnumerable&lt;System.Attribute&gt;</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Reflection.MemberInfo" RefType="this" />
<Parameter Name="inherit" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="element">The member to inspect.</param>
<param name="inherit">
<see langword="true" /> to inspect the ancestors of <paramref name="element" />; otherwise, <see langword="false" />.</param>
<summary>Retrieves a collection of custom attributes that are applied to a specified member, and optionally inspects the ancestors of that member.</summary>
<returns>A collection of the custom attributes that are applied to <paramref name="element" /> that match the specified criteria, or an empty collection if no such attributes exist.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="element" /> is <see langword="null" />.</exception>
<exception cref="T:System.NotSupportedException">
<paramref name="element" /> is not a constructor, method, property, event, type, or field.</exception>
<exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded.</exception>
</Docs>
</Member>
<Member MemberName="GetCustomAttributes">
<MemberSignature Language="C#" Value="public static System.Collections.Generic.IEnumerable&lt;Attribute&gt; GetCustomAttributes (this System.Reflection.MemberInfo element, Type attributeType);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Collections.Generic.IEnumerable`1&lt;class System.Attribute&gt; GetCustomAttributes(class System.Reflection.MemberInfo element, class System.Type attributeType) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Reflection.CustomAttributeExtensions.GetCustomAttributes(System.Reflection.MemberInfo,System.Type)" />
<MemberSignature Language="VB.NET" Value="&lt;Extension()&gt;&#xA;Public Function GetCustomAttributes (element As MemberInfo, attributeType As Type) As IEnumerable(Of Attribute)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;[System::Runtime::CompilerServices::Extension]&#xA; static System::Collections::Generic::IEnumerable&lt;Attribute ^&gt; ^ GetCustomAttributes(System::Reflection::MemberInfo ^ element, Type ^ attributeType);" />
<MemberSignature Language="F#" Value="static member GetCustomAttributes : System.Reflection.MemberInfo * Type -&gt; seq&lt;Attribute&gt;" Usage="System.Reflection.CustomAttributeExtensions.GetCustomAttributes (element, attributeType)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Reflection.Extensions</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<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>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Collections.Generic.IEnumerable&lt;System.Attribute&gt;</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Reflection.MemberInfo" RefType="this" />
<Parameter Name="attributeType" Type="System.Type" />
</Parameters>
<Docs>
<param name="element">The member to inspect.</param>
<param name="attributeType">The type of attribute to search for.</param>
<summary>Retrieves a collection of custom attributes of a specified type that are applied to a specified member.</summary>
<returns>A collection of the custom attributes that are applied to <paramref name="element" /> and that match <paramref name="attributeType" />, or an empty collection if no such attributes exist.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="element" /> or <paramref name="attributeType" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentException">
<paramref name="attributeType" /> is not derived from <see cref="T:System.Attribute" />.</exception>
<exception cref="T:System.NotSupportedException">
<paramref name="element" /> is not a constructor, method, property, event, type, or field.</exception>
<exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded.</exception>
</Docs>
</Member>
<Member MemberName="GetCustomAttributes">
<MemberSignature Language="C#" Value="public static System.Collections.Generic.IEnumerable&lt;Attribute&gt; GetCustomAttributes (this System.Reflection.Module element, Type attributeType);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Collections.Generic.IEnumerable`1&lt;class System.Attribute&gt; GetCustomAttributes(class System.Reflection.Module element, class System.Type attributeType) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Reflection.CustomAttributeExtensions.GetCustomAttributes(System.Reflection.Module,System.Type)" />
<MemberSignature Language="VB.NET" Value="&lt;Extension()&gt;&#xA;Public Function GetCustomAttributes (element As Module, attributeType As Type) As IEnumerable(Of Attribute)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;[System::Runtime::CompilerServices::Extension]&#xA; static System::Collections::Generic::IEnumerable&lt;Attribute ^&gt; ^ GetCustomAttributes(System::Reflection::Module ^ element, Type ^ attributeType);" />
<MemberSignature Language="F#" Value="static member GetCustomAttributes : System.Reflection.Module * Type -&gt; seq&lt;Attribute&gt;" Usage="System.Reflection.CustomAttributeExtensions.GetCustomAttributes (element, attributeType)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Reflection.Extensions</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<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>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Collections.Generic.IEnumerable&lt;System.Attribute&gt;</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Reflection.Module" RefType="this" />
<Parameter Name="attributeType" Type="System.Type" />
</Parameters>
<Docs>
<param name="element">The module to inspect.</param>
<param name="attributeType">The type of attribute to search for.</param>
<summary>Retrieves a collection of custom attributes of a specified type that are applied to a specified module.</summary>
<returns>A collection of the custom attributes that are applied to <paramref name="element" /> and that match <paramref name="attributeType" />, or an empty collection if no such attributes exist.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="element" /> or <paramref name="attributeType" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentException">
<paramref name="attributeType" /> is not derived from <see cref="T:System.Attribute" />.</exception>
</Docs>
</Member>
<Member MemberName="GetCustomAttributes">
<MemberSignature Language="C#" Value="public static System.Collections.Generic.IEnumerable&lt;Attribute&gt; GetCustomAttributes (this System.Reflection.ParameterInfo element, bool inherit);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Collections.Generic.IEnumerable`1&lt;class System.Attribute&gt; GetCustomAttributes(class System.Reflection.ParameterInfo element, bool inherit) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Reflection.CustomAttributeExtensions.GetCustomAttributes(System.Reflection.ParameterInfo,System.Boolean)" />
<MemberSignature Language="VB.NET" Value="&lt;Extension()&gt;&#xA;Public Function GetCustomAttributes (element As ParameterInfo, inherit As Boolean) As IEnumerable(Of Attribute)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;[System::Runtime::CompilerServices::Extension]&#xA; static System::Collections::Generic::IEnumerable&lt;Attribute ^&gt; ^ GetCustomAttributes(System::Reflection::ParameterInfo ^ element, bool inherit);" />
<MemberSignature Language="F#" Value="static member GetCustomAttributes : System.Reflection.ParameterInfo * bool -&gt; seq&lt;Attribute&gt;" Usage="System.Reflection.CustomAttributeExtensions.GetCustomAttributes (element, inherit)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Reflection.Extensions</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<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>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Collections.Generic.IEnumerable&lt;System.Attribute&gt;</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Reflection.ParameterInfo" RefType="this" />
<Parameter Name="inherit" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="element">The parameter to inspect.</param>
<param name="inherit">
<see langword="true" /> to inspect the ancestors of <paramref name="element" />; otherwise, <see langword="false" />.</param>
<summary>Retrieves a collection of custom attributes that are applied to a specified parameter, and optionally inspects the ancestors of that parameter.</summary>
<returns>A collection of the custom attributes that are applied to <paramref name="element" />, or an empty collection if no such attributes exist.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="element" /> is <see langword="null" />.</exception>
<exception cref="T:System.NotSupportedException">
<paramref name="element" /> is not a constructor, method, property, event, type, or field.</exception>
<exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded.</exception>
</Docs>
</Member>
<Member MemberName="GetCustomAttributes">
<MemberSignature Language="C#" Value="public static System.Collections.Generic.IEnumerable&lt;Attribute&gt; GetCustomAttributes (this System.Reflection.ParameterInfo element, Type attributeType);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Collections.Generic.IEnumerable`1&lt;class System.Attribute&gt; GetCustomAttributes(class System.Reflection.ParameterInfo element, class System.Type attributeType) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Reflection.CustomAttributeExtensions.GetCustomAttributes(System.Reflection.ParameterInfo,System.Type)" />
<MemberSignature Language="VB.NET" Value="&lt;Extension()&gt;&#xA;Public Function GetCustomAttributes (element As ParameterInfo, attributeType As Type) As IEnumerable(Of Attribute)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;[System::Runtime::CompilerServices::Extension]&#xA; static System::Collections::Generic::IEnumerable&lt;Attribute ^&gt; ^ GetCustomAttributes(System::Reflection::ParameterInfo ^ element, Type ^ attributeType);" />
<MemberSignature Language="F#" Value="static member GetCustomAttributes : System.Reflection.ParameterInfo * Type -&gt; seq&lt;Attribute&gt;" Usage="System.Reflection.CustomAttributeExtensions.GetCustomAttributes (element, attributeType)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Reflection.Extensions</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<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>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Collections.Generic.IEnumerable&lt;System.Attribute&gt;</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Reflection.ParameterInfo" RefType="this" />
<Parameter Name="attributeType" Type="System.Type" />
</Parameters>
<Docs>
<param name="element">The parameter to inspect.</param>
<param name="attributeType">The type of attribute to search for.</param>
<summary>Retrieves a collection of custom attributes of a specified type that are applied to a specified parameter.</summary>
<returns>A collection of the custom attributes that are applied to <paramref name="element" /> and that match <paramref name="attributeType" />, or an empty collection if no such attributes exist.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="element" /> or <paramref name="attributeType" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentException">
<paramref name="attributeType" /> is not derived from <see cref="T:System.Attribute" />.</exception>
<exception cref="T:System.NotSupportedException">
<paramref name="element" /> is not a constructor, method, property, event, type, or field.</exception>
<exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded.</exception>
</Docs>
</Member>
<Member MemberName="GetCustomAttributes">
<MemberSignature Language="C#" Value="public static System.Collections.Generic.IEnumerable&lt;Attribute&gt; GetCustomAttributes (this System.Reflection.MemberInfo element, Type attributeType, bool inherit);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Collections.Generic.IEnumerable`1&lt;class System.Attribute&gt; GetCustomAttributes(class System.Reflection.MemberInfo element, class System.Type attributeType, bool inherit) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Reflection.CustomAttributeExtensions.GetCustomAttributes(System.Reflection.MemberInfo,System.Type,System.Boolean)" />
<MemberSignature Language="VB.NET" Value="&lt;Extension()&gt;&#xA;Public Function GetCustomAttributes (element As MemberInfo, attributeType As Type, inherit As Boolean) As IEnumerable(Of Attribute)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;[System::Runtime::CompilerServices::Extension]&#xA; static System::Collections::Generic::IEnumerable&lt;Attribute ^&gt; ^ GetCustomAttributes(System::Reflection::MemberInfo ^ element, Type ^ attributeType, bool inherit);" />
<MemberSignature Language="F#" Value="static member GetCustomAttributes : System.Reflection.MemberInfo * Type * bool -&gt; seq&lt;Attribute&gt;" Usage="System.Reflection.CustomAttributeExtensions.GetCustomAttributes (element, attributeType, inherit)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Reflection.Extensions</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<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>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Collections.Generic.IEnumerable&lt;System.Attribute&gt;</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Reflection.MemberInfo" RefType="this" />
<Parameter Name="attributeType" Type="System.Type" />
<Parameter Name="inherit" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="element">The member to inspect.</param>
<param name="attributeType">The type of attribute to search for.</param>
<param name="inherit">
<see langword="true" /> to inspect the ancestors of <paramref name="element" />; otherwise, <see langword="false" />.</param>
<summary>Retrieves a collection of custom attributes of a specified type that are applied to a specified member, and optionally inspects the ancestors of that member.</summary>
<returns>A collection of the custom attributes that are applied to <paramref name="element" /> and that match <paramref name="attributeType" />, or an empty collection if no such attributes exist.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="element" /> or <paramref name="attributeType" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentException">
<paramref name="attributeType" /> is not derived from <see cref="T:System.Attribute" />.</exception>
<exception cref="T:System.NotSupportedException">
<paramref name="element" /> is not a constructor, method, property, event, type, or field.</exception>
<exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded.</exception>
</Docs>
</Member>
<Member MemberName="GetCustomAttributes">
<MemberSignature Language="C#" Value="public static System.Collections.Generic.IEnumerable&lt;Attribute&gt; GetCustomAttributes (this System.Reflection.ParameterInfo element, Type attributeType, bool inherit);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Collections.Generic.IEnumerable`1&lt;class System.Attribute&gt; GetCustomAttributes(class System.Reflection.ParameterInfo element, class System.Type attributeType, bool inherit) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Reflection.CustomAttributeExtensions.GetCustomAttributes(System.Reflection.ParameterInfo,System.Type,System.Boolean)" />
<MemberSignature Language="VB.NET" Value="&lt;Extension()&gt;&#xA;Public Function GetCustomAttributes (element As ParameterInfo, attributeType As Type, inherit As Boolean) As IEnumerable(Of Attribute)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;[System::Runtime::CompilerServices::Extension]&#xA; static System::Collections::Generic::IEnumerable&lt;Attribute ^&gt; ^ GetCustomAttributes(System::Reflection::ParameterInfo ^ element, Type ^ attributeType, bool inherit);" />
<MemberSignature Language="F#" Value="static member GetCustomAttributes : System.Reflection.ParameterInfo * Type * bool -&gt; seq&lt;Attribute&gt;" Usage="System.Reflection.CustomAttributeExtensions.GetCustomAttributes (element, attributeType, inherit)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Reflection.Extensions</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<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>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Collections.Generic.IEnumerable&lt;System.Attribute&gt;</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Reflection.ParameterInfo" RefType="this" />
<Parameter Name="attributeType" Type="System.Type" />
<Parameter Name="inherit" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="element">The parameter to inspect.</param>
<param name="attributeType">The type of attribute to search for.</param>
<param name="inherit">
<see langword="true" /> to inspect the ancestors of <paramref name="element" />; otherwise, <see langword="false" />.</param>
<summary>Retrieves a collection of custom attributes of a specified type that are applied to a specified parameter, and optionally inspects the ancestors of that parameter.</summary>
<returns>A collection of the custom attributes that are applied to <paramref name="element" /> and that match <paramref name="attributeType" />, or an empty collection if no such attributes exist.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="element" /> or <paramref name="attributeType" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentException">
<paramref name="attributeType" /> is not derived from <see cref="T:System.Attribute" />.</exception>
<exception cref="T:System.NotSupportedException">
<paramref name="element" /> is not a constructor, method, property, event, type, or field.</exception>
<exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded.</exception>
</Docs>
</Member>
<Member MemberName="GetCustomAttributes&lt;T&gt;">
<MemberSignature Language="C#" Value="public static System.Collections.Generic.IEnumerable&lt;T&gt; GetCustomAttributes&lt;T&gt; (this System.Reflection.Assembly element) where T : Attribute;" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Collections.Generic.IEnumerable`1&lt;!!T&gt; GetCustomAttributes&lt;(class System.Attribute) T&gt;(class System.Reflection.Assembly element) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Reflection.CustomAttributeExtensions.GetCustomAttributes``1(System.Reflection.Assembly)" />
<MemberSignature Language="VB.NET" Value="&lt;Extension()&gt;&#xA;Public Function GetCustomAttributes(Of T As Attribute) (element As Assembly) As IEnumerable(Of T)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;generic &lt;typename T&gt;&#xA; where T : Attribute[System::Runtime::CompilerServices::Extension]&#xA; static System::Collections::Generic::IEnumerable&lt;T&gt; ^ GetCustomAttributes(System::Reflection::Assembly ^ element);" />
<MemberSignature Language="F#" Value="static member GetCustomAttributes : System.Reflection.Assembly -&gt; seq&lt;'T (requires 'T :&gt; Attribute)&gt; (requires 'T :&gt; Attribute)" Usage="System.Reflection.CustomAttributeExtensions.GetCustomAttributes element" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Reflection.Extensions</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<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>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Collections.Generic.IEnumerable&lt;T&gt;</ReturnType>
</ReturnValue>
<TypeParameters>
<TypeParameter Name="T">
<Constraints>
<BaseTypeName>System.Attribute</BaseTypeName>
</Constraints>
</TypeParameter>
</TypeParameters>
<Parameters>
<Parameter Name="element" Type="System.Reflection.Assembly" RefType="this" />
</Parameters>
<Docs>
<typeparam name="T">The type of attribute to search for.</typeparam>
<param name="element">The assembly to inspect.</param>
<summary>Retrieves a collection of custom attributes of a specified type that are applied to a specified assembly.</summary>
<returns>A collection of the custom attributes that are applied to <paramref name="element" /> and that match <paramref name="T" />, or an empty collection if no such attributes exist.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="element" /> is <see langword="null" />.</exception>
</Docs>
</Member>
<Member MemberName="GetCustomAttributes&lt;T&gt;">
<MemberSignature Language="C#" Value="public static System.Collections.Generic.IEnumerable&lt;T&gt; GetCustomAttributes&lt;T&gt; (this System.Reflection.MemberInfo element) where T : Attribute;" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Collections.Generic.IEnumerable`1&lt;!!T&gt; GetCustomAttributes&lt;(class System.Attribute) T&gt;(class System.Reflection.MemberInfo element) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Reflection.CustomAttributeExtensions.GetCustomAttributes``1(System.Reflection.MemberInfo)" />
<MemberSignature Language="VB.NET" Value="&lt;Extension()&gt;&#xA;Public Function GetCustomAttributes(Of T As Attribute) (element As MemberInfo) As IEnumerable(Of T)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;generic &lt;typename T&gt;&#xA; where T : Attribute[System::Runtime::CompilerServices::Extension]&#xA; static System::Collections::Generic::IEnumerable&lt;T&gt; ^ GetCustomAttributes(System::Reflection::MemberInfo ^ element);" />
<MemberSignature Language="F#" Value="static member GetCustomAttributes : System.Reflection.MemberInfo -&gt; seq&lt;'T (requires 'T :&gt; Attribute)&gt; (requires 'T :&gt; Attribute)" Usage="System.Reflection.CustomAttributeExtensions.GetCustomAttributes element" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Reflection.Extensions</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<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>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Collections.Generic.IEnumerable&lt;T&gt;</ReturnType>
</ReturnValue>
<TypeParameters>
<TypeParameter Name="T">
<Constraints>
<BaseTypeName>System.Attribute</BaseTypeName>
</Constraints>
</TypeParameter>
</TypeParameters>
<Parameters>
<Parameter Name="element" Type="System.Reflection.MemberInfo" RefType="this" />
</Parameters>
<Docs>
<typeparam name="T">The type of attribute to search for.</typeparam>
<param name="element">The member to inspect.</param>
<summary>Retrieves a collection of custom attributes of a specified type that are applied to a specified member.</summary>
<returns>A collection of the custom attributes that are applied to <paramref name="element" /> and that match <paramref name="T" />, or an empty collection if no such attributes exist.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="element" /> is <see langword="null" />.</exception>
<exception cref="T:System.NotSupportedException">
<paramref name="element" /> is not a constructor, method, property, event, type, or field.</exception>
<exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded.</exception>
</Docs>
</Member>
<Member MemberName="GetCustomAttributes&lt;T&gt;">
<MemberSignature Language="C#" Value="public static System.Collections.Generic.IEnumerable&lt;T&gt; GetCustomAttributes&lt;T&gt; (this System.Reflection.Module element) where T : Attribute;" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Collections.Generic.IEnumerable`1&lt;!!T&gt; GetCustomAttributes&lt;(class System.Attribute) T&gt;(class System.Reflection.Module element) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Reflection.CustomAttributeExtensions.GetCustomAttributes``1(System.Reflection.Module)" />
<MemberSignature Language="VB.NET" Value="&lt;Extension()&gt;&#xA;Public Function GetCustomAttributes(Of T As Attribute) (element As Module) As IEnumerable(Of T)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;generic &lt;typename T&gt;&#xA; where T : Attribute[System::Runtime::CompilerServices::Extension]&#xA; static System::Collections::Generic::IEnumerable&lt;T&gt; ^ GetCustomAttributes(System::Reflection::Module ^ element);" />
<MemberSignature Language="F#" Value="static member GetCustomAttributes : System.Reflection.Module -&gt; seq&lt;'T (requires 'T :&gt; Attribute)&gt; (requires 'T :&gt; Attribute)" Usage="System.Reflection.CustomAttributeExtensions.GetCustomAttributes element" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Reflection.Extensions</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<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>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Collections.Generic.IEnumerable&lt;T&gt;</ReturnType>
</ReturnValue>
<TypeParameters>
<TypeParameter Name="T">
<Constraints>
<BaseTypeName>System.Attribute</BaseTypeName>
</Constraints>
</TypeParameter>
</TypeParameters>
<Parameters>
<Parameter Name="element" Type="System.Reflection.Module" RefType="this" />
</Parameters>
<Docs>
<typeparam name="T">The type of attribute to search for.</typeparam>
<param name="element">The module to inspect.</param>
<summary>Retrieves a collection of custom attributes of a specified type that are applied to a specified module.</summary>
<returns>A collection of the custom attributes that are applied to <paramref name="element" /> and that match <paramref name="T" />, or an empty collection if no such attributes exist.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="element" /> is <see langword="null" />.</exception>
</Docs>
</Member>
<Member MemberName="GetCustomAttributes&lt;T&gt;">
<MemberSignature Language="C#" Value="public static System.Collections.Generic.IEnumerable&lt;T&gt; GetCustomAttributes&lt;T&gt; (this System.Reflection.ParameterInfo element) where T : Attribute;" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Collections.Generic.IEnumerable`1&lt;!!T&gt; GetCustomAttributes&lt;(class System.Attribute) T&gt;(class System.Reflection.ParameterInfo element) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Reflection.CustomAttributeExtensions.GetCustomAttributes``1(System.Reflection.ParameterInfo)" />
<MemberSignature Language="VB.NET" Value="&lt;Extension()&gt;&#xA;Public Function GetCustomAttributes(Of T As Attribute) (element As ParameterInfo) As IEnumerable(Of T)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;generic &lt;typename T&gt;&#xA; where T : Attribute[System::Runtime::CompilerServices::Extension]&#xA; static System::Collections::Generic::IEnumerable&lt;T&gt; ^ GetCustomAttributes(System::Reflection::ParameterInfo ^ element);" />
<MemberSignature Language="F#" Value="static member GetCustomAttributes : System.Reflection.ParameterInfo -&gt; seq&lt;'T (requires 'T :&gt; Attribute)&gt; (requires 'T :&gt; Attribute)" Usage="System.Reflection.CustomAttributeExtensions.GetCustomAttributes element" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Reflection.Extensions</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<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>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Collections.Generic.IEnumerable&lt;T&gt;</ReturnType>
</ReturnValue>
<TypeParameters>
<TypeParameter Name="T">
<Constraints>
<BaseTypeName>System.Attribute</BaseTypeName>
</Constraints>
</TypeParameter>
</TypeParameters>
<Parameters>
<Parameter Name="element" Type="System.Reflection.ParameterInfo" RefType="this" />
</Parameters>
<Docs>
<typeparam name="T">The type of attribute to search for.</typeparam>
<param name="element">The parameter to inspect.</param>
<summary>Retrieves a collection of custom attributes of a specified type that are applied to a specified parameter.</summary>
<returns>A collection of the custom attributes that are applied to <paramref name="element" /> and that match <paramref name="T" />, or an empty collection if no such attributes exist.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="element" /> is <see langword="null" />.</exception>
<exception cref="T:System.NotSupportedException">
<paramref name="element" /> is not a constructor, method, property, event, type, or field.</exception>
<exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded.</exception>
</Docs>
</Member>
<Member MemberName="GetCustomAttributes&lt;T&gt;">
<MemberSignature Language="C#" Value="public static System.Collections.Generic.IEnumerable&lt;T&gt; GetCustomAttributes&lt;T&gt; (this System.Reflection.MemberInfo element, bool inherit) where T : Attribute;" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Collections.Generic.IEnumerable`1&lt;!!T&gt; GetCustomAttributes&lt;(class System.Attribute) T&gt;(class System.Reflection.MemberInfo element, bool inherit) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Reflection.CustomAttributeExtensions.GetCustomAttributes``1(System.Reflection.MemberInfo,System.Boolean)" />
<MemberSignature Language="VB.NET" Value="&lt;Extension()&gt;&#xA;Public Function GetCustomAttributes(Of T As Attribute) (element As MemberInfo, inherit As Boolean) As IEnumerable(Of T)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;generic &lt;typename T&gt;&#xA; where T : Attribute[System::Runtime::CompilerServices::Extension]&#xA; static System::Collections::Generic::IEnumerable&lt;T&gt; ^ GetCustomAttributes(System::Reflection::MemberInfo ^ element, bool inherit);" />
<MemberSignature Language="F#" Value="static member GetCustomAttributes : System.Reflection.MemberInfo * bool -&gt; seq&lt;'T (requires 'T :&gt; Attribute)&gt; (requires 'T :&gt; Attribute)" Usage="System.Reflection.CustomAttributeExtensions.GetCustomAttributes (element, inherit)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Reflection.Extensions</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<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>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Collections.Generic.IEnumerable&lt;T&gt;</ReturnType>
</ReturnValue>
<TypeParameters>
<TypeParameter Name="T">
<Constraints>
<BaseTypeName>System.Attribute</BaseTypeName>
</Constraints>
</TypeParameter>
</TypeParameters>
<Parameters>
<Parameter Name="element" Type="System.Reflection.MemberInfo" RefType="this" />
<Parameter Name="inherit" Type="System.Boolean" />
</Parameters>
<Docs>
<typeparam name="T">The type of attribute to search for.</typeparam>
<param name="element">The member to inspect.</param>
<param name="inherit">
<see langword="true" /> to inspect the ancestors of <paramref name="element" />; otherwise, <see langword="false" />.</param>
<summary>Retrieves a collection of custom attributes of a specified type that are applied to a specified member, and optionally inspects the ancestors of that member.</summary>
<returns>A collection of the custom attributes that are applied to <paramref name="element" /> and that match <paramref name="T" />, or an empty collection if no such attributes exist.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="element" /> is <see langword="null" />.</exception>
<exception cref="T:System.NotSupportedException">
<paramref name="element" /> is not a constructor, method, property, event, type, or field.</exception>
<exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded.</exception>
</Docs>
</Member>
<Member MemberName="GetCustomAttributes&lt;T&gt;">
<MemberSignature Language="C#" Value="public static System.Collections.Generic.IEnumerable&lt;T&gt; GetCustomAttributes&lt;T&gt; (this System.Reflection.ParameterInfo element, bool inherit) where T : Attribute;" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Collections.Generic.IEnumerable`1&lt;!!T&gt; GetCustomAttributes&lt;(class System.Attribute) T&gt;(class System.Reflection.ParameterInfo element, bool inherit) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Reflection.CustomAttributeExtensions.GetCustomAttributes``1(System.Reflection.ParameterInfo,System.Boolean)" />
<MemberSignature Language="VB.NET" Value="&lt;Extension()&gt;&#xA;Public Function GetCustomAttributes(Of T As Attribute) (element As ParameterInfo, inherit As Boolean) As IEnumerable(Of T)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;generic &lt;typename T&gt;&#xA; where T : Attribute[System::Runtime::CompilerServices::Extension]&#xA; static System::Collections::Generic::IEnumerable&lt;T&gt; ^ GetCustomAttributes(System::Reflection::ParameterInfo ^ element, bool inherit);" />
<MemberSignature Language="F#" Value="static member GetCustomAttributes : System.Reflection.ParameterInfo * bool -&gt; seq&lt;'T (requires 'T :&gt; Attribute)&gt; (requires 'T :&gt; Attribute)" Usage="System.Reflection.CustomAttributeExtensions.GetCustomAttributes (element, inherit)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Reflection.Extensions</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<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>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Collections.Generic.IEnumerable&lt;T&gt;</ReturnType>
</ReturnValue>
<TypeParameters>
<TypeParameter Name="T">
<Constraints>
<BaseTypeName>System.Attribute</BaseTypeName>
</Constraints>
</TypeParameter>
</TypeParameters>
<Parameters>
<Parameter Name="element" Type="System.Reflection.ParameterInfo" RefType="this" />
<Parameter Name="inherit" Type="System.Boolean" />
</Parameters>
<Docs>
<typeparam name="T">The type of attribute to search for.</typeparam>
<param name="element">The parameter to inspect.</param>
<param name="inherit">
<see langword="true" /> to inspect the ancestors of <paramref name="element" />; otherwise, <see langword="false" />.</param>
<summary>Retrieves a collection of custom attributes of a specified type that are applied to a specified parameter, and optionally inspects the ancestors of that parameter.</summary>
<returns>A collection of the custom attributes that are applied to <paramref name="element" /> and that match <paramref name="T" />, or an empty collection if no such attributes exist.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="element" /> is <see langword="null" />.</exception>
<exception cref="T:System.NotSupportedException">
<paramref name="element" /> is not a constructor, method, property, event, type, or field.</exception>
<exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded.</exception>
</Docs>
</Member>
<MemberGroup MemberName="IsDefined">
<AssemblyInfo>
<AssemblyName>System.Reflection.Extensions</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Indicates whether custom attributes are applied to an element.</summary>
</Docs>
</MemberGroup>
<Member MemberName="IsDefined">
<MemberSignature Language="C#" Value="public static bool IsDefined (this System.Reflection.Assembly element, Type attributeType);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool IsDefined(class System.Reflection.Assembly element, class System.Type attributeType) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Reflection.CustomAttributeExtensions.IsDefined(System.Reflection.Assembly,System.Type)" />
<MemberSignature Language="VB.NET" Value="&lt;Extension()&gt;&#xA;Public Function IsDefined (element As Assembly, attributeType As Type) As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;[System::Runtime::CompilerServices::Extension]&#xA; static bool IsDefined(System::Reflection::Assembly ^ element, Type ^ attributeType);" />
<MemberSignature Language="F#" Value="static member IsDefined : System.Reflection.Assembly * Type -&gt; bool" Usage="System.Reflection.CustomAttributeExtensions.IsDefined (element, attributeType)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Reflection.Extensions</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<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>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Reflection.Assembly" RefType="this" />
<Parameter Name="attributeType" Type="System.Type" />
</Parameters>
<Docs>
<param name="element">The assembly to inspect.</param>
<param name="attributeType">The type of the attribute to search for.</param>
<summary>Indicates whether custom attributes of a specified type are applied to a specified assembly.</summary>
<returns>
<see langword="true" /> if an attribute of the specified type is applied to <paramref name="element" />; otherwise, <see langword="false" />.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="element" /> or <paramref name="attributeType" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentException">
<paramref name="attributeType" /> is not derived from <see cref="T:System.Attribute" />.</exception>
</Docs>
</Member>
<Member MemberName="IsDefined">
<MemberSignature Language="C#" Value="public static bool IsDefined (this System.Reflection.MemberInfo element, Type attributeType);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool IsDefined(class System.Reflection.MemberInfo element, class System.Type attributeType) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Reflection.CustomAttributeExtensions.IsDefined(System.Reflection.MemberInfo,System.Type)" />
<MemberSignature Language="VB.NET" Value="&lt;Extension()&gt;&#xA;Public Function IsDefined (element As MemberInfo, attributeType As Type) As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;[System::Runtime::CompilerServices::Extension]&#xA; static bool IsDefined(System::Reflection::MemberInfo ^ element, Type ^ attributeType);" />
<MemberSignature Language="F#" Value="static member IsDefined : System.Reflection.MemberInfo * Type -&gt; bool" Usage="System.Reflection.CustomAttributeExtensions.IsDefined (element, attributeType)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Reflection.Extensions</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<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>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Reflection.MemberInfo" RefType="this" />
<Parameter Name="attributeType" Type="System.Type" />
</Parameters>
<Docs>
<param name="element">The member to inspect.</param>
<param name="attributeType">The type of attribute to search for.</param>
<summary>Indicates whether custom attributes of a specified type are applied to a specified member.</summary>
<returns>
<see langword="true" /> if an attribute of the specified type is applied to <paramref name="element" />; otherwise, <see langword="false" />.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="element" /> or <paramref name="attributeType" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentException">
<paramref name="attributeType" /> is not derived from <see cref="T:System.Attribute" />.</exception>
<exception cref="T:System.NotSupportedException">
<paramref name="element" /> is not a constructor, method, property, event, type, or field.</exception>
</Docs>
</Member>
<Member MemberName="IsDefined">
<MemberSignature Language="C#" Value="public static bool IsDefined (this System.Reflection.Module element, Type attributeType);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool IsDefined(class System.Reflection.Module element, class System.Type attributeType) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Reflection.CustomAttributeExtensions.IsDefined(System.Reflection.Module,System.Type)" />
<MemberSignature Language="VB.NET" Value="&lt;Extension()&gt;&#xA;Public Function IsDefined (element As Module, attributeType As Type) As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;[System::Runtime::CompilerServices::Extension]&#xA; static bool IsDefined(System::Reflection::Module ^ element, Type ^ attributeType);" />
<MemberSignature Language="F#" Value="static member IsDefined : System.Reflection.Module * Type -&gt; bool" Usage="System.Reflection.CustomAttributeExtensions.IsDefined (element, attributeType)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Reflection.Extensions</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<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>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Reflection.Module" RefType="this" />
<Parameter Name="attributeType" Type="System.Type" />
</Parameters>
<Docs>
<param name="element">The module to inspect.</param>
<param name="attributeType">The type of attribute to search for.</param>
<summary>Indicates whether custom attributes of a specified type are applied to a specified module.</summary>
<returns>
<see langword="true" /> if an attribute of the specified type is applied to <paramref name="element" />; otherwise, <see langword="false" />.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="element" /> or <paramref name="attributeType" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentException">
<paramref name="attributeType" /> is not derived from <see cref="T:System.Attribute" />.</exception>
</Docs>
</Member>
<Member MemberName="IsDefined">
<MemberSignature Language="C#" Value="public static bool IsDefined (this System.Reflection.ParameterInfo element, Type attributeType);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool IsDefined(class System.Reflection.ParameterInfo element, class System.Type attributeType) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Reflection.CustomAttributeExtensions.IsDefined(System.Reflection.ParameterInfo,System.Type)" />
<MemberSignature Language="VB.NET" Value="&lt;Extension()&gt;&#xA;Public Function IsDefined (element As ParameterInfo, attributeType As Type) As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;[System::Runtime::CompilerServices::Extension]&#xA; static bool IsDefined(System::Reflection::ParameterInfo ^ element, Type ^ attributeType);" />
<MemberSignature Language="F#" Value="static member IsDefined : System.Reflection.ParameterInfo * Type -&gt; bool" Usage="System.Reflection.CustomAttributeExtensions.IsDefined (element, attributeType)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Reflection.Extensions</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<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>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Reflection.ParameterInfo" RefType="this" />
<Parameter Name="attributeType" Type="System.Type" />
</Parameters>
<Docs>
<param name="element">The parameter to inspect.</param>
<param name="attributeType">The type of attribute to search for.</param>
<summary>Indicates whether custom attributes of a specified type are applied to a specified parameter.</summary>
<returns>
<see langword="true" /> if an attribute of the specified type is applied to <paramref name="element" />; otherwise, <see langword="false" />.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="element" /> or <paramref name="attributeType" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentException">
<paramref name="attributeType" /> is not derived from <see cref="T:System.Attribute" />.</exception>
</Docs>
</Member>
<Member MemberName="IsDefined">
<MemberSignature Language="C#" Value="public static bool IsDefined (this System.Reflection.MemberInfo element, Type attributeType, bool inherit);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool IsDefined(class System.Reflection.MemberInfo element, class System.Type attributeType, bool inherit) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Reflection.CustomAttributeExtensions.IsDefined(System.Reflection.MemberInfo,System.Type,System.Boolean)" />
<MemberSignature Language="VB.NET" Value="&lt;Extension()&gt;&#xA;Public Function IsDefined (element As MemberInfo, attributeType As Type, inherit As Boolean) As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;[System::Runtime::CompilerServices::Extension]&#xA; static bool IsDefined(System::Reflection::MemberInfo ^ element, Type ^ attributeType, bool inherit);" />
<MemberSignature Language="F#" Value="static member IsDefined : System.Reflection.MemberInfo * Type * bool -&gt; bool" Usage="System.Reflection.CustomAttributeExtensions.IsDefined (element, attributeType, inherit)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Reflection.Extensions</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<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>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Reflection.MemberInfo" RefType="this" />
<Parameter Name="attributeType" Type="System.Type" />
<Parameter Name="inherit" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="element">The member to inspect.</param>
<param name="attributeType">The type of the attribute to search for.</param>
<param name="inherit">
<see langword="true" /> to inspect the ancestors of <paramref name="element" />; otherwise, <see langword="false" />.</param>
<summary>Indicates whether custom attributes of a specified type are applied to a specified member, and, optionally, applied to its ancestors.</summary>
<returns>
<see langword="true" /> if an attribute of the specified type is applied to <paramref name="element" />; otherwise, <see langword="false" />.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="element" /> or <paramref name="attributeType" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentException">
<paramref name="attributeType" /> is not derived from <see cref="T:System.Attribute" />.</exception>
<exception cref="T:System.NotSupportedException">
<paramref name="element" /> is not a constructor, method, property, event, type, or field.</exception>
</Docs>
</Member>
<Member MemberName="IsDefined">
<MemberSignature Language="C#" Value="public static bool IsDefined (this System.Reflection.ParameterInfo element, Type attributeType, bool inherit);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool IsDefined(class System.Reflection.ParameterInfo element, class System.Type attributeType, bool inherit) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Reflection.CustomAttributeExtensions.IsDefined(System.Reflection.ParameterInfo,System.Type,System.Boolean)" />
<MemberSignature Language="VB.NET" Value="&lt;Extension()&gt;&#xA;Public Function IsDefined (element As ParameterInfo, attributeType As Type, inherit As Boolean) As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:&#xA;[System::Runtime::CompilerServices::Extension]&#xA; static bool IsDefined(System::Reflection::ParameterInfo ^ element, Type ^ attributeType, bool inherit);" />
<MemberSignature Language="F#" Value="static member IsDefined : System.Reflection.ParameterInfo * Type * bool -&gt; bool" Usage="System.Reflection.CustomAttributeExtensions.IsDefined (element, attributeType, inherit)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Reflection.Extensions</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<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>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Reflection.ParameterInfo" RefType="this" />
<Parameter Name="attributeType" Type="System.Type" />
<Parameter Name="inherit" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="element">The parameter to inspect.</param>
<param name="attributeType">The type of attribute to search for.</param>
<param name="inherit">
<see langword="true" /> to inspect the ancestors of <paramref name="element" />; otherwise, <see langword="false" />.</param>
<summary>Indicates whether custom attributes of a specified type are applied to a specified parameter, and, optionally, applied to its ancestors.</summary>
<returns>
<see langword="true" /> if an attribute of the specified type is applied to <paramref name="element" />; otherwise, <see langword="false" />.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="element" /> or <paramref name="attributeType" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentException">
<paramref name="attributeType" /> is not derived from <see cref="T:System.Attribute" />.</exception>
</Docs>
</Member>
</Members>
</Type>
You can’t perform that action at this time.