using System;
using System.Collections;
using System.Globalization;
using Cpp2IlInjected;
namespace System.ComponentModel
{
/// Provides a type converter to convert object references to and from other representations.
// Token: 0x0200017F RID: 383
[Token(Token = "0x200017F")]
public class ReferenceConverter : TypeConverter
{
/// Initializes a new instance of the class.
/// A that represents the type to associate with this reference converter.
// Token: 0x060009E0 RID: 2528 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60009E0")]
[Address(RVA = "0x4C9520", Offset = "0x4C8320", VA = "0x1804C9520")]
public ReferenceConverter(Type type)
{
}
/// Gets a value indicating whether this converter can convert an object in the given source type to a reference object using the specified context.
/// An that provides a format context.
/// A that represents the type you wish to convert from.
///
/// if this object can perform the conversion; otherwise, .
// Token: 0x060009E1 RID: 2529 RVA: 0x00005FD0 File Offset: 0x000041D0
[Token(Token = "0x60009E1")]
[Address(RVA = "0x4C8A60", Offset = "0x4C7860", VA = "0x1804C8A60", Slot = "4")]
public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
{
return default(bool);
}
/// Converts the given object to the reference type.
/// An that provides a format context.
/// A that specifies the culture used to represent the font.
/// The to convert.
/// An that represents the converted .
/// The conversion cannot be performed.
// Token: 0x060009E2 RID: 2530 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60009E2")]
[Address(RVA = "0x4C8B10", Offset = "0x4C7910", VA = "0x1804C8B10", Slot = "6")]
public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
{
return null;
}
/// Converts the given value object to the reference type using the specified context and arguments.
/// An that provides a format context.
/// A that specifies the culture used to represent the font.
/// The to convert.
/// The type to convert the object to.
/// The converted object.
///
/// is .
/// The conversion cannot be performed.
// Token: 0x060009E3 RID: 2531 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60009E3")]
[Address(RVA = "0x4C8D90", Offset = "0x4C7B90", VA = "0x1804C8D90", Slot = "7")]
public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
{
return null;
}
/// Gets a collection of standard values for the reference data type.
/// An that provides a format context.
/// A that holds a standard set of valid values, or if the data type does not support a standard set of values.
// Token: 0x060009E4 RID: 2532 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60009E4")]
[Address(RVA = "0x4C8FD0", Offset = "0x4C7DD0", VA = "0x1804C8FD0", Slot = "12")]
public override TypeConverter.StandardValuesCollection GetStandardValues(ITypeDescriptorContext context)
{
return null;
}
/// Gets a value indicating whether the list of standard values returned from is an exclusive list.
/// An that provides a format context.
///
/// because the returned from is an exhaustive list of possible values. This method never returns .
// Token: 0x060009E5 RID: 2533 RVA: 0x00005FE8 File Offset: 0x000041E8
[Token(Token = "0x60009E5")]
[Address(RVA = "0x460D40", Offset = "0x45FB40", VA = "0x180460D40", Slot = "13")]
public override bool GetStandardValuesExclusive(ITypeDescriptorContext context)
{
return default(bool);
}
/// Gets a value indicating whether this object supports a standard set of values that can be picked from a list.
/// An that provides a format context.
///
/// because can be called to find a common set of values the object supports. This method never returns .
// Token: 0x060009E6 RID: 2534 RVA: 0x00006000 File Offset: 0x00004200
[Token(Token = "0x60009E6")]
[Address(RVA = "0x460D40", Offset = "0x45FB40", VA = "0x180460D40", Slot = "14")]
public override bool GetStandardValuesSupported(ITypeDescriptorContext context)
{
return default(bool);
}
/// Returns a value indicating whether a particular value can be added to the standard values collection.
/// An that provides an additional context.
/// The value to check.
///
/// if the value is allowed and can be added to the standard values collection; if the value cannot be added to the standard values collection.
// Token: 0x060009E7 RID: 2535 RVA: 0x00006018 File Offset: 0x00004218
[Token(Token = "0x60009E7")]
[Address(RVA = "0x460D40", Offset = "0x45FB40", VA = "0x180460D40", Slot = "16")]
protected virtual bool IsValueAllowed(ITypeDescriptorContext context, object value)
{
return default(bool);
}
// Token: 0x040005AB RID: 1451
[Token(Token = "0x40005AB")]
private static readonly string none;
// Token: 0x040005AC RID: 1452
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x40005AC")]
private Type type;
// Token: 0x02000180 RID: 384
[Token(Token = "0x2000180")]
private class ReferenceComparer : IComparer
{
// Token: 0x060009E9 RID: 2537 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60009E9")]
[Address(RVA = "0x3FFB80", Offset = "0x3FE980", VA = "0x1803FFB80")]
public ReferenceComparer(ReferenceConverter converter)
{
}
// Token: 0x060009EA RID: 2538 RVA: 0x00006030 File Offset: 0x00004230
[Token(Token = "0x60009EA")]
[Address(RVA = "0x4C89A0", Offset = "0x4C77A0", VA = "0x1804C89A0", Slot = "4")]
public int Compare(object item1, object item2)
{
return 0;
}
// Token: 0x040005AD RID: 1453
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x40005AD")]
private ReferenceConverter converter;
}
}
}