using System;
using Cpp2IlInjected;
namespace System.Reflection
{
/// Contains static methods for retrieving custom attributes.
// Token: 0x02000209 RID: 521
[Token(Token = "0x2000209")]
public static class CustomAttributeExtensions
{
/// Retrieves a custom attribute of a specified type that is applied to a specified assembly.
/// The assembly to inspect.
/// The type of attribute to search for.
/// A custom attribute that matches , or if no such attribute is found.
///
/// or is .
///
/// is not derived from .
/// More than one of the requested attributes was found.
// Token: 0x060013E9 RID: 5097 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60013E9")]
[Address(RVA = "0x30B6920", Offset = "0x30B5920", VA = "0x1830B6920")]
public static Attribute GetCustomAttribute(this Assembly element, Type attributeType)
{
return null;
}
/// Retrieves a custom attribute of a specified type that is applied to a specified member.
/// The member to inspect.
/// The type of attribute to search for.
/// A custom attribute that matches , or if no such attribute is found.
///
/// or is .
///
/// is not derived from .
///
/// is not a constructor, method, property, event, type, or field.
/// More than one of the requested attributes was found.
/// A custom attribute type cannot be loaded.
// Token: 0x060013EA RID: 5098 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60013EA")]
[Address(RVA = "0x30B6900", Offset = "0x30B5900", VA = "0x1830B6900")]
public static Attribute GetCustomAttribute(this MemberInfo element, Type attributeType)
{
return null;
}
/// Retrieves a custom attribute of a specified type that is applied to a specified assembly.
/// The assembly to inspect.
/// The type of attribute to search for.
/// A custom attribute that matches , or if no such attribute is found.
///
/// is .
/// More than one of the requested attributes was found.
// Token: 0x060013EB RID: 5099 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60013EB")]
[Address(RVA = "0x1E52830", Offset = "0x1E51830", VA = "0x181E52830")]
public static T GetCustomAttribute(this Assembly element) where T : Attribute
{
return null;
}
/// Retrieves a custom attribute of a specified type that is applied to a specified member.
/// The member to inspect.
/// The type of attribute to search for.
/// A custom attribute that matches , or if no such attribute is found.
///
/// is .
///
/// is not a constructor, method, property, event, type, or field.
/// More than one of the requested attributes was found.
/// A custom attribute type cannot be loaded.
// Token: 0x060013EC RID: 5100 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60013EC")]
[Address(RVA = "0x1E52770", Offset = "0x1E51770", VA = "0x181E52770")]
public static T GetCustomAttribute(this MemberInfo element) where T : Attribute
{
return null;
}
/// Retrieves a custom attribute of a specified type that is applied to a specified member, and optionally inspects the ancestors of that member.
/// The member to inspect.
/// The type of attribute to search for.
///
/// to inspect the ancestors of ; otherwise, .
/// A custom attribute that matches , or if no such attribute is found.
///
/// or is .
///
/// is not derived from .
///
/// is not a constructor, method, property, event, type, or field.
/// More than one of the requested attributes was found.
/// A custom attribute type cannot be loaded.
// Token: 0x060013ED RID: 5101 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60013ED")]
[Address(RVA = "0x30B6930", Offset = "0x30B5930", VA = "0x1830B6930")]
public static Attribute GetCustomAttribute(this MemberInfo element, Type attributeType, bool inherit)
{
return null;
}
/// Retrieves a custom attribute of a specified type that is applied to a specified parameter, and optionally inspects the ancestors of that parameter.
/// The parameter to inspect.
/// The type of attribute to search for.
///
/// to inspect the ancestors of ; otherwise, .
/// A custom attribute matching , or if no such attribute is found.
///
/// or is .
///
/// is not derived from .
/// More than one of the requested attributes was found.
/// A custom attribute type cannot be loaded.
// Token: 0x060013EE RID: 5102 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60013EE")]
[Address(RVA = "0x30B6910", Offset = "0x30B5910", VA = "0x1830B6910")]
public static Attribute GetCustomAttribute(this ParameterInfo element, Type attributeType, bool inherit)
{
return null;
}
/// Retrieves a custom attribute of a specified type that is applied to a specified member, and optionally inspects the ancestors of that member.
/// The member to inspect.
///
/// to inspect the ancestors of ; otherwise, .
/// The type of attribute to search for.
/// A custom attribute that matches , or if no such attribute is found.
///
/// is .
///
/// is not a constructor, method, property, event, type, or field.
/// More than one of the requested attributes was found.
/// A custom attribute type cannot be loaded.
// Token: 0x060013EF RID: 5103 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60013EF")]
[Address(RVA = "0x1E526A0", Offset = "0x1E516A0", VA = "0x181E526A0")]
public static T GetCustomAttribute(this MemberInfo element, bool inherit) where T : Attribute
{
return null;
}
/// Retrieves a custom attribute of a specified type that is applied to a specified parameter, and optionally inspects the ancestors of that parameter.
/// The parameter to inspect.
///
/// to inspect the ancestors of ; otherwise, .
/// The type of attribute to search for.
/// A custom attribute that matches , or if no such attribute is found.
///
/// is .
///
/// is not a constructor, method, property, event, type, or field.
/// More than one of the requested attributes was found.
/// A custom attribute type cannot be loaded.
// Token: 0x060013F0 RID: 5104 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60013F0")]
[Address(RVA = "0x1E525D0", Offset = "0x1E515D0", VA = "0x181E525D0")]
public static T GetCustomAttribute(this ParameterInfo element, bool inherit) where T : Attribute
{
return null;
}
}
}