87 lines
3.4 KiB
C#
87 lines
3.4 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.ComponentModel
|
|
{
|
|
/// <summary>Enables attribute redirection. This class cannot be inherited.</summary>
|
|
// Token: 0x020000E8 RID: 232
|
|
[Token(Token = "0x20000E8")]
|
|
[AttributeUsage(AttributeTargets.Property)]
|
|
public class AttributeProviderAttribute : Attribute
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.AttributeProviderAttribute" /> class with the given type name.</summary>
|
|
/// <param name="typeName">The name of the type to specify.</param>
|
|
/// <exception cref="T:System.ArgumentNullException">
|
|
/// <paramref name="typeName" /> is <see langword="null" />.</exception>
|
|
// Token: 0x06000576 RID: 1398 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000576")]
|
|
[Address(RVA = "0x4932E0", Offset = "0x4920E0", VA = "0x1804932E0")]
|
|
public AttributeProviderAttribute(string typeName)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.AttributeProviderAttribute" /> class with the given type name and property name.</summary>
|
|
/// <param name="typeName">The name of the type to specify.</param>
|
|
/// <param name="propertyName">The name of the property for which attributes will be retrieved.</param>
|
|
/// <exception cref="T:System.ArgumentNullException">
|
|
/// <paramref name="propertyName" /> is <see langword="null" />.</exception>
|
|
// Token: 0x06000577 RID: 1399 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000577")]
|
|
[Address(RVA = "0x493140", Offset = "0x491F40", VA = "0x180493140")]
|
|
public AttributeProviderAttribute(string typeName, string propertyName)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.AttributeProviderAttribute" /> class with the given type.</summary>
|
|
/// <param name="type">The type to specify.</param>
|
|
/// <exception cref="T:System.ArgumentNullException">
|
|
/// <paramref name="type" /> is <see langword="null" />.</exception>
|
|
// Token: 0x06000578 RID: 1400 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000578")]
|
|
[Address(RVA = "0x493210", Offset = "0x492010", VA = "0x180493210")]
|
|
public AttributeProviderAttribute(Type type)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets the assembly qualified type name passed into the constructor.</summary>
|
|
/// <returns>The assembly qualified name of the type specified in the constructor.</returns>
|
|
// Token: 0x170000DE RID: 222
|
|
// (get) Token: 0x06000579 RID: 1401 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170000DE")]
|
|
public string TypeName
|
|
{
|
|
[Token(Token = "0x6000579")]
|
|
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the name of the property for which attributes will be retrieved.</summary>
|
|
/// <returns>The name of the property for which attributes will be retrieved.</returns>
|
|
// Token: 0x170000DF RID: 223
|
|
// (get) Token: 0x0600057A RID: 1402 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170000DF")]
|
|
public string PropertyName
|
|
{
|
|
[Token(Token = "0x600057A")]
|
|
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x04000444 RID: 1092
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4000444")]
|
|
private string _typeName;
|
|
|
|
// Token: 0x04000445 RID: 1093
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4000445")]
|
|
private string _propertyName;
|
|
}
|
|
}
|