205 Type type = num.GetType();
507 if (o ==
null || o !=
null)
class f__AnonymousType0<< Count > j__TPar
static ReflectionDelegateFactory ReflectionDelegateFactory
static TypeInformation GetTypeInformation(IConvertible convertable)
static bool TryConvert(object initialValue, CultureInfo culture, Type targetType, [Out] object value)
static bool IsInteger(object value)
static TimeSpan ParseTimeSpan(string input)
static int HexTextToInt(char[] text, int start, int end)
static object ConvertOrCast(object initialValue, CultureInfo culture, Type targetType)
static bool IsConvertible(Type t)
static ParseResult Int32TryParse(char[] chars, int start, int length, [Out] int value)
static ParseResult Int64TryParse(char[] chars, int start, int length, [Out] long value)
static ConvertUtils.ConvertResult TryConvertInternal(object initialValue, CultureInfo culture, Type targetType, [Out] object value)
static bool TryConvertGuid(string s, [Out] Guid g)
static object EnsureTypeAssignable(object value, Type initialType, Type targetType)
static PrimitiveTypeCode GetTypeCode(Type t, [Out] bool isEnum)
static Func< object, object > CreateCastConverter(ConvertUtils.TypeConvertKey t)
static int HexCharToInt(char ch)
static bool VersionTryParse(string input, [Out] Version result)
static TypeConverter GetConverter(Type t)
static readonly Dictionary< Type, PrimitiveTypeCode > TypeCodeMap
static PrimitiveTypeCode GetTypeCode(Type t)
static readonly ThreadSafeStore< ConvertUtils.TypeConvertKey, Func< object, object > > CastConverters
static readonly TypeInformation[] PrimitiveTypeCodes
static object Convert(object initialValue, CultureInfo culture, Type targetType)
bool CanConvertFrom(Type sourceType)
static object ToObject(Type enumType, object value)
override int GetHashCode()
override bool Equals(object obj)
TypeConvertKey(Type initialType, Type targetType)
bool Equals(ConvertUtils.TypeConvertKey other)
readonly Type _targetType
readonly Type _initialType
static TimeSpan Parse(string s)