W3cubDocs

/Haxe C#

ModuleBuilder

package cs.system.reflection.emit

extends Module

implements _ModuleBuilder

Available on cs

Variables

Methods

CreateGlobalFunctions ():Void

DefineDocument (url:String, language:Guid, languageVendor:Guid, documentType:Guid):ISymbolDocumentWriter

DefineEnum (name:String, visibility:TypeAttributes, underlyingType:Type):EnumBuilder

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

DefineGlobalMethod (name:String, attributes:MethodAttributes, callingConvention:CallingConventions, returnType:Type, requiredReturnTypeCustomModifiers:NativeArray<Type>, optionalReturnTypeCustomModifiers:NativeArray<Type>, parameterTypes:NativeArray<Type>, requiredParameterTypeCustomModifiers:NativeArray<NativeArray<Type>>, optionalParameterTypeCustomModifiers:NativeArray<NativeArray<Type>>):MethodBuilder

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

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

DefineManifestResource (name:String, stream:Stream, attribute:ResourceAttributes):Void

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, parameterTypes:NativeArray<Type>, nativeCallConv:CallingConvention, nativeCharSet:CharSet):MethodBuilder

DefineResource (name:String, description:String, attribute:ResourceAttributes):IResourceWriter

DefineResource (name:String, description:String):IResourceWriter

DefineType (name:String):TypeBuilder

DefineType (name:String, attr:TypeAttributes, parent:Type, packingSize:PackingSize, typesize:Int):TypeBuilder

DefineType (name:String, attr:TypeAttributes, parent:Type, packsize:PackingSize):TypeBuilder

DefineType (name:String, attr:TypeAttributes, parent:Type, typesize:Int):TypeBuilder

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

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

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

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

DefineUnmanagedResource (resource:NativeArray<UInt8>):Void

DefineUnmanagedResource (resourceFileName:String):Void

GetArrayMethod (arrayClass:Type, methodName:String, callingConvention:CallingConventions, returnType:Type, parameterTypes:NativeArray<Type>):MethodInfo

GetArrayMethodToken (arrayClass:Type, methodName:String, callingConvention:CallingConventions, returnType:Type, parameterTypes:NativeArray<Type>):MethodToken

GetConstructorToken (con:ConstructorInfo):MethodToken

GetFieldToken (field:FieldInfo):FieldToken

GetMethodToken (method:MethodInfo):MethodToken

GetSignatureToken (sigBytes:NativeArray<UInt8>, sigLength:Int):SignatureToken

GetSignatureToken (sigHelper:SignatureHelper):SignatureToken

GetStringConstant (str:String):StringToken

GetSymWriter ():ISymbolWriter

GetTypeToken (type:Type):TypeToken

GetTypeToken (name:String):TypeToken

IsTransient ():Bool

SetCustomAttribute (customBuilder:CustomAttributeBuilder):Void

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

SetSymCustomAttribute (name:String, data:NativeArray<UInt8>):Void

SetUserEntryPoint (entryPoint:MethodInfo):Void

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/cs/system/reflection/emit/ModuleBuilder.html