C# Class System.Reflection.Emit.TypeBuilderInstantiation

Inheritance: System.Type
Show file Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Private Properties

Property Type Description
GetConstructors System.Reflection.ConstructorInfo[]
GetInterfaceMap System.Reflection.InterfaceMapping
IsSubclassOf bool
Substitute System.Type
TypeBuilderInstantiation System

Public Methods

Method Description
GetCustomAttributes ( Type attributeType, bool inherit ) : Object[]
GetCustomAttributes ( bool inherit ) : Object[]
GetElementType ( ) : Type
GetEvent ( String name, BindingFlags bindingAttr ) : EventInfo
GetEvents ( ) : System.Reflection.EventInfo[]
GetEvents ( BindingFlags bindingAttr ) : System.Reflection.EventInfo[]
GetField ( String name, BindingFlags bindingAttr ) : FieldInfo
GetFields ( BindingFlags bindingAttr ) : System.Reflection.FieldInfo[]
GetGenericArguments ( ) : System.Type[]
GetGenericTypeDefinition ( ) : Type
GetInterface ( String name, bool ignoreCase ) : Type
GetInterfaces ( ) : System.Type[]
GetMember ( String name, MemberTypes type, BindingFlags bindingAttr ) : System.Reflection.MemberInfo[]
GetMembers ( BindingFlags bindingAttr ) : System.Reflection.MemberInfo[]
GetMethods ( BindingFlags bindingAttr ) : System.Reflection.MethodInfo[]
GetNestedType ( String name, BindingFlags bindingAttr ) : Type
GetNestedTypes ( BindingFlags bindingAttr ) : System.Type[]
GetProperties ( BindingFlags bindingAttr ) : System.Reflection.PropertyInfo[]
InvokeMember ( String name, BindingFlags invokeAttr, Binder binder, Object target, Object args, ParameterModifier modifiers, CultureInfo culture, String namedParameters ) : Object
IsAssignableFrom ( Type c ) : bool
IsDefined ( Type attributeType, bool inherit ) : bool
MakeArrayType ( ) : Type
MakeArrayType ( int rank ) : Type
MakeByRefType ( ) : Type
MakeGenericType ( ) : Type
MakePointerType ( ) : Type
ToString ( ) : String

Protected Methods

Method Description
GetAttributeFlagsImpl ( ) : TypeAttributes
GetConstructorImpl ( BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type types, ParameterModifier modifiers ) : ConstructorInfo
GetMethodImpl ( String name, BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type types, ParameterModifier modifiers ) : MethodInfo
GetPropertyImpl ( String name, BindingFlags bindingAttr, Binder binder, Type returnType, Type types, ParameterModifier modifiers ) : PropertyInfo
HasElementTypeImpl ( ) : bool
IsArrayImpl ( ) : bool
IsByRefImpl ( ) : bool
IsCOMObjectImpl ( ) : bool
IsPointerImpl ( ) : bool
IsPrimitiveImpl ( ) : bool
IsValueTypeImpl ( ) : bool

Private Methods

Method Description
GetConstructors ( BindingFlags bindingAttr ) : System.Reflection.ConstructorInfo[]
GetInterfaceMap ( Type interfaceType ) : InterfaceMapping
IsSubclassOf ( Type c ) : bool
Substitute ( Type substitutes ) : Type
TypeBuilderInstantiation ( Type type, Type inst ) : System

Method Details

GetAttributeFlagsImpl() protected method

protected GetAttributeFlagsImpl ( ) : TypeAttributes
return TypeAttributes

GetConstructorImpl() protected method

protected GetConstructorImpl ( BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type types, ParameterModifier modifiers ) : ConstructorInfo
bindingAttr BindingFlags
binder System.Reflection.Binder
callConvention CallingConventions
types System.Type
modifiers System.Reflection.ParameterModifier
return System.Reflection.ConstructorInfo

GetCustomAttributes() public method

public GetCustomAttributes ( Type attributeType, bool inherit ) : Object[]
attributeType System.Type
inherit bool
return Object[]

GetCustomAttributes() public method

public GetCustomAttributes ( bool inherit ) : Object[]
inherit bool
return Object[]

GetElementType() public method

public GetElementType ( ) : Type
return System.Type

GetEvent() public method

public GetEvent ( String name, BindingFlags bindingAttr ) : EventInfo
name String
bindingAttr BindingFlags
return System.Reflection.EventInfo

GetEvents() public method

public GetEvents ( ) : System.Reflection.EventInfo[]
return System.Reflection.EventInfo[]

GetEvents() public method

public GetEvents ( BindingFlags bindingAttr ) : System.Reflection.EventInfo[]
bindingAttr BindingFlags
return System.Reflection.EventInfo[]

GetField() public method

public GetField ( String name, BindingFlags bindingAttr ) : FieldInfo
name String
bindingAttr BindingFlags
return System.Reflection.FieldInfo

GetFields() public method

public GetFields ( BindingFlags bindingAttr ) : System.Reflection.FieldInfo[]
bindingAttr BindingFlags
return System.Reflection.FieldInfo[]

GetGenericArguments() public method

public GetGenericArguments ( ) : System.Type[]
return System.Type[]

GetGenericTypeDefinition() public method

public GetGenericTypeDefinition ( ) : Type
return System.Type

GetInterface() public method

public GetInterface ( String name, bool ignoreCase ) : Type
name String
ignoreCase bool
return System.Type

GetInterfaces() public method

public GetInterfaces ( ) : System.Type[]
return System.Type[]

GetMember() public method

public GetMember ( String name, MemberTypes type, BindingFlags bindingAttr ) : System.Reflection.MemberInfo[]
name String
type MemberTypes
bindingAttr BindingFlags
return System.Reflection.MemberInfo[]

GetMembers() public method

public GetMembers ( BindingFlags bindingAttr ) : System.Reflection.MemberInfo[]
bindingAttr BindingFlags
return System.Reflection.MemberInfo[]

GetMethodImpl() protected method

protected GetMethodImpl ( String name, BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type types, ParameterModifier modifiers ) : MethodInfo
name String
bindingAttr BindingFlags
binder System.Reflection.Binder
callConvention CallingConventions
types System.Type
modifiers System.Reflection.ParameterModifier
return System.Reflection.MethodInfo

GetMethods() public method

public GetMethods ( BindingFlags bindingAttr ) : System.Reflection.MethodInfo[]
bindingAttr BindingFlags
return System.Reflection.MethodInfo[]

GetNestedType() public method

public GetNestedType ( String name, BindingFlags bindingAttr ) : Type
name String
bindingAttr BindingFlags
return System.Type

GetNestedTypes() public method

public GetNestedTypes ( BindingFlags bindingAttr ) : System.Type[]
bindingAttr BindingFlags
return System.Type[]

GetProperties() public method

public GetProperties ( BindingFlags bindingAttr ) : System.Reflection.PropertyInfo[]
bindingAttr BindingFlags
return System.Reflection.PropertyInfo[]

GetPropertyImpl() protected method

protected GetPropertyImpl ( String name, BindingFlags bindingAttr, Binder binder, Type returnType, Type types, ParameterModifier modifiers ) : PropertyInfo
name String
bindingAttr BindingFlags
binder System.Reflection.Binder
returnType System.Type
types System.Type
modifiers System.Reflection.ParameterModifier
return System.Reflection.PropertyInfo

HasElementTypeImpl() protected method

protected HasElementTypeImpl ( ) : bool
return bool

InvokeMember() public method

public InvokeMember ( String name, BindingFlags invokeAttr, Binder binder, Object target, Object args, ParameterModifier modifiers, CultureInfo culture, String namedParameters ) : Object
name String
invokeAttr BindingFlags
binder System.Reflection.Binder
target Object
args Object
modifiers System.Reflection.ParameterModifier
culture System.Globalization.CultureInfo
namedParameters String
return Object

IsArrayImpl() protected method

protected IsArrayImpl ( ) : bool
return bool

IsAssignableFrom() public method

public IsAssignableFrom ( Type c ) : bool
c System.Type
return bool

IsByRefImpl() protected method

protected IsByRefImpl ( ) : bool
return bool

IsCOMObjectImpl() protected method

protected IsCOMObjectImpl ( ) : bool
return bool

IsDefined() public method

public IsDefined ( Type attributeType, bool inherit ) : bool
attributeType System.Type
inherit bool
return bool

IsPointerImpl() protected method

protected IsPointerImpl ( ) : bool
return bool

IsPrimitiveImpl() protected method

protected IsPrimitiveImpl ( ) : bool
return bool

IsValueTypeImpl() protected method

protected IsValueTypeImpl ( ) : bool
return bool

MakeArrayType() public method

public MakeArrayType ( ) : Type
return System.Type

MakeArrayType() public method

public MakeArrayType ( int rank ) : Type
rank int
return System.Type

MakeByRefType() public method

public MakeByRefType ( ) : Type
return System.Type

MakeGenericType() public method

public MakeGenericType ( ) : Type
return System.Type

MakePointerType() public method

public MakePointerType ( ) : Type
return System.Type

ToString() public method

public ToString ( ) : String
return String