Terraria v1.4.4.9
Terraria source code documentation
All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Macros
System.OleAutBinder Class Referencesealed

Public Member Functions

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

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 7 of file OleAutBinder.cs.


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