using System;
using Cpp2IlInjected;
namespace System.Reflection
{
/// Contains static methods for retrieving custom attributes.
// Token: 0x02000202 RID: 514
[Token(Token = "0x2000202")]
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: 0x060013AB RID: 5035 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60013AB")]
[Address(RVA = "0x2A047C0", Offset = "0x2A035C0", VA = "0x182A047C0")]
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: 0x060013AC RID: 5036 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60013AC")]
[Address(RVA = "0x2A047A0", Offset = "0x2A035A0", VA = "0x182A047A0")]
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: 0x060013AD RID: 5037 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60013AD")]
[Address(RVA = "0x1295810", Offset = "0x1294610", VA = "0x181295810")]
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: 0x060013AE RID: 5038 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60013AE")]
[Address(RVA = "0x1295750", Offset = "0x1294550", VA = "0x181295750")]
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: 0x060013AF RID: 5039 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60013AF")]
[Address(RVA = "0x2A047D0", Offset = "0x2A035D0", VA = "0x182A047D0")]
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: 0x060013B0 RID: 5040 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60013B0")]
[Address(RVA = "0x2A047B0", Offset = "0x2A035B0", VA = "0x182A047B0")]
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: 0x060013B1 RID: 5041 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60013B1")]
[Address(RVA = "0x1295680", Offset = "0x1294480", VA = "0x181295680")]
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: 0x060013B2 RID: 5042 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60013B2")]
[Address(RVA = "0x12955B0", Offset = "0x12943B0", VA = "0x1812955B0")]
public static T GetCustomAttribute(this ParameterInfo element, bool inherit) where T : Attribute
{
return null;
}
}
}