terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
System.RuntimeType Class Reference
+ Inheritance diagram for System.RuntimeType:

Classes

struct  ListBuilder
 

Public Member Functions

override MethodInfo[] GetMethods (BindingFlags bindingAttr)
 
override ConstructorInfo[] GetConstructors (BindingFlags bindingAttr)
 
override PropertyInfo[] GetProperties (BindingFlags bindingAttr)
 
override EventInfo[] GetEvents (BindingFlags bindingAttr)
 
override FieldInfo[] GetFields (BindingFlags bindingAttr)
 
override EventInfo GetEvent (string name, BindingFlags bindingAttr)
 
override FieldInfo GetField (string name, BindingFlags bindingAttr)
 
override Type GetNestedType (string fullname, BindingFlags bindingAttr)
 
override MemberInfo[] GetMember (string name, MemberTypes type, BindingFlags bindingAttr)
 
override bool IsInstanceOfType (object o)
 
override bool IsAssignableFrom (Type c)
 
override bool IsEquivalentTo (Type other)
 
override int GetArrayRank ()
 
override Type GetElementType ()
 
override string[] GetEnumNames ()
 
override Array GetEnumValues ()
 
override Type GetEnumUnderlyingType ()
 
override bool IsEnumDefined (object value)
 
override string GetEnumName (object value)
 
override Type[] GetGenericArguments ()
 
override Type MakeGenericType (params Type[] instantiation)
 
override Type GetGenericTypeDefinition ()
 
override object InvokeMember (string name, BindingFlags bindingFlags, Binder binder, object target, object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, string[] namedParams)
 
override bool Equals (object obj)
 
object Clone ()
 
void GetObjectData (SerializationInfo info, StreamingContext context)
 
override object[] GetCustomAttributes (bool inherit)
 
override object[] GetCustomAttributes (Type attributeType, bool inherit)
 
override bool IsDefined (Type attributeType, bool inherit)
 
override Type MakeArrayType ()
 
override Type MakeArrayType (int rank)
 
override Type MakeByRefType ()
 
override Type MakePointerType ()
 
override Type[] GetGenericParameterConstraints ()
 
override string ToString ()
 
override Type[] GetInterfaces ()
 
override int GetHashCode ()
 
override bool IsSubclassOf (Type type)
 
new Type GetType ()
 
ConstructorInfo GetConstructor (Type[] types)
 
ConstructorInfo GetConstructor (BindingFlags bindingAttr, Binder binder, Type[] types, ParameterModifier[] modifiers)
 
ConstructorInfo GetConstructor (BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers)
 
ConstructorInfo[] GetConstructors ()
 
EventInfo GetEvent (string name)
 
FieldInfo GetField (string name)
 
FieldInfo[] GetFields ()
 
MemberInfo[] GetMember (string name)
 
virtual MemberInfo[] GetMember (string name, BindingFlags bindingAttr)
 
MethodInfo GetMethod (string name)
 
MethodInfo GetMethod (string name, BindingFlags bindingAttr)
 
MethodInfo GetMethod (string name, Type[] types)
 
MethodInfo GetMethod (string name, Type[] types, ParameterModifier[] modifiers)
 
MethodInfo GetMethod (string name, BindingFlags bindingAttr, Binder binder, Type[] types, ParameterModifier[] modifiers)
 
MethodInfo GetMethod (string name, BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers)
 
MethodInfo[] GetMethods ()
 
PropertyInfo GetProperty (string name)
 
PropertyInfo GetProperty (string name, BindingFlags bindingAttr)
 
PropertyInfo GetProperty (string name, Type returnType)
 
PropertyInfo GetProperty (string name, Type returnType, Type[] types)
 
PropertyInfo GetProperty (string name, Type returnType, Type[] types, ParameterModifier[] modifiers)
 
PropertyInfo GetProperty (string name, BindingFlags bindingAttr, Binder binder, Type returnType, Type[] types, ParameterModifier[] modifiers)
 
virtual bool Equals (Type o)
 

Static Public Member Functions

static bool operator== (RuntimeType left, RuntimeType right)
 
static bool operator!= (RuntimeType left, RuntimeType right)
 
static Type GetType (string typeName, bool throwOnError, bool ignoreCase)
 
static Type GetType (string typeName, bool throwOnError)
 
static Type GetType (string typeName)
 
static Type GetType (string typeName, Func< AssemblyName, Assembly > assemblyResolver, Func< Assembly, string, bool, Type > typeResolver, bool throwOnError)
 
static RuntimeTypeHandle GetTypeHandle (object o)
 
static TypeCode GetTypeCode (Type type)
 
static Type MakeGenericSignatureType (Type genericTypeDefinition, params Type[] typeArguments)
 
static Type GetTypeFromHandle (RuntimeTypeHandle handle)
 
static bool operator== (Type left, Type right)
 
static bool operator== (MemberInfo left, MemberInfo right)
 
static bool operator!= (Type left, Type right)
 
static bool operator!= (MemberInfo left, MemberInfo right)
 

Static Public Attributes

static readonly char Delimiter
 
static readonly Type[] EmptyTypes
 
static readonly object Missing
 
static readonly MemberFilter FilterAttribute
 
static readonly MemberFilter FilterName
 
static readonly MemberFilter FilterNameIgnoreCase
 

Protected Member Functions

override ConstructorInfo GetConstructorImpl (BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers)
 
override PropertyInfo GetPropertyImpl (string name, BindingFlags bindingAttr, Binder binder, Type returnType, Type[] types, ParameterModifier[] modifiers)
 
override TypeAttributes GetAttributeFlagsImpl ()
 
override bool IsContextfulImpl ()
 
override bool IsByRefImpl ()
 
override bool IsPrimitiveImpl ()
 
override bool IsPointerImpl ()
 
override bool IsCOMObjectImpl ()
 
override bool IsValueTypeImpl ()
 
override bool HasElementTypeImpl ()
 
override bool IsArrayImpl ()
 
override TypeCode GetTypeCodeImpl ()
 
override MethodInfo GetMethodImpl (string name, BindingFlags bindingAttr, Binder binder, CallingConventions callConv, Type[] types, ParameterModifier[] modifiers)
 
virtual bool IsMarshalByRefImpl ()
 

Package Types

enum  MemberListType { All , CaseSensitive , CaseInsensitive , HandleToInfo }
 

Package Functions

 RuntimeType ()
 
RuntimeModule GetRuntimeModule ()
 
RuntimeAssembly GetRuntimeAssembly ()
 
RuntimeType[] GetGenericArgumentsInternal ()
 
override string FormatTypeName (bool serialization)
 
object CreateInstanceImpl (BindingFlags bindingAttr, Binder binder, object[] args, CultureInfo culture, object[] activationAttributes, StackCrawlMark stackMark)
 
object CreateInstanceDefaultCtor (bool publicOnly, bool skipCheckThis, bool fillCache, bool wrapExceptions, StackCrawlMark stackMark)
 
RuntimeConstructorInfo GetDefaultConstructor ()
 
RuntimeConstructorInfo GetSerializationCtor ()
 
object CreateInstanceSlow (bool publicOnly, bool wrapExceptions, bool skipCheckThis, bool fillCache)
 
object CheckValue (object value, Binder binder, CultureInfo culture, BindingFlags invokeAttr)
 
IntPtr GetMethodsByName_native (IntPtr namePtr, BindingFlags bindingAttr, RuntimeType.MemberListType listType)
 
RuntimeMethodInfo[] GetMethodsByName (string name, BindingFlags bindingAttr, RuntimeType.MemberListType listType, RuntimeType reflectedType)
 
string getFullName (bool full_name, bool assembly_qualified)
 
Type GetRootElementType ()
 
bool ImplementInterface (Type ifaceType)
 
string FormatTypeName ()
 
bool IsRuntimeImplemented ()
 
virtual string InternalGetNameIfAvailable (Type rootCauseForFailure)
 

Static Package Functions

static RuntimeType GetType (string typeName, bool throwOnError, bool ignoreCase, bool reflectionOnly, StackCrawlMark stackMark)
 
static void SanityCheckGenericArguments (RuntimeType[] genericArguments, RuntimeType[] genericParamters)
 
static BindingFlags FilterPreCalculate (bool isPublic, bool isInherited, bool isStatic)
 
static object CreateInstanceForAnotherGenericParameter (Type genericType, RuntimeType genericArgument)
 
static bool IsIntegerType (Type t)
 

Package Attributes

object GenericCache
 
RuntimeTypeHandle _impl
 

Static Package Attributes

static readonly RuntimeType ValueType
 
static readonly RuntimeType EnumType
 
static Func< Type, Type[], TypeMakeTypeBuilderInstantiation
 
const string DefaultTypeNameWhenMissingMetadata = "UnknownType"
 

Properties

override Module Module [get]
 
override Assembly Assembly [get]
 
override RuntimeTypeHandle TypeHandle [get]
 
override Type BaseType [get]
 
override Type UnderlyingSystemType [get]
 
override bool IsEnum [get]
 
override GenericParameterAttributes GenericParameterAttributes [get]
 
override bool IsSzArray [get]
 
override bool IsGenericTypeDefinition [get]
 
override bool IsGenericParameter [get]
 
override int GenericParameterPosition [get]
 
override bool IsGenericType [get]
 
override bool IsConstructedGenericType [get]
 
override MemberTypes MemberType [get]
 
override Type ReflectedType [get]
 
override int MetadataToken [get]
 
override bool ContainsGenericParameters [get]
 
override MethodBase DeclaringMethod [get]
 
override string AssemblyQualifiedName [get]
 
override Type DeclaringType [get]
 
override string Name [get]
 
override string Namespace [get]
 
override string FullName [get]
 
override bool IsSZArray [get]
 
virtual bool IsSerializable [get]
 
bool IsVisible [get]
 
bool IsNested [get]
 
bool IsArray [get]
 
bool IsByRef [get]
 
bool IsPointer [get]
 
virtual bool IsGenericMethodParameter [get]
 
virtual bool IsVariableBoundArray [get]
 
bool HasElementType [get]
 
virtual Type[] GenericTypeArguments [get]
 
TypeAttributes Attributes [get]
 
bool IsAbstract [get]
 
bool IsSealed [get]
 
bool IsClass [get]
 
bool IsNestedAssembly [get]
 
bool IsNestedPublic [get]
 
bool IsNotPublic [get]
 
bool IsPublic [get]
 
bool IsExplicitLayout [get]
 
bool IsCOMObject [get]
 
bool IsContextful [get]
 
bool IsMarshalByRef [get]
 
bool IsPrimitive [get]
 
bool IsValueType [get]
 
virtual bool IsSignatureType [get]
 
static Binder DefaultBinder [get]
 
bool IsInterface [get]
 
string FullNameOrDefault [get]
 
string InternalNameIfAvailable [get]
 
string NameOrDefault [get]
 

Private Member Functions

RuntimeType.ListBuilder< MethodInfoGetMethodCandidates (string name, BindingFlags bindingAttr, CallingConventions callConv, Type[] types, int genericParamCount, bool allowPrefixLookup)
 
RuntimeType.ListBuilder< ConstructorInfoGetConstructorCandidates (string name, BindingFlags bindingAttr, CallingConventions callConv, Type[] types, bool allowPrefixLookup)
 
RuntimeType.ListBuilder< PropertyInfoGetPropertyCandidates (string name, BindingFlags bindingAttr, Type[] types, bool allowPrefixLookup)
 
RuntimeType.ListBuilder< EventInfoGetEventCandidates (string name, BindingFlags bindingAttr, bool allowPrefixLookup)
 
RuntimeType.ListBuilder< FieldInfoGetFieldCandidates (string name, BindingFlags bindingAttr, bool allowPrefixLookup)
 
RuntimeType.ListBuilder< TypeGetNestedTypeCandidates (string fullname, BindingFlags bindingAttr, bool allowPrefixLookup)
 
RuntimeType GetBaseType ()
 
void CreateInstanceCheckThis ()
 
string GetDefaultMemberName ()
 
object CreateInstanceMono (bool nonPublic, bool wrapExceptions)
 
object TryConvertToType (object value, bool failed)
 
string GetCachedName (TypeNameKind kind)
 
Type make_array_type (int rank)
 
Type make_byref_type ()
 
IntPtr GetPropertiesByName_native (IntPtr name, BindingFlags bindingAttr, RuntimeType.MemberListType listType)
 
IntPtr GetConstructors_native (BindingFlags bindingAttr)
 
RuntimeConstructorInfo[] GetConstructors_internal (BindingFlags bindingAttr, RuntimeType reflectedType)
 
RuntimePropertyInfo[] GetPropertiesByName (string name, BindingFlags bindingAttr, RuntimeType.MemberListType listType, RuntimeType reflectedType)
 
bool IsGenericCOMObjectImpl ()
 
Type[] GetGenericArgumentsInternal (bool runtimeArray)
 
GenericParameterAttributes GetGenericParameterAttributes ()
 
int GetGenericParameterPosition ()
 
IntPtr GetEvents_native (IntPtr name, RuntimeType.MemberListType listType)
 
IntPtr GetFields_native (IntPtr name, BindingFlags bindingAttr, RuntimeType.MemberListType listType)
 
RuntimeFieldInfo[] GetFields_internal (string name, BindingFlags bindingAttr, RuntimeType.MemberListType listType, RuntimeType reflectedType)
 
RuntimeEventInfo[] GetEvents_internal (string name, BindingFlags bindingAttr, RuntimeType.MemberListType listType, RuntimeType reflectedType)
 
IntPtr GetNestedTypes_native (IntPtr name, BindingFlags bindingAttr, RuntimeType.MemberListType listType)
 
RuntimeType[] GetNestedTypes_internal (string displayName, BindingFlags bindingAttr, RuntimeType.MemberListType listType)
 
MethodInfo GetMethodImplCommon (string name, int genericParameterCount, BindingFlags bindingAttr, Binder binder, CallingConventions callConv, Type[] types, ParameterModifier[] modifiers)
 
RuntimeType.ListBuilder< MethodInfoGetMethodCandidates (string name, int genericParameterCount, BindingFlags bindingAttr, CallingConventions callConv, Type[] types, bool allowPrefixLookup)
 
Array GetEnumRawConstantValues ()
 
void GetEnumData ([Out] string[] enumNames, [Out] Array enumValues)
 

Static Private Member Functions

static void ThrowIfTypeNeverValidGenericArgument (RuntimeType type)
 
static void SplitName (string fullname, [Out] string name, [Out] string ns)
 
static void FilterHelper (BindingFlags bindingFlags, string name, bool allowPrefixLookup, [Out] bool prefixLookup, [Out] bool ignoreCase, [Out] RuntimeType.MemberListType listType)
 
static void FilterHelper (BindingFlags bindingFlags, string name, [Out] bool ignoreCase, [Out] RuntimeType.MemberListType listType)
 
static bool FilterApplyPrefixLookup (MemberInfo memberInfo, string name, bool ignoreCase)
 
static bool FilterApplyBase (MemberInfo memberInfo, BindingFlags bindingFlags, bool isPublic, bool isNonProtectedInternal, bool isStatic, string name, bool prefixLookup)
 
static bool FilterApplyType (Type type, BindingFlags bindingFlags, string name, bool prefixLookup, string ns)
 
static bool FilterApplyMethodInfo (RuntimeMethodInfo method, BindingFlags bindingFlags, CallingConventions callConv, Type[] argumentTypes)
 
static bool FilterApplyConstructorInfo (RuntimeConstructorInfo constructor, BindingFlags bindingFlags, CallingConventions callConv, Type[] argumentTypes)
 
static bool FilterApplyMethodBase (MethodBase methodBase, BindingFlags methodFlags, BindingFlags bindingFlags, CallingConventions callConv, Type[] argumentTypes)
 
static object IsConvertibleToPrimitiveType (object value, Type targetType)
 
static Type MakePointerType (Type type)
 
static Type MakeGenericType (Type gt, Type[] types)
 
static TypeCode GetTypeCodeImplInternal (Type type)
 
static object CreateInstanceInternal (Type type)
 
static RuntimeType ()
 
static int BinarySearch (Array array, object value)
 
static bool FilterAttributeImpl (MemberInfo m, object filterCriteria)
 
static bool FilterNameImpl (MemberInfo m, object filterCriteria)
 
static bool FilterNameIgnoreCaseImpl (MemberInfo m, object filterCriteria)
 
static Type internal_from_handle (IntPtr handle)
 

Private Attributes

MonoTypeInfo type_info
 
RuntimeConstructorInfo m_serializationCtor
 

Static Private Attributes

static readonly RuntimeType ObjectType
 
static readonly RuntimeType StringType
 
static readonly RuntimeType DelegateType
 
static Type[] s_SICtorParamTypes
 
const BindingFlags MemberBindingMask = (BindingFlags)255
 
const BindingFlags InvocationMask = BindingFlags.InvokeMethod | BindingFlags.CreateInstance | BindingFlags.GetField | BindingFlags.SetField | BindingFlags.GetProperty | BindingFlags.SetProperty | BindingFlags.PutDispProperty | BindingFlags.PutRefDispProperty
 
const BindingFlags BinderNonCreateInstance = BindingFlags.InvokeMethod | BindingFlags.GetField | BindingFlags.SetField | BindingFlags.GetProperty | BindingFlags.SetProperty
 
const BindingFlags BinderGetSetProperty = BindingFlags.GetProperty | BindingFlags.SetProperty
 
const BindingFlags BinderSetInvokeProperty = BindingFlags.InvokeMethod | BindingFlags.SetProperty
 
const BindingFlags BinderGetSetField = BindingFlags.GetField | BindingFlags.SetField
 
const BindingFlags BinderSetInvokeField = BindingFlags.InvokeMethod | BindingFlags.SetField
 
const BindingFlags BinderNonFieldGetSet = (BindingFlags)16773888
 
const BindingFlags ClassicBindingMask = BindingFlags.InvokeMethod | BindingFlags.GetProperty | BindingFlags.SetProperty | BindingFlags.PutDispProperty | BindingFlags.PutRefDispProperty
 
static RuntimeType s_typedRef
 
const int GenericParameterCountAny = -1
 
const BindingFlags DeclaredOnlyLookup = BindingFlags.DeclaredOnly | BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic
 
static Binder s_defaultBinder
 
const BindingFlags DefaultLookup = BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public
 

Detailed Description

Definition at line 15 of file RuntimeType.cs.


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