Files
27Aug2021-Cpp2IL-Dump/System/ComponentModel/TypeConverterAttribute.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

86 lines
4.1 KiB
C#

using System;
using Cpp2IlInjected;
namespace System.ComponentModel
{
/// <summary>Specifies what type to use as a converter for the object this attribute is bound to.</summary>
// Token: 0x02000191 RID: 401
[Token(Token = "0x2000191")]
[AttributeUsage(AttributeTargets.All)]
public sealed class TypeConverterAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.TypeConverterAttribute" /> class with the default type converter, which is an empty string ("").</summary>
// Token: 0x06000AB7 RID: 2743 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000AB7")]
[Address(RVA = "0xC2A220", Offset = "0xC29220", VA = "0x180C2A220")]
public TypeConverterAttribute()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.TypeConverterAttribute" /> class, using the specified type as the data converter for the object this attribute is bound to.</summary>
/// <param name="type">A <see cref="T:System.Type" /> that represents the type of the converter class to use for data conversion for the object this attribute is bound to.</param>
// Token: 0x06000AB8 RID: 2744 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000AB8")]
[Address(RVA = "0xC2A140", Offset = "0xC29140", VA = "0x180C2A140")]
public TypeConverterAttribute(Type type)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.TypeConverterAttribute" /> class, using the specified type name as the data converter for the object this attribute is bound to.</summary>
/// <param name="typeName">The fully qualified name of the class to use for data conversion for the object this attribute is bound to.</param>
// Token: 0x06000AB9 RID: 2745 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000AB9")]
[Address(RVA = "0xC2A190", Offset = "0xC29190", VA = "0x180C2A190")]
public TypeConverterAttribute(string typeName)
{
}
/// <summary>Gets the fully qualified type name of the <see cref="T:System.Type" /> to use as a converter for the object this attribute is bound to.</summary>
/// <returns>The fully qualified type name of the <see cref="T:System.Type" /> to use as a converter for the object this attribute is bound to, or an empty string ("") if none exists. The default value is an empty string ("").</returns>
// Token: 0x17000218 RID: 536
// (get) Token: 0x06000ABA RID: 2746 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000218")]
public string ConverterTypeName
{
[Token(Token = "0x6000ABA")]
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
get
{
return null;
}
}
/// <summary>Returns whether the value of the given object is equal to the current <see cref="T:System.ComponentModel.TypeConverterAttribute" />.</summary>
/// <param name="obj">The object to test the value equality of.</param>
/// <returns>
/// <see langword="true" /> if the value of the given object is equal to that of the current <see cref="T:System.ComponentModel.TypeConverterAttribute" />; otherwise, <see langword="false" />.</returns>
// Token: 0x06000ABB RID: 2747 RVA: 0x000064E0 File Offset: 0x000046E0
[Token(Token = "0x6000ABB")]
[Address(RVA = "0xC2A040", Offset = "0xC29040", VA = "0x180C2A040", Slot = "0")]
public override bool Equals(object obj)
{
return default(bool);
}
/// <summary>Returns the hash code for this instance.</summary>
/// <returns>A hash code for the current <see cref="T:System.ComponentModel.TypeConverterAttribute" />.</returns>
// Token: 0x06000ABC RID: 2748 RVA: 0x000064F8 File Offset: 0x000046F8
[Token(Token = "0x6000ABC")]
[Address(RVA = "0x40F2B0", Offset = "0x40E2B0", VA = "0x18040F2B0", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
// Token: 0x040005F2 RID: 1522
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x40005F2")]
private string typeName;
/// <summary>Specifies the type to use as a converter for the object this attribute is bound to.</summary>
// Token: 0x040005F3 RID: 1523
[Token(Token = "0x40005F3")]
public static readonly TypeConverterAttribute Default;
}
}