internal static bool smethod_2(Type type_0) { TypeConverter converter = Class181.smethod_13(type_0); if (((((converter == null) || (converter is ComponentConverter)) || ((converter is ReferenceConverter) || (converter.GetType() == typeof(TypeConverter)))) || !converter.CanConvertTo(typeof(string))) && (!(type_0 == typeof(Type)) && !type_0.IsSubclassOf(typeof(Type)))) { return(false); } return(true); }
internal static bool smethod_0(object object_0, Type type_0, out string string_0) { TypeConverter converter = Class181.smethod_13(type_0); if (((converter != null) && !(converter is ComponentConverter)) && ((converter.GetType() != typeof(TypeConverter)) && converter.CanConvertTo(typeof(string)))) { string_0 = converter.ConvertToInvariantString(object_0); return(true); } if (object_0 is Type) { string_0 = ((Type)object_0).AssemblyQualifiedName; return(true); } string_0 = null; return(false); }