This commit is contained in:
niko
2026-04-10 22:50:51 +02:00
parent 6d1607d5a2
commit f18d448581
17033 changed files with 2863270 additions and 0 deletions
+238
View File
@@ -0,0 +1,238 @@
using System;
using System.Collections;
using System.Globalization;
using Cpp2IlInjected;
namespace System.ComponentModel
{
/// <summary>Provides automatic conversion between a nullable type and its underlying primitive type.</summary>
// Token: 0x02000171 RID: 369
[Token(Token = "0x2000171")]
public class NullableConverter : TypeConverter
{
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.NullableConverter" /> class.</summary>
/// <param name="type">The specified nullable type.</param>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="type" /> is not a nullable type.</exception>
// Token: 0x0600094B RID: 2379 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600094B")]
[Address(RVA = "0x4FD4E0", Offset = "0x4FC2E0", VA = "0x1804FD4E0")]
public NullableConverter(Type type)
{
}
/// <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: 0x0600094C RID: 2380 RVA: 0x00005BC8 File Offset: 0x00003DC8
[Token(Token = "0x600094C")]
[Address(RVA = "0x4FCB30", Offset = "0x4FB930", VA = "0x1804FCB30", Slot = "4")]
public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
{
return default(bool);
}
/// <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: 0x0600094D RID: 2381 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600094D")]
[Address(RVA = "0x4FCCF0", Offset = "0x4FBAF0", VA = "0x1804FCCF0", Slot = "6")]
public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
{
return null;
}
/// <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: 0x0600094E RID: 2382 RVA: 0x00005BE0 File Offset: 0x00003DE0
[Token(Token = "0x600094E")]
[Address(RVA = "0x4FCBF0", Offset = "0x4FB9F0", VA = "0x1804FCBF0", Slot = "5")]
public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType)
{
return default(bool);
}
/// <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">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>
/// <param name="destinationType">The <see cref="T:System.Type" /> to convert the value parameter 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: 0x0600094F RID: 2383 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600094F")]
[Address(RVA = "0x4FCE20", Offset = "0x4FBC20", VA = "0x1804FCE20", Slot = "7")]
public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
{
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: 0x06000950 RID: 2384 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000950")]
[Address(RVA = "0x4FD160", Offset = "0x4FBF60", VA = "0x1804FD160", Slot = "8")]
public override object CreateInstance(ITypeDescriptorContext context, IDictionary propertyValues)
{
return null;
}
/// <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: 0x06000951 RID: 2385 RVA: 0x00005BF8 File Offset: 0x00003DF8
[Token(Token = "0x6000951")]
[Address(RVA = "0x4FD190", Offset = "0x4FBF90", VA = "0x1804FD190", Slot = "9")]
public override bool GetCreateInstanceSupported(ITypeDescriptorContext context)
{
return default(bool);
}
/// <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: 0x06000952 RID: 2386 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000952")]
[Address(RVA = "0x4FD1F0", Offset = "0x4FBFF0", VA = "0x1804FD1F0", Slot = "10")]
public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, object value, Attribute[] attributes)
{
return null;
}
/// <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: 0x06000953 RID: 2387 RVA: 0x00005C10 File Offset: 0x00003E10
[Token(Token = "0x6000953")]
[Address(RVA = "0x4FD1C0", Offset = "0x4FBFC0", VA = "0x1804FD1C0", Slot = "11")]
public override bool GetPropertiesSupported(ITypeDescriptorContext context)
{
return default(bool);
}
/// <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: 0x06000954 RID: 2388 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000954")]
[Address(RVA = "0x4FD280", Offset = "0x4FC080", VA = "0x1804FD280", Slot = "12")]
public override TypeConverter.StandardValuesCollection GetStandardValues(ITypeDescriptorContext context)
{
return null;
}
/// <summary>Returns whether the collection of standard values returned from <see cref="Overload: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: 0x06000955 RID: 2389 RVA: 0x00005C28 File Offset: 0x00003E28
[Token(Token = "0x6000955")]
[Address(RVA = "0x4FD220", Offset = "0x4FC020", VA = "0x1804FD220", Slot = "13")]
public override 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, 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: 0x06000956 RID: 2390 RVA: 0x00005C40 File Offset: 0x00003E40
[Token(Token = "0x6000956")]
[Address(RVA = "0x4FD250", Offset = "0x4FC050", VA = "0x1804FD250", Slot = "14")]
public override bool GetStandardValuesSupported(ITypeDescriptorContext context)
{
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: 0x06000957 RID: 2391 RVA: 0x00005C58 File Offset: 0x00003E58
[Token(Token = "0x6000957")]
[Address(RVA = "0x4FD4B0", Offset = "0x4FC2B0", VA = "0x1804FD4B0", Slot = "15")]
public override bool IsValid(ITypeDescriptorContext context, object value)
{
return default(bool);
}
/// <summary>Gets the nullable type.</summary>
/// <returns>A <see cref="T:System.Type" /> that represents the nullable type.</returns>
// Token: 0x170001CE RID: 462
// (get) Token: 0x06000958 RID: 2392 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170001CE")]
public Type NullableType
{
[Token(Token = "0x6000958")]
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
get
{
return null;
}
}
/// <summary>Gets the underlying type.</summary>
/// <returns>A <see cref="T:System.Type" /> that represents the underlying type.</returns>
// Token: 0x170001CF RID: 463
// (get) Token: 0x06000959 RID: 2393 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170001CF")]
public Type UnderlyingType
{
[Token(Token = "0x6000959")]
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40")]
get
{
return null;
}
}
/// <summary>Gets the underlying type converter.</summary>
/// <returns>A <see cref="T:System.ComponentModel.TypeConverter" /> that represents the underlying type converter.</returns>
// Token: 0x170001D0 RID: 464
// (get) Token: 0x0600095A RID: 2394 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170001D0")]
public TypeConverter UnderlyingTypeConverter
{
[Token(Token = "0x600095A")]
[Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400")]
get
{
return null;
}
}
// Token: 0x04000585 RID: 1413
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000585")]
private Type nullableType;
// Token: 0x04000586 RID: 1414
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000586")]
private Type simpleType;
// Token: 0x04000587 RID: 1415
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000587")]
private TypeConverter simpleTypeConverter;
}
}