Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.DefaultBinder Class Reference

Classes

class  BinderState
 

Public Member Functions

override MethodBase BindToMethod (BindingFlags bindingAttr, MethodBase[] match, ref object[] args, ParameterModifier[] modifiers, CultureInfo cultureInfo, string[] names, out object state)
 
override FieldInfo BindToField (BindingFlags bindingAttr, FieldInfo[] match, object value, CultureInfo cultureInfo)
 
override MethodBase SelectMethod (BindingFlags bindingAttr, MethodBase[] match, Type[] types, ParameterModifier[] modifiers)
 
override PropertyInfo SelectProperty (BindingFlags bindingAttr, PropertyInfo[] match, Type returnType, Type[] indexes, ParameterModifier[] modifiers)
 
override object ChangeType (object value, Type type, CultureInfo cultureInfo)
 
override void ReorderArgumentArray (ref object[] args, object state)
 
FieldInfo BindToField (BindingFlags bindingAttr, FieldInfo[] match, object value, CultureInfo? culture)
 
MethodBase BindToMethod (BindingFlags bindingAttr, MethodBase[] match, ref object?[] args, ParameterModifier[]? modifiers, CultureInfo? culture, string[]? names, out object? state)
 
object ChangeType (object value, Type type, CultureInfo? culture)
 
void ReorderArgumentArray (ref object?[] args, object state)
 
MethodBase? SelectMethod (BindingFlags bindingAttr, MethodBase[] match, Type[] types, ParameterModifier[]? modifiers)
 
PropertyInfo? SelectProperty (BindingFlags bindingAttr, PropertyInfo[] match, Type? returnType, Type[]? indexes, ParameterModifier[]? modifiers)
 

Static Public Member Functions

static MethodBase ExactBinding (MethodBase[] match, Type[] types, ParameterModifier[] modifiers)
 
static PropertyInfo ExactPropertyBinding (PropertyInfo[] match, Type returnType, Type[] types, ParameterModifier[] modifiers)
 
static bool CompareMethodSig (MethodBase m1, MethodBase m2)
 

Static Package Functions

static MethodBase FindMostDerivedNewSlotMeth (MethodBase[] match, int cMatches)
 
static bool CanChangePrimitive (Type source, Type target)
 

Private Types

enum  Primitives {
  Boolean = 8 , Char = 0x10 , SByte = 0x20 , Byte = 0x40 ,
  Int16 = 0x80 , UInt16 = 0x100 , Int32 = 0x200 , UInt32 = 0x400 ,
  Int64 = 0x800 , UInt64 = 0x1000 , Single = 0x2000 , Double = 0x4000 ,
  Decimal = 0x8000 , DateTime = 0x10000 , String = 0x40000
}
 

Static Private Member Functions

static int FindMostSpecific (ParameterInfo[] p1, int[] paramOrder1, Type paramArrayType1, ParameterInfo[] p2, int[] paramOrder2, Type paramArrayType2, Type[] types, object[] args)
 
static int FindMostSpecificType (Type c1, Type c2, Type t)
 
static int FindMostSpecificMethod (MethodBase m1, int[] paramOrder1, Type paramArrayType1, MethodBase m2, int[] paramOrder2, Type paramArrayType2, Type[] types, object[] args)
 
static int FindMostSpecificField (FieldInfo cur1, FieldInfo cur2)
 
static int FindMostSpecificProperty (PropertyInfo cur1, PropertyInfo cur2)
 
static int GetHierarchyDepth (Type t)
 
static void ReorderParams (int[] paramOrder, object[] vars)
 
static bool CreateParamOrder (int[] paramOrder, ParameterInfo[] pars, string[] names)
 

Static Private Attributes

static readonly Primitives[] s_primitiveConversions
 

Detailed Description

Definition at line 6 of file DefaultBinder.cs.


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