W3cubDocs

/Haxe C#

TypeBuilder

package cs.system.reflection.emit

extends TypeMemberInfo

implements _TypeBuilder

Available on cs

Static variables

staticread onlyUnspecifiedTypeSize:Int

Static methods

staticGetConstructor(type:Type, constructor:ConstructorInfo):ConstructorInfo

staticGetField(type:Type, field:FieldInfo):FieldInfo

staticGetMethod(type:Type, method:MethodInfo):MethodInfo

static_GetConstructor(type:Type, constructor:ConstructorInfo):ConstructorInfo

static_GetField(type:Type, field:FieldInfo):FieldInfo

static_GetMethod(type:Type, method:MethodInfo):MethodInfo

Variables

read onlyPackingSize:PackingSize

read onlySize:Int

read onlyTypeToken:TypeToken

Methods

finalAddDeclarativeSecurity(action:SecurityAction, pset:PermissionSet):Void

finalAddInterfaceImplementation(interfaceType:Type):Void

finalCreateType():Type

finalDefineConstructor(attributes:MethodAttributes, callingConvention:CallingConventions, parameterTypes:NativeArray<Type>):ConstructorBuilder

finalDefineConstructor(attributes:MethodAttributes, callingConvention:CallingConventions, parameterTypes:NativeArray<Type>, requiredCustomModifiers:NativeArray<NativeArray<Type>>, optionalCustomModifiers:NativeArray<NativeArray<Type>>):ConstructorBuilder

finalDefineDefaultConstructor(attributes:MethodAttributes):ConstructorBuilder

finalDefineEvent(name:String, attributes:EventAttributes, eventtype:Type):EventBuilder

finalDefineField(fieldName:String, type:Type, attributes:FieldAttributes):FieldBuilder

finalDefineField(fieldName:String, type:Type, requiredCustomModifiers:NativeArray<Type>, optionalCustomModifiers:NativeArray<Type>, attributes:FieldAttributes):FieldBuilder

finalDefineGenericParameters(names:NativeArray<String>):NativeArray<GenericTypeParameterBuilder>

finalDefineInitializedData(name:String, data:NativeArray<UInt8>, attributes:FieldAttributes):FieldBuilder

finalDefineMethod(name:String, attributes:MethodAttributes, returnType:Type, parameterTypes:NativeArray<Type>):MethodBuilder

finalDefineMethod(name:String, attributes:MethodAttributes, callingConvention:CallingConventions):MethodBuilder

finalDefineMethod(name:String, attributes:MethodAttributes):MethodBuilder

finalDefineMethod(name:String, attributes:MethodAttributes, callingConvention:CallingConventions, returnType:Type, returnTypeRequiredCustomModifiers:NativeArray<Type>, returnTypeOptionalCustomModifiers:NativeArray<Type>, parameterTypes:NativeArray<Type>, parameterTypeRequiredCustomModifiers:NativeArray<NativeArray<Type>>, parameterTypeOptionalCustomModifiers:NativeArray<NativeArray<Type>>):MethodBuilder

finalDefineMethod(name:String, attributes:MethodAttributes, callingConvention:CallingConventions, returnType:Type, parameterTypes:NativeArray<Type>):MethodBuilder

finalDefineMethodOverride(methodInfoBody:MethodInfo, methodInfoDeclaration:MethodInfo):Void

finalDefineNestedType(name:String):TypeBuilder

finalDefineNestedType(name:String, attr:TypeAttributes, parent:Type, packSize:PackingSize):TypeBuilder

finalDefineNestedType(name:String, attr:TypeAttributes, parent:Type, typeSize:Int):TypeBuilder

finalDefineNestedType(name:String, attr:TypeAttributes, parent:Type, interfaces:NativeArray<Type>):TypeBuilder

finalDefineNestedType(name:String, attr:TypeAttributes, parent:Type):TypeBuilder

finalDefineNestedType(name:String, attr:TypeAttributes):TypeBuilder

finalDefinePInvokeMethod(name:String, dllName:String, entryName:String, attributes:MethodAttributes, callingConvention:CallingConventions, returnType:Type, parameterTypes:NativeArray<Type>, nativeCallConv:CallingConvention, nativeCharSet:CharSet):MethodBuilder

finalDefinePInvokeMethod(name:String, dllName:String, attributes:MethodAttributes, callingConvention:CallingConventions, returnType:Type, parameterTypes:NativeArray<Type>, nativeCallConv:CallingConvention, nativeCharSet:CharSet):MethodBuilder

finalDefinePInvokeMethod(name:String, dllName:String, entryName:String, attributes:MethodAttributes, callingConvention:CallingConventions, returnType:Type, returnTypeRequiredCustomModifiers:NativeArray<Type>, returnTypeOptionalCustomModifiers:NativeArray<Type>, parameterTypes:NativeArray<Type>, parameterTypeRequiredCustomModifiers:NativeArray<NativeArray<Type>>, parameterTypeOptionalCustomModifiers:NativeArray<NativeArray<Type>>, nativeCallConv:CallingConvention, nativeCharSet:CharSet):MethodBuilder

finalDefineProperty(name:String, attributes:PropertyAttributes, returnType:Type, parameterTypes:NativeArray<Type>):PropertyBuilder

finalDefineProperty(name:String, attributes:PropertyAttributes, callingConvention:CallingConventions, returnType:Type, returnTypeRequiredCustomModifiers:NativeArray<Type>, returnTypeOptionalCustomModifiers:NativeArray<Type>, parameterTypes:NativeArray<Type>, parameterTypeRequiredCustomModifiers:NativeArray<NativeArray<Type>>, parameterTypeOptionalCustomModifiers:NativeArray<NativeArray<Type>>):PropertyBuilder

finalDefineProperty(name:String, attributes:PropertyAttributes, returnType:Type, returnTypeRequiredCustomModifiers:NativeArray<Type>, returnTypeOptionalCustomModifiers:NativeArray<Type>, parameterTypes:NativeArray<Type>, parameterTypeRequiredCustomModifiers:NativeArray<NativeArray<Type>>, parameterTypeOptionalCustomModifiers:NativeArray<NativeArray<Type>>):PropertyBuilder

finalDefineTypeInitializer():ConstructorBuilder

finalDefineUninitializedData(name:String, size:Int, attributes:FieldAttributes):FieldBuilder

finalIsCreated():Bool

finalSetCustomAttribute(customBuilder:CustomAttributeBuilder):Void

finalSetCustomAttribute(con:ConstructorInfo, binaryAttribute:NativeArray<UInt8>):Void

finalSetParent(parent:Type):Void

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/cs/system/reflection/emit/TypeBuilder.html