terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
Newtonsoft.Json.Utilities.ConvertUtils Class Reference
+ Collaboration diagram for Newtonsoft.Json.Utilities.ConvertUtils:

Classes

struct  TypeConvertKey
 

Static Public Member Functions

static PrimitiveTypeCode GetTypeCode (Type t)
 
static PrimitiveTypeCode GetTypeCode (Type t, out bool isEnum)
 
static TypeInformation GetTypeInformation (IConvertible convertable)
 
static bool IsConvertible (Type t)
 
static TimeSpan ParseTimeSpan (string input)
 
static object Convert (object initialValue, CultureInfo culture, Type targetType)
 
static object ConvertOrCast (object initialValue, CultureInfo culture, Type targetType)
 
static bool VersionTryParse (string input, out Version result)
 
static bool IsInteger (object value)
 
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 bool TryConvertGuid (string s, out Guid g)
 
static int HexTextToInt (char[] text, int start, int end)
 

Package Types

enum  ConvertResult { Success , CannotConvertNull , NotInstantiableType , NoValidConversion }
 

Static Package Functions

static TypeConverter GetConverter (Type t)
 

Static Private Member Functions

static Func< object, object > CreateCastConverter (ConvertUtils.TypeConvertKey t)
 
static bool TryConvert (object initialValue, CultureInfo culture, Type targetType, out object value)
 
static ConvertUtils.ConvertResult TryConvertInternal (object initialValue, CultureInfo culture, Type targetType, out object value)
 
static object EnsureTypeAssignable (object value, Type initialType, Type targetType)
 
static int HexCharToInt (char ch)
 
static ConvertUtils ()
 

Static Private Attributes

static readonly Dictionary< Type, PrimitiveTypeCodeTypeCodeMap
 
static readonly TypeInformation[] PrimitiveTypeCodes
 
static readonly ThreadSafeStore< ConvertUtils.TypeConvertKey, Func< object, object > > CastConverters
 

Detailed Description

Definition at line 19 of file ConvertUtils.cs.


The documentation for this class was generated from the following file: