This commit is contained in:
niko
2026-04-11 22:19:20 +02:00
parent 45b857ff11
commit 8fc35183db
17034 changed files with 2863552 additions and 0 deletions
+772
View File
@@ -0,0 +1,772 @@
using System;
using System.Collections;
using System.Globalization;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.ComponentModel
{
/// <summary>Provides a unified way of converting types of values to other types, as well as for accessing standard values and subproperties.</summary>
// Token: 0x02000192 RID: 402
[Token(Token = "0x2000192")]
[ComVisible(true)]
public class TypeConverter
{
// Token: 0x17000213 RID: 531
// (get) Token: 0x06000A92 RID: 2706 RVA: 0x00006300 File Offset: 0x00004500
[Token(Token = "0x17000213")]
private static bool UseCompatibleTypeConversion
{
[Token(Token = "0x6000A92")]
[Address(RVA = "0x4DBA50", Offset = "0x4DA850", VA = "0x1804DBA50")]
get
{
return default(bool);
}
}
/// <summary>Returns whether this converter can convert an object of the given type to the type of this converter.</summary>
/// <param name="sourceType">A <see cref="T:System.Type" /> that represents the type you want to convert from.</param>
/// <returns>
/// <see langword="true" /> if this converter can perform the conversion; otherwise, <see langword="false" />.</returns>
// Token: 0x06000A93 RID: 2707 RVA: 0x00006318 File Offset: 0x00004518
[Token(Token = "0x6000A93")]
[Address(RVA = "0x498180", Offset = "0x496F80", VA = "0x180498180")]
public bool CanConvertFrom(Type sourceType)
{
return default(bool);
}
/// <summary>Returns whether this converter can convert an object of the given type to the type of this converter, using the specified context.</summary>
/// <param name="context">An <see cref="T:System.ComponentModel.ITypeDescriptorContext" /> that provides a format context.</param>
/// <param name="sourceType">A <see cref="T:System.Type" /> that represents the type you want to convert from.</param>
/// <returns>
/// <see langword="true" /> if this converter can perform the conversion; otherwise, <see langword="false" />.</returns>
// Token: 0x06000A94 RID: 2708 RVA: 0x00006330 File Offset: 0x00004530
[Token(Token = "0x6000A94")]
[Address(RVA = "0x4DA8F0", Offset = "0x4D96F0", VA = "0x1804DA8F0", Slot = "4")]
public virtual bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
{
return default(bool);
}
/// <summary>Returns whether this converter can convert the object to the specified type.</summary>
/// <param name="destinationType">A <see cref="T:System.Type" /> that represents the type you want to convert to.</param>
/// <returns>
/// <see langword="true" /> if this converter can perform the conversion; otherwise, <see langword="false" />.</returns>
// Token: 0x06000A95 RID: 2709 RVA: 0x00006348 File Offset: 0x00004548
[Token(Token = "0x6000A95")]
[Address(RVA = "0x4DA9E0", Offset = "0x4D97E0", VA = "0x1804DA9E0")]
public bool CanConvertTo(Type destinationType)
{
return default(bool);
}
/// <summary>Returns whether this converter can convert the object to the specified type, using the specified context.</summary>
/// <param name="context">An <see cref="T:System.ComponentModel.ITypeDescriptorContext" /> that provides a format context.</param>
/// <param name="destinationType">A <see cref="T:System.Type" /> that represents the type you want to convert to.</param>
/// <returns>
/// <see langword="true" /> if this converter can perform the conversion; otherwise, <see langword="false" />.</returns>
// Token: 0x06000A96 RID: 2710 RVA: 0x00006360 File Offset: 0x00004560
[Token(Token = "0x6000A96")]
[Address(RVA = "0x4DA970", Offset = "0x4D9770", VA = "0x1804DA970", Slot = "5")]
public virtual bool CanConvertTo(ITypeDescriptorContext context, Type destinationType)
{
return default(bool);
}
/// <summary>Converts the given value to the type of this converter.</summary>
/// <param name="value">The <see cref="T:System.Object" /> to convert.</param>
/// <returns>An <see cref="T:System.Object" /> that represents the converted value.</returns>
/// <exception cref="T:System.NotSupportedException">The conversion cannot be performed.</exception>
// Token: 0x06000A97 RID: 2711 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000A97")]
[Address(RVA = "0x4DABF0", Offset = "0x4D99F0", VA = "0x1804DABF0")]
public object ConvertFrom(object value)
{
return null;
}
/// <summary>Converts the given object to the type of this converter, using the specified context and culture information.</summary>
/// <param name="context">An <see cref="T:System.ComponentModel.ITypeDescriptorContext" /> that provides a format context.</param>
/// <param name="culture">The <see cref="T:System.Globalization.CultureInfo" /> to use as the current culture.</param>
/// <param name="value">The <see cref="T:System.Object" /> to convert.</param>
/// <returns>An <see cref="T:System.Object" /> that represents the converted value.</returns>
/// <exception cref="T:System.NotSupportedException">The conversion cannot be performed.</exception>
// Token: 0x06000A98 RID: 2712 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000A98")]
[Address(RVA = "0x4DAC70", Offset = "0x4D9A70", VA = "0x1804DAC70", Slot = "6")]
public virtual object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
{
return null;
}
/// <summary>Converts the given string to the type of this converter, using the invariant culture.</summary>
/// <param name="text">The <see cref="T:System.String" /> to convert.</param>
/// <returns>An <see cref="T:System.Object" /> that represents the converted text.</returns>
/// <exception cref="T:System.NotSupportedException">The conversion cannot be performed.</exception>
// Token: 0x06000A99 RID: 2713 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000A99")]
[Address(RVA = "0x4DAA90", Offset = "0x4D9890", VA = "0x1804DAA90")]
public object ConvertFromInvariantString(string text)
{
return null;
}
/// <summary>Converts the given string to the type of this converter, using the invariant culture and the specified context.</summary>
/// <param name="context">An <see cref="T:System.ComponentModel.ITypeDescriptorContext" /> that provides a format context.</param>
/// <param name="text">The <see cref="T:System.String" /> to convert.</param>
/// <returns>An <see cref="T:System.Object" /> that represents the converted text.</returns>
/// <exception cref="T:System.NotSupportedException">The conversion cannot be performed.</exception>
// Token: 0x06000A9A RID: 2714 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000A9A")]
[Address(RVA = "0x4DAA00", Offset = "0x4D9800", VA = "0x1804DAA00")]
public object ConvertFromInvariantString(ITypeDescriptorContext context, string text)
{
return null;
}
/// <summary>Converts the specified text to an object.</summary>
/// <param name="text">The text representation of the object to convert.</param>
/// <returns>An <see cref="T:System.Object" /> that represents the converted text.</returns>
/// <exception cref="T:System.NotSupportedException">The string cannot be converted into the appropriate object.</exception>
// Token: 0x06000A9B RID: 2715 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000A9B")]
[Address(RVA = "0x4DABC0", Offset = "0x4D99C0", VA = "0x1804DABC0")]
public object ConvertFromString(string text)
{
return null;
}
/// <summary>Converts the given text to an object, using the specified context.</summary>
/// <param name="context">An <see cref="T:System.ComponentModel.ITypeDescriptorContext" /> that provides a format context.</param>
/// <param name="text">The <see cref="T:System.String" /> to convert.</param>
/// <returns>An <see cref="T:System.Object" /> that represents the converted text.</returns>
/// <exception cref="T:System.NotSupportedException">The conversion cannot be performed.</exception>
// Token: 0x06000A9C RID: 2716 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000A9C")]
[Address(RVA = "0x4DAB10", Offset = "0x4D9910", VA = "0x1804DAB10")]
public object ConvertFromString(ITypeDescriptorContext context, string text)
{
return null;
}
/// <summary>Converts the given text to an object, using the specified context and culture information.</summary>
/// <param name="context">An <see cref="T:System.ComponentModel.ITypeDescriptorContext" /> that provides a format context.</param>
/// <param name="culture">A <see cref="T:System.Globalization.CultureInfo" />. If <see langword="null" /> is passed, the current culture is assumed.</param>
/// <param name="text">The <see cref="T:System.String" /> to convert.</param>
/// <returns>An <see cref="T:System.Object" /> that represents the converted text.</returns>
/// <exception cref="T:System.NotSupportedException">The conversion cannot be performed.</exception>
// Token: 0x06000A9D RID: 2717 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000A9D")]
[Address(RVA = "0x4DABA0", Offset = "0x4D99A0", VA = "0x1804DABA0")]
public object ConvertFromString(ITypeDescriptorContext context, CultureInfo culture, string text)
{
return null;
}
/// <summary>Converts the given value object to the specified type, using the arguments.</summary>
/// <param name="value">The <see cref="T:System.Object" /> to convert.</param>
/// <param name="destinationType">The <see cref="T:System.Type" /> to convert the <paramref name="value" /> parameter to.</param>
/// <returns>An <see cref="T:System.Object" /> that represents the converted value.</returns>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="destinationType" /> parameter is <see langword="null" />.</exception>
/// <exception cref="T:System.NotSupportedException">The conversion cannot be performed.</exception>
// Token: 0x06000A9E RID: 2718 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000A9E")]
[Address(RVA = "0x4DB0C0", Offset = "0x4D9EC0", VA = "0x1804DB0C0")]
public object ConvertTo(object value, Type destinationType)
{
return null;
}
/// <summary>Converts the given value object to the specified type, using the specified context and culture information.</summary>
/// <param name="context">An <see cref="T:System.ComponentModel.ITypeDescriptorContext" /> that provides a format context.</param>
/// <param name="culture">A <see cref="T:System.Globalization.CultureInfo" />. If <see langword="null" /> is passed, the current culture is assumed.</param>
/// <param name="value">The <see cref="T:System.Object" /> to convert.</param>
/// <param name="destinationType">The <see cref="T:System.Type" /> to convert the <paramref name="value" /> parameter to.</param>
/// <returns>An <see cref="T:System.Object" /> that represents the converted value.</returns>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="destinationType" /> parameter is <see langword="null" />.</exception>
/// <exception cref="T:System.NotSupportedException">The conversion cannot be performed.</exception>
// Token: 0x06000A9F RID: 2719 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000A9F")]
[Address(RVA = "0x4DB0F0", Offset = "0x4D9EF0", VA = "0x1804DB0F0", Slot = "7")]
public virtual object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
{
return null;
}
/// <summary>Converts the specified value to a culture-invariant string representation.</summary>
/// <param name="value">The <see cref="T:System.Object" /> to convert.</param>
/// <returns>A <see cref="T:System.String" /> that represents the converted value.</returns>
/// <exception cref="T:System.NotSupportedException">The conversion cannot be performed.</exception>
// Token: 0x06000AA0 RID: 2720 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000AA0")]
[Address(RVA = "0x4DAD70", Offset = "0x4D9B70", VA = "0x1804DAD70")]
public string ConvertToInvariantString(object value)
{
return null;
}
/// <summary>Converts the specified value to a culture-invariant string representation, using the specified context.</summary>
/// <param name="context">An <see cref="T:System.ComponentModel.ITypeDescriptorContext" /> that provides a format context.</param>
/// <param name="value">The <see cref="T:System.Object" /> to convert.</param>
/// <returns>A <see cref="T:System.String" /> that represents the converted value.</returns>
/// <exception cref="T:System.NotSupportedException">The conversion cannot be performed.</exception>
// Token: 0x06000AA1 RID: 2721 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000AA1")]
[Address(RVA = "0x4DACE0", Offset = "0x4D9AE0", VA = "0x1804DACE0")]
public string ConvertToInvariantString(ITypeDescriptorContext context, object value)
{
return null;
}
/// <summary>Converts the specified value to a string representation.</summary>
/// <param name="value">The <see cref="T:System.Object" /> to convert.</param>
/// <returns>An <see cref="T:System.Object" /> that represents the converted value.</returns>
/// <exception cref="T:System.NotSupportedException">The conversion cannot be performed.</exception>
// Token: 0x06000AA2 RID: 2722 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000AA2")]
[Address(RVA = "0x4DAED0", Offset = "0x4D9CD0", VA = "0x1804DAED0")]
public string ConvertToString(object value)
{
return null;
}
/// <summary>Converts the given value to a string representation, using the given context.</summary>
/// <param name="context">An <see cref="T:System.ComponentModel.ITypeDescriptorContext" /> that provides a format context.</param>
/// <param name="value">The <see cref="T:System.Object" /> to convert.</param>
/// <returns>An <see cref="T:System.Object" /> that represents the converted value.</returns>
/// <exception cref="T:System.NotSupportedException">The conversion cannot be performed.</exception>
// Token: 0x06000AA3 RID: 2723 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000AA3")]
[Address(RVA = "0x4DAFC0", Offset = "0x4D9DC0", VA = "0x1804DAFC0")]
public string ConvertToString(ITypeDescriptorContext context, object value)
{
return null;
}
/// <summary>Converts the given value to a string representation, using the specified context and culture information.</summary>
/// <param name="context">An <see cref="T:System.ComponentModel.ITypeDescriptorContext" /> that provides a format context.</param>
/// <param name="culture">A <see cref="T:System.Globalization.CultureInfo" />. If <see langword="null" /> is passed, the current culture is assumed.</param>
/// <param name="value">The <see cref="T:System.Object" /> to convert.</param>
/// <returns>An <see cref="T:System.Object" /> that represents the converted value.</returns>
/// <exception cref="T:System.NotSupportedException">The conversion cannot be performed.</exception>
// Token: 0x06000AA4 RID: 2724 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000AA4")]
[Address(RVA = "0x4DADF0", Offset = "0x4D9BF0", VA = "0x1804DADF0")]
public string ConvertToString(ITypeDescriptorContext context, CultureInfo culture, object value)
{
return null;
}
/// <summary>Re-creates an <see cref="T:System.Object" /> given a set of property values for the object.</summary>
/// <param name="propertyValues">An <see cref="T:System.Collections.IDictionary" /> that represents a dictionary of new property values.</param>
/// <returns>An <see cref="T:System.Object" /> representing the given <see cref="T:System.Collections.IDictionary" />, or <see langword="null" /> if the object cannot be created. This method always returns <see langword="null" />.</returns>
// Token: 0x06000AA5 RID: 2725 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000AA5")]
[Address(RVA = "0x4DB2F0", Offset = "0x4DA0F0", VA = "0x1804DB2F0")]
public object CreateInstance(IDictionary propertyValues)
{
return null;
}
/// <summary>Creates an instance of the type that this <see cref="T:System.ComponentModel.TypeConverter" /> is associated with, using the specified context, given a set of property values for the object.</summary>
/// <param name="context">An <see cref="T:System.ComponentModel.ITypeDescriptorContext" /> that provides a format context.</param>
/// <param name="propertyValues">An <see cref="T:System.Collections.IDictionary" /> of new property values.</param>
/// <returns>An <see cref="T:System.Object" /> representing the given <see cref="T:System.Collections.IDictionary" />, or <see langword="null" /> if the object cannot be created. This method always returns <see langword="null" />.</returns>
// Token: 0x06000AA6 RID: 2726 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000AA6")]
[Address(RVA = "0x43E630", Offset = "0x43D430", VA = "0x18043E630", Slot = "8")]
public virtual object CreateInstance(ITypeDescriptorContext context, IDictionary propertyValues)
{
return null;
}
/// <summary>Returns an exception to throw when a conversion cannot be performed.</summary>
/// <param name="value">The <see cref="T:System.Object" /> to convert, or <see langword="null" /> if the object is not available.</param>
/// <returns>An <see cref="T:System.Exception" /> that represents the exception to throw when a conversion cannot be performed.</returns>
/// <exception cref="T:System.NotSupportedException">Automatically thrown by this method.</exception>
// Token: 0x06000AA7 RID: 2727 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000AA7")]
[Address(RVA = "0x4DB310", Offset = "0x4DA110", VA = "0x1804DB310")]
protected Exception GetConvertFromException(object value)
{
return null;
}
/// <summary>Returns an exception to throw when a conversion cannot be performed.</summary>
/// <param name="value">The <see cref="T:System.Object" /> to convert, or <see langword="null" /> if the object is not available.</param>
/// <param name="destinationType">A <see cref="T:System.Type" /> that represents the type the conversion was trying to convert to.</param>
/// <returns>An <see cref="T:System.Exception" /> that represents the exception to throw when a conversion cannot be performed.</returns>
/// <exception cref="T:System.NotSupportedException">Automatically thrown by this method.</exception>
// Token: 0x06000AA8 RID: 2728 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000AA8")]
[Address(RVA = "0x4DB450", Offset = "0x4DA250", VA = "0x1804DB450")]
protected Exception GetConvertToException(object value, Type destinationType)
{
return null;
}
/// <summary>Returns whether changing a value on this object requires a call to the <see cref="M:System.ComponentModel.TypeConverter.CreateInstance(System.Collections.IDictionary)" /> method to create a new value.</summary>
/// <returns>
/// <see langword="true" /> if changing a property on this object requires a call to <see cref="M:System.ComponentModel.TypeConverter.CreateInstance(System.Collections.IDictionary)" /> to create a new value; otherwise, <see langword="false" />.</returns>
// Token: 0x06000AA9 RID: 2729 RVA: 0x00006378 File Offset: 0x00004578
[Token(Token = "0x6000AA9")]
[Address(RVA = "0x4DB5D0", Offset = "0x4DA3D0", VA = "0x1804DB5D0")]
public bool GetCreateInstanceSupported()
{
return default(bool);
}
/// <summary>Returns whether changing a value on this object requires a call to <see cref="M:System.ComponentModel.TypeConverter.CreateInstance(System.Collections.IDictionary)" /> to create a new value, using the specified context.</summary>
/// <param name="context">An <see cref="T:System.ComponentModel.ITypeDescriptorContext" /> that provides a format context.</param>
/// <returns>
/// <see langword="true" /> if changing a property on this object requires a call to <see cref="M:System.ComponentModel.TypeConverter.CreateInstance(System.Collections.IDictionary)" /> to create a new value; otherwise, <see langword="false" />.</returns>
// Token: 0x06000AAA RID: 2730 RVA: 0x00006390 File Offset: 0x00004590
[Token(Token = "0x6000AAA")]
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", Slot = "9")]
public virtual bool GetCreateInstanceSupported(ITypeDescriptorContext context)
{
return default(bool);
}
/// <summary>Returns a collection of properties for the type of array specified by the value parameter.</summary>
/// <param name="value">An <see cref="T:System.Object" /> that specifies the type of array for which to get properties.</param>
/// <returns>A <see cref="T:System.ComponentModel.PropertyDescriptorCollection" /> with the properties that are exposed for this data type, or <see langword="null" /> if there are no properties.</returns>
// Token: 0x06000AAB RID: 2731 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000AAB")]
[Address(RVA = "0x4DB610", Offset = "0x4DA410", VA = "0x1804DB610")]
public PropertyDescriptorCollection GetProperties(object value)
{
return null;
}
/// <summary>Returns a collection of properties for the type of array specified by the value parameter, using the specified context.</summary>
/// <param name="context">An <see cref="T:System.ComponentModel.ITypeDescriptorContext" /> that provides a format context.</param>
/// <param name="value">An <see cref="T:System.Object" /> that specifies the type of array for which to get properties.</param>
/// <returns>A <see cref="T:System.ComponentModel.PropertyDescriptorCollection" /> with the properties that are exposed for this data type, or <see langword="null" /> if there are no properties.</returns>
// Token: 0x06000AAC RID: 2732 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000AAC")]
[Address(RVA = "0x4DB710", Offset = "0x4DA510", VA = "0x1804DB710")]
public PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, object value)
{
return null;
}
/// <summary>Returns a collection of properties for the type of array specified by the value parameter, using the specified context and attributes.</summary>
/// <param name="context">An <see cref="T:System.ComponentModel.ITypeDescriptorContext" /> that provides a format context.</param>
/// <param name="value">An <see cref="T:System.Object" /> that specifies the type of array for which to get properties.</param>
/// <param name="attributes">An array of type <see cref="T:System.Attribute" /> that is used as a filter.</param>
/// <returns>A <see cref="T:System.ComponentModel.PropertyDescriptorCollection" /> with the properties that are exposed for this data type, or <see langword="null" /> if there are no properties.</returns>
// Token: 0x06000AAD RID: 2733 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000AAD")]
[Address(RVA = "0x43E630", Offset = "0x43D430", VA = "0x18043E630", Slot = "10")]
public virtual PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, object value, Attribute[] attributes)
{
return null;
}
/// <summary>Returns whether this object supports properties.</summary>
/// <returns>
/// <see langword="true" /> if <see cref="M:System.ComponentModel.TypeConverter.GetProperties(System.Object)" /> should be called to find the properties of this object; otherwise, <see langword="false" />.</returns>
// Token: 0x06000AAE RID: 2734 RVA: 0x000063A8 File Offset: 0x000045A8
[Token(Token = "0x6000AAE")]
[Address(RVA = "0x4DB5F0", Offset = "0x4DA3F0", VA = "0x1804DB5F0")]
public bool GetPropertiesSupported()
{
return default(bool);
}
/// <summary>Returns whether this object supports properties, using the specified context.</summary>
/// <param name="context">An <see cref="T:System.ComponentModel.ITypeDescriptorContext" /> that provides a format context.</param>
/// <returns>
/// <see langword="true" /> if <see cref="M:System.ComponentModel.TypeConverter.GetProperties(System.Object)" /> should be called to find the properties of this object; otherwise, <see langword="false" />.</returns>
// Token: 0x06000AAF RID: 2735 RVA: 0x000063C0 File Offset: 0x000045C0
[Token(Token = "0x6000AAF")]
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", Slot = "11")]
public virtual bool GetPropertiesSupported(ITypeDescriptorContext context)
{
return default(bool);
}
/// <summary>Returns a collection of standard values from the default context for the data type this type converter is designed for.</summary>
/// <returns>A <see cref="T:System.ComponentModel.TypeConverter.StandardValuesCollection" /> containing a standard set of valid values, or <see langword="null" /> if the data type does not support a standard set of values.</returns>
// Token: 0x06000AB0 RID: 2736 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000AB0")]
[Address(RVA = "0x4DB860", Offset = "0x4DA660", VA = "0x1804DB860")]
public ICollection GetStandardValues()
{
return null;
}
/// <summary>Returns a collection of standard values for the data type this type converter is designed for when provided with a format context.</summary>
/// <param name="context">An <see cref="T:System.ComponentModel.ITypeDescriptorContext" /> that provides a format context that can be used to extract additional information about the environment from which this converter is invoked. This parameter or properties of this parameter can be <see langword="null" />.</param>
/// <returns>A <see cref="T:System.ComponentModel.TypeConverter.StandardValuesCollection" /> that holds a standard set of valid values, or <see langword="null" /> if the data type does not support a standard set of values.</returns>
// Token: 0x06000AB1 RID: 2737 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000AB1")]
[Address(RVA = "0x43E630", Offset = "0x43D430", VA = "0x18043E630", Slot = "12")]
public virtual TypeConverter.StandardValuesCollection GetStandardValues(ITypeDescriptorContext context)
{
return null;
}
/// <summary>Returns whether the collection of standard values returned from <see cref="M:System.ComponentModel.TypeConverter.GetStandardValues" /> is an exclusive list.</summary>
/// <returns>
/// <see langword="true" /> if the <see cref="T:System.ComponentModel.TypeConverter.StandardValuesCollection" /> returned from <see cref="M:System.ComponentModel.TypeConverter.GetStandardValues" /> is an exhaustive list of possible values; <see langword="false" /> if other values are possible.</returns>
// Token: 0x06000AB2 RID: 2738 RVA: 0x000063D8 File Offset: 0x000045D8
[Token(Token = "0x6000AB2")]
[Address(RVA = "0x4DB820", Offset = "0x4DA620", VA = "0x1804DB820")]
public bool GetStandardValuesExclusive()
{
return default(bool);
}
/// <summary>Returns whether the collection of standard values returned from <see cref="M:System.ComponentModel.TypeConverter.GetStandardValues" /> is an exclusive list of possible values, using the specified context.</summary>
/// <param name="context">An <see cref="T:System.ComponentModel.ITypeDescriptorContext" /> that provides a format context.</param>
/// <returns>
/// <see langword="true" /> if the <see cref="T:System.ComponentModel.TypeConverter.StandardValuesCollection" /> returned from <see cref="M:System.ComponentModel.TypeConverter.GetStandardValues" /> is an exhaustive list of possible values; <see langword="false" /> if other values are possible.</returns>
// Token: 0x06000AB3 RID: 2739 RVA: 0x000063F0 File Offset: 0x000045F0
[Token(Token = "0x6000AB3")]
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", Slot = "13")]
public virtual bool GetStandardValuesExclusive(ITypeDescriptorContext context)
{
return default(bool);
}
/// <summary>Returns whether this object supports a standard set of values that can be picked from a list.</summary>
/// <returns>
/// <see langword="true" /> if <see cref="M:System.ComponentModel.TypeConverter.GetStandardValues" /> should be called to find a common set of values the object supports; otherwise, <see langword="false" />.</returns>
// Token: 0x06000AB4 RID: 2740 RVA: 0x00006408 File Offset: 0x00004608
[Token(Token = "0x6000AB4")]
[Address(RVA = "0x4DB840", Offset = "0x4DA640", VA = "0x1804DB840")]
public bool GetStandardValuesSupported()
{
return default(bool);
}
/// <summary>Returns whether this object supports a standard set of values that can be picked from a list, using the specified context.</summary>
/// <param name="context">An <see cref="T:System.ComponentModel.ITypeDescriptorContext" /> that provides a format context.</param>
/// <returns>
/// <see langword="true" /> if <see cref="M:System.ComponentModel.TypeConverter.GetStandardValues" /> should be called to find a common set of values the object supports; otherwise, <see langword="false" />.</returns>
// Token: 0x06000AB5 RID: 2741 RVA: 0x00006420 File Offset: 0x00004620
[Token(Token = "0x6000AB5")]
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", Slot = "14")]
public virtual bool GetStandardValuesSupported(ITypeDescriptorContext context)
{
return default(bool);
}
/// <summary>Returns whether the given value object is valid for this type.</summary>
/// <param name="value">The object to test for validity.</param>
/// <returns>
/// <see langword="true" /> if the specified value is valid for this object; otherwise, <see langword="false" />.</returns>
// Token: 0x06000AB6 RID: 2742 RVA: 0x00006438 File Offset: 0x00004638
[Token(Token = "0x6000AB6")]
[Address(RVA = "0x4DB880", Offset = "0x4DA680", VA = "0x1804DB880")]
public bool IsValid(object value)
{
return default(bool);
}
/// <summary>Returns whether the given value object is valid for this type and for the specified context.</summary>
/// <param name="context">An <see cref="T:System.ComponentModel.ITypeDescriptorContext" /> that provides a format context.</param>
/// <param name="value">The <see cref="T:System.Object" /> to test for validity.</param>
/// <returns>
/// <see langword="true" /> if the specified value is valid for this object; otherwise, <see langword="false" />.</returns>
// Token: 0x06000AB7 RID: 2743 RVA: 0x00006450 File Offset: 0x00004650
[Token(Token = "0x6000AB7")]
[Address(RVA = "0x4DB8A0", Offset = "0x4DA6A0", VA = "0x1804DB8A0", Slot = "15")]
public virtual bool IsValid(ITypeDescriptorContext context, object value)
{
return default(bool);
}
/// <summary>Sorts a collection of properties.</summary>
/// <param name="props">A <see cref="T:System.ComponentModel.PropertyDescriptorCollection" /> that has the properties to sort.</param>
/// <param name="names">An array of names in the order you want the properties to appear in the collection.</param>
/// <returns>A <see cref="T:System.ComponentModel.PropertyDescriptorCollection" /> that contains the sorted properties.</returns>
// Token: 0x06000AB8 RID: 2744 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000AB8")]
[Address(RVA = "0x4DBA10", Offset = "0x4DA810", VA = "0x1804DBA10")]
protected PropertyDescriptorCollection SortProperties(PropertyDescriptorCollection props, string[] names)
{
return null;
}
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.TypeConverter" /> class.</summary>
// Token: 0x06000AB9 RID: 2745 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000AB9")]
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
public TypeConverter()
{
}
// Token: 0x040005F9 RID: 1529
[Token(Token = "0x40005F9")]
private const string s_UseCompatibleTypeConverterBehavior = "UseCompatibleTypeConverterBehavior";
// Token: 0x040005FA RID: 1530
[Token(Token = "0x40005FA")]
private static bool useCompatibleTypeConversion;
/// <summary>Represents an <see langword="abstract" /> class that provides properties for objects that do not have properties.</summary>
// Token: 0x02000193 RID: 403
[Token(Token = "0x2000193")]
protected abstract class SimplePropertyDescriptor : PropertyDescriptor
{
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.TypeConverter.SimplePropertyDescriptor" /> class.</summary>
/// <param name="componentType">A <see cref="T:System.Type" /> that represents the type of component to which this property descriptor binds.</param>
/// <param name="name">The name of the property.</param>
/// <param name="propertyType">A <see cref="T:System.Type" /> that represents the data type for this property.</param>
// Token: 0x06000ABB RID: 2747 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000ABB")]
[Address(RVA = "0x4D8BF0", Offset = "0x4D79F0", VA = "0x1804D8BF0")]
protected SimplePropertyDescriptor(Type componentType, string name, Type propertyType)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.TypeConverter.SimplePropertyDescriptor" /> class.</summary>
/// <param name="componentType">A <see cref="T:System.Type" /> that represents the type of component to which this property descriptor binds.</param>
/// <param name="name">The name of the property.</param>
/// <param name="propertyType">A <see cref="T:System.Type" /> that represents the data type for this property.</param>
/// <param name="attributes">An <see cref="T:System.Attribute" /> array with the attributes to associate with the property.</param>
// Token: 0x06000ABC RID: 2748 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000ABC")]
[Address(RVA = "0x4D8C70", Offset = "0x4D7A70", VA = "0x1804D8C70")]
protected SimplePropertyDescriptor(Type componentType, string name, Type propertyType, Attribute[] attributes)
{
}
/// <summary>Gets the type of component to which this property description binds.</summary>
/// <returns>A <see cref="T:System.Type" /> that represents the type of component to which this property binds.</returns>
// Token: 0x17000214 RID: 532
// (get) Token: 0x06000ABD RID: 2749 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000214")]
public override Type ComponentType
{
[Token(Token = "0x6000ABD")]
[Address(RVA = "0x44EC80", Offset = "0x44DA80", VA = "0x18044EC80", Slot = "17")]
get
{
return null;
}
}
/// <summary>Gets a value indicating whether this property is read-only.</summary>
/// <returns>
/// <see langword="true" /> if the property is read-only; <see langword="false" /> if the property is read/write.</returns>
// Token: 0x17000215 RID: 533
// (get) Token: 0x06000ABE RID: 2750 RVA: 0x00006468 File Offset: 0x00004668
[Token(Token = "0x17000215")]
public override bool IsReadOnly
{
[Token(Token = "0x6000ABE")]
[Address(RVA = "0x4D8CC0", Offset = "0x4D7AC0", VA = "0x1804D8CC0", Slot = "20")]
get
{
return default(bool);
}
}
/// <summary>Gets the type of the property.</summary>
/// <returns>A <see cref="T:System.Type" /> that represents the type of the property.</returns>
// Token: 0x17000216 RID: 534
// (get) Token: 0x06000ABF RID: 2751 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000216")]
public override Type PropertyType
{
[Token(Token = "0x6000ABF")]
[Address(RVA = "0x44EC40", Offset = "0x44DA40", VA = "0x18044EC40", Slot = "21")]
get
{
return null;
}
}
/// <summary>Returns whether resetting the component changes the value of the component.</summary>
/// <param name="component">The component to test for reset capability.</param>
/// <returns>
/// <see langword="true" /> if resetting the component changes the value of the component; otherwise, <see langword="false" />.</returns>
// Token: 0x06000AC0 RID: 2752 RVA: 0x00006480 File Offset: 0x00004680
[Token(Token = "0x6000AC0")]
[Address(RVA = "0x4D8970", Offset = "0x4D7770", VA = "0x1804D8970", Slot = "23")]
public override bool CanResetValue(object component)
{
return default(bool);
}
/// <summary>Resets the value for this property of the component.</summary>
/// <param name="component">The component with the property value to be reset.</param>
// Token: 0x06000AC1 RID: 2753 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000AC1")]
[Address(RVA = "0x4D8AC0", Offset = "0x4D78C0", VA = "0x1804D8AC0", Slot = "29")]
public override void ResetValue(object component)
{
}
/// <summary>Returns whether the value of this property can persist.</summary>
/// <param name="component">The component with the property that is to be examined for persistence.</param>
/// <returns>
/// <see langword="true" /> if the value of the property can persist; otherwise, <see langword="false" />.</returns>
// Token: 0x06000AC2 RID: 2754 RVA: 0x00006498 File Offset: 0x00004698
[Token(Token = "0x6000AC2")]
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", Slot = "31")]
public override bool ShouldSerializeValue(object component)
{
return default(bool);
}
// Token: 0x040005FB RID: 1531
[global::Cpp2IlInjected.FieldOffset(Offset = "0x88")]
[Token(Token = "0x40005FB")]
private Type componentType;
// Token: 0x040005FC RID: 1532
[global::Cpp2IlInjected.FieldOffset(Offset = "0x90")]
[Token(Token = "0x40005FC")]
private Type propertyType;
}
/// <summary>Represents a collection of values.</summary>
// Token: 0x02000194 RID: 404
[Token(Token = "0x2000194")]
public class StandardValuesCollection : ICollection, IEnumerable
{
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.TypeConverter.StandardValuesCollection" /> class.</summary>
/// <param name="values">An <see cref="T:System.Collections.ICollection" /> that represents the objects to put into the collection.</param>
// Token: 0x06000AC3 RID: 2755 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000AC3")]
[Address(RVA = "0x4D90C0", Offset = "0x4D7EC0", VA = "0x1804D90C0")]
public StandardValuesCollection(ICollection values)
{
}
/// <summary>Gets the number of objects in the collection.</summary>
/// <returns>The number of objects in the collection.</returns>
// Token: 0x17000217 RID: 535
// (get) Token: 0x06000AC4 RID: 2756 RVA: 0x000064B0 File Offset: 0x000046B0
[Token(Token = "0x17000217")]
public int Count
{
[Token(Token = "0x6000AC4")]
[Address(RVA = "0x4D9060", Offset = "0x4D7E60", VA = "0x1804D9060")]
get
{
return 0;
}
}
/// <summary>Gets the object at the specified index number.</summary>
/// <param name="index">The zero-based index of the <see cref="T:System.Object" /> to get from the collection.</param>
/// <returns>The <see cref="T:System.Object" /> with the specified index.</returns>
// Token: 0x17000218 RID: 536
[Token(Token = "0x17000218")]
public object this[int index]
{
[Token(Token = "0x6000AC5")]
[Address(RVA = "0x4D9170", Offset = "0x4D7F70", VA = "0x1804D9170")]
get
{
return null;
}
}
/// <summary>Copies the contents of this collection to an array.</summary>
/// <param name="array">An <see cref="T:System.Array" /> that represents the array to copy to.</param>
/// <param name="index">The index to start from.</param>
// Token: 0x06000AC6 RID: 2758 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000AC6")]
[Address(RVA = "0x4D8FA0", Offset = "0x4D7DA0", VA = "0x1804D8FA0")]
public void CopyTo(Array array, int index)
{
}
/// <summary>Returns an enumerator for this collection.</summary>
/// <returns>An enumerator of type <see cref="T:System.Collections.IEnumerator" />.</returns>
// Token: 0x06000AC7 RID: 2759 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000AC7")]
[Address(RVA = "0x4D9010", Offset = "0x4D7E10", VA = "0x1804D9010")]
public IEnumerator GetEnumerator()
{
return null;
}
/// <summary>For a description of this member, see <see cref="P:System.Collections.ICollection.Count" />.</summary>
/// <returns>The number of elements contained in the <see cref="T:System.Collections.ICollection" />.</returns>
// Token: 0x17000219 RID: 537
// (get) Token: 0x06000AC8 RID: 2760 RVA: 0x000064C8 File Offset: 0x000046C8
[Token(Token = "0x17000219")]
int ICollection.Count
{
[Token(Token = "0x6000AC8")]
[Address(RVA = "0x4D9060", Offset = "0x4D7E60", VA = "0x1804D9060", Slot = "5")]
get
{
return 0;
}
}
/// <summary>For a description of this member, see <see cref="P:System.Collections.ICollection.IsSynchronized" />.</summary>
/// <returns>
/// <see langword="false" /> in all cases.</returns>
// Token: 0x1700021A RID: 538
// (get) Token: 0x06000AC9 RID: 2761 RVA: 0x000064E0 File Offset: 0x000046E0
[Token(Token = "0x1700021A")]
bool ICollection.IsSynchronized
{
[Token(Token = "0x6000AC9")]
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", Slot = "7")]
get
{
return default(bool);
}
}
/// <summary>For a description of this member, see <see cref="P:System.Collections.ICollection.SyncRoot" />.</summary>
/// <returns>
/// <see langword="null" /> in all cases.</returns>
// Token: 0x1700021B RID: 539
// (get) Token: 0x06000ACA RID: 2762 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700021B")]
object ICollection.SyncRoot
{
[Token(Token = "0x6000ACA")]
[Address(RVA = "0x43E630", Offset = "0x43D430", VA = "0x18043E630", Slot = "6")]
get
{
return null;
}
}
/// <summary>Copies the contents of this collection to an array.</summary>
/// <param name="array">The array to copy to.</param>
/// <param name="index">The index in the array where copying should begin.</param>
// Token: 0x06000ACB RID: 2763 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000ACB")]
[Address(RVA = "0x4D8FA0", Offset = "0x4D7DA0", VA = "0x1804D8FA0", Slot = "4")]
void ICollection.CopyTo(Array array, int index)
{
}
/// <summary>For a description of this member, see <see cref="M:System.Collections.IEnumerable.GetEnumerator" />.</summary>
/// <returns>An <see cref="T:System.Collections.IEnumerator" /> that can be used to iterate through the collection.</returns>
// Token: 0x06000ACC RID: 2764 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000ACC")]
[Address(RVA = "0x4D9010", Offset = "0x4D7E10", VA = "0x1804D9010", Slot = "8")]
IEnumerator IEnumerable.GetEnumerator()
{
return null;
}
// Token: 0x040005FD RID: 1533
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x40005FD")]
private ICollection values;
// Token: 0x040005FE RID: 1534
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x40005FE")]
private Array valueArray;
}
}
}