Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

95 lines
4.7 KiB
C#

using System;
using System.Globalization;
using Cpp2IlInjected;
namespace System.ComponentModel
{
/// <summary>Provides a type converter to convert <see cref="T:System.Array" /> objects to and from various other representations.</summary>
// Token: 0x020000DB RID: 219
[Token(Token = "0x20000DB")]
public class ArrayConverter : CollectionConverter
{
/// <summary>Converts the given value object to the specified destination type.</summary>
/// <param name="context">An <see cref="T:System.ComponentModel.ITypeDescriptorContext" /> that provides a format context.</param>
/// <param name="culture">The culture into which <paramref name="value" /> will be converted.</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 value to.</param>
/// <returns>An <see cref="T:System.Object" /> that represents the converted value.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="destinationType" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.NotSupportedException">The conversion cannot be performed.</exception>
// Token: 0x06000529 RID: 1321 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000529")]
[Address(RVA = "0xB8D6E0", Offset = "0xB8C6E0", VA = "0x180B8D6E0", Slot = "7")]
public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
{
return null;
}
/// <summary>Gets a collection of properties for the type of array specified by the value parameter.</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 to get the properties for.</param>
/// <param name="attributes">An array of type <see cref="T:System.Attribute" /> that will be used as a filter.</param>
/// <returns>A <see cref="T:System.ComponentModel.PropertyDescriptorCollection" /> with the properties that are exposed for an array, or <see langword="null" /> if there are no properties.</returns>
// Token: 0x0600052A RID: 1322 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600052A")]
[Address(RVA = "0xB8D9E0", Offset = "0xB8C9E0", VA = "0x180B8D9E0", Slot = "10")]
public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, object value, Attribute[] attributes)
{
return null;
}
/// <summary>Gets a value indicating whether this object supports properties.</summary>
/// <param name="context">An <see cref="T:System.ComponentModel.ITypeDescriptorContext" /> that provides a format context.</param>
/// <returns>
/// <see langword="true" /> because <see cref="M:System.ComponentModel.ArrayConverter.GetProperties(System.ComponentModel.ITypeDescriptorContext,System.Object,System.Attribute[])" /> should be called to find the properties of this object. This method never returns <see langword="false" />.</returns>
// Token: 0x0600052B RID: 1323 RVA: 0x00004140 File Offset: 0x00002340
[Token(Token = "0x600052B")]
[Address(RVA = "0x4246A0", Offset = "0x4236A0", VA = "0x1804246A0", Slot = "11")]
public override bool GetPropertiesSupported(ITypeDescriptorContext context)
{
return default(bool);
}
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.ArrayConverter" /> class.</summary>
// Token: 0x0600052C RID: 1324 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600052C")]
[Address(RVA = "0xB8DC40", Offset = "0xB8CC40", VA = "0x180B8DC40")]
public ArrayConverter()
{
}
// Token: 0x020000DC RID: 220
[Token(Token = "0x20000DC")]
private class ArrayPropertyDescriptor : TypeConverter.SimplePropertyDescriptor
{
// Token: 0x0600052D RID: 1325 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600052D")]
[Address(RVA = "0xB8E240", Offset = "0xB8D240", VA = "0x180B8E240")]
public ArrayPropertyDescriptor(Type arrayType, Type elementType, int index)
{
}
// Token: 0x0600052E RID: 1326 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600052E")]
[Address(RVA = "0xB8DFF0", Offset = "0xB8CFF0", VA = "0x180B8DFF0", Slot = "26")]
public override object GetValue(object instance)
{
return null;
}
// Token: 0x0600052F RID: 1327 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600052F")]
[Address(RVA = "0xB8E0F0", Offset = "0xB8D0F0", VA = "0x180B8E0F0", Slot = "30")]
public override void SetValue(object instance, object value)
{
}
// Token: 0x04000424 RID: 1060
[FieldOffset(Offset = "0x98")]
[Token(Token = "0x4000424")]
private int index;
}
}
}