// Token: 0x06002245 RID: 8773 RVA: 0x000AA8F0 File Offset: 0x000A8AF0
        public override string ConvertToString(object value, IValueSerializerContext context)
        {
            RoutedEvent routedEvent = value as RoutedEvent;

            if (routedEvent != null)
            {
                ValueSerializer serializerFor = ValueSerializer.GetSerializerFor(typeof(Type), context);
                if (serializerFor != null)
                {
                    return(serializerFor.ConvertToString(routedEvent.OwnerType, context) + "." + routedEvent.Name);
                }
            }
            return(base.ConvertToString(value, context));
        }
        // Token: 0x06002247 RID: 8775 RVA: 0x000AA978 File Offset: 0x000A8B78
        public override object ConvertFromString(string value, IValueSerializerContext context)
        {
            ValueSerializer serializerFor = ValueSerializer.GetSerializerFor(typeof(Type), context);

            if (serializerFor != null)
            {
                int num = value.IndexOf('.');
                if (num > 0)
                {
                    Type   type = serializerFor.ConvertFromString(value.Substring(0, num), context) as Type;
                    string name = value.Substring(num + 1).Trim();
                    RoutedEventValueSerializer.ForceTypeConstructors(type);
                    return(EventManager.GetRoutedEventFromName(name, type));
                }
            }
            return(base.ConvertFromString(value, context));
        }
 // Token: 0x06002244 RID: 8772 RVA: 0x000AA8DB File Offset: 0x000A8ADB
 public override bool CanConvertFromString(string value, IValueSerializerContext context)
 {
     return(ValueSerializer.GetSerializerFor(typeof(Type), context) != null);
 }