Files
Apr2020-Cpp2Il-Dump/System/ComponentModel/TypeConverterAttribute.cs
T
niko 8fc35183db a
2026-04-11 22:19:20 +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: 0x02000195 RID: 405
[Token(Token = "0x2000195")]
[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: 0x06000ACD RID: 2765 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000ACD")]
[Address(RVA = "0x4DA8A0", Offset = "0x4D96A0", VA = "0x1804DA8A0")]
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: 0x06000ACE RID: 2766 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000ACE")]
[Address(RVA = "0x4DA7C0", Offset = "0x4D95C0", VA = "0x1804DA7C0")]
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: 0x06000ACF RID: 2767 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000ACF")]
[Address(RVA = "0x4DA810", Offset = "0x4D9610", VA = "0x1804DA810")]
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: 0x1700021C RID: 540
// (get) Token: 0x06000AD0 RID: 2768 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700021C")]
public string ConverterTypeName
{
[Token(Token = "0x6000AD0")]
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
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: 0x06000AD1 RID: 2769 RVA: 0x000064F8 File Offset: 0x000046F8
[Token(Token = "0x6000AD1")]
[Address(RVA = "0x4DA690", Offset = "0x4D9490", VA = "0x1804DA690", 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: 0x06000AD2 RID: 2770 RVA: 0x00006510 File Offset: 0x00004710
[Token(Token = "0x6000AD2")]
[Address(RVA = "0x4DA700", Offset = "0x4D9500", VA = "0x1804DA700", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
// Token: 0x040005FF RID: 1535
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x40005FF")]
private string typeName;
/// <summary>Specifies the type to use as a converter for the object this attribute is bound to.</summary>
// Token: 0x04000600 RID: 1536
[Token(Token = "0x4000600")]
public static readonly TypeConverterAttribute Default;
}
}