package cs.system.reflection.emit
extends Type › MemberInfo
implements _TypeBuilder
Available on csread only PackingSize:PackingSizeread only Size:Intread only TypeToken:TypeToken AddDeclarativeSecurity (action:SecurityAction, pset:PermissionSet):Void AddInterfaceImplementation (interfaceType:Type):Void CreateType ():Type DefineConstructor (attributes:MethodAttributes, callingConvention:CallingConventions, parameterTypes:NativeArray<Type>):ConstructorBuilder DefineConstructor (attributes:MethodAttributes, callingConvention:CallingConventions, parameterTypes:NativeArray<Type>, requiredCustomModifiers:NativeArray<NativeArray<Type>>, optionalCustomModifiers:NativeArray<NativeArray<Type>>):ConstructorBuilder DefineDefaultConstructor (attributes:MethodAttributes):ConstructorBuilder DefineEvent (name:String, attributes:EventAttributes, eventtype:Type):EventBuilder DefineField (fieldName:String, type:Type, attributes:FieldAttributes):FieldBuilder DefineField (fieldName:String, type:Type, requiredCustomModifiers:NativeArray<Type>, optionalCustomModifiers:NativeArray<Type>, attributes:FieldAttributes):FieldBuilder DefineGenericParameters (names:NativeArray<String>):NativeArray<GenericTypeParameterBuilder> DefineInitializedData (name:String, data:NativeArray<UInt8>, attributes:FieldAttributes):FieldBuilder DefineMethod (name:String, attributes:MethodAttributes, returnType:Type, parameterTypes:NativeArray<Type>):MethodBuilder DefineMethod (name:String, attributes:MethodAttributes, callingConvention:CallingConventions):MethodBuilder DefineMethod (name:String, attributes:MethodAttributes):MethodBuilder DefineMethod (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 DefineMethod (name:String, attributes:MethodAttributes, callingConvention:CallingConventions, returnType:Type, parameterTypes:NativeArray<Type>):MethodBuilder DefineMethodOverride (methodInfoBody:MethodInfo, methodInfoDeclaration:MethodInfo):Void DefineNestedType (name:String):TypeBuilder DefineNestedType (name:String, attr:TypeAttributes, parent:Type, packSize:PackingSize):TypeBuilder DefineNestedType (name:String, attr:TypeAttributes, parent:Type, typeSize:Int):TypeBuilder DefineNestedType (name:String, attr:TypeAttributes, parent:Type, interfaces:NativeArray<Type>):TypeBuilder DefineNestedType (name:String, attr:TypeAttributes, parent:Type):TypeBuilder DefineNestedType (name:String, attr:TypeAttributes):TypeBuilder DefinePInvokeMethod (name:String, dllName:String, entryName:String, attributes:MethodAttributes, callingConvention:CallingConventions, returnType:Type, parameterTypes:NativeArray<Type>, nativeCallConv:CallingConvention, nativeCharSet:CharSet):MethodBuilder DefinePInvokeMethod (name:String, dllName:String, attributes:MethodAttributes, callingConvention:CallingConventions, returnType:Type, parameterTypes:NativeArray<Type>, nativeCallConv:CallingConvention, nativeCharSet:CharSet):MethodBuilder DefinePInvokeMethod (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 DefineProperty (name:String, attributes:PropertyAttributes, returnType:Type, parameterTypes:NativeArray<Type>):PropertyBuilder DefineProperty (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 DefineProperty (name:String, attributes:PropertyAttributes, returnType:Type, returnTypeRequiredCustomModifiers:NativeArray<Type>, returnTypeOptionalCustomModifiers:NativeArray<Type>, parameterTypes:NativeArray<Type>, parameterTypeRequiredCustomModifiers:NativeArray<NativeArray<Type>>, parameterTypeOptionalCustomModifiers:NativeArray<NativeArray<Type>>):PropertyBuilder DefineTypeInitializer ():ConstructorBuilder DefineUninitializedData (name:String, size:Int, attributes:FieldAttributes):FieldBuilder IsCreated ():Bool SetCustomAttribute (customBuilder:CustomAttributeBuilder):Void SetCustomAttribute (con:ConstructorInfo, binaryAttribute:NativeArray<UInt8>):Void SetParent (parent:Type):Void static read only UnspecifiedTypeSize:Int static GetConstructor (type:Type, constructor:ConstructorInfo):ConstructorInfo static GetField (type:Type, field:FieldInfo):FieldInfo static GetMethod (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
© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/cs/system/reflection/emit/TypeBuilder.html