W3cubDocs

/Haxe C#

MethodBuilder

package cs.system.reflection.emit

extends MethodInfoMethodBaseMemberInfo

implements _MethodBuilder

Available on cs

Variables

InitLocals:Bool

read only Signature:String

Methods

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

CreateMethodBody (il:NativeArray<UInt8>, count:Int):Void

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

DefineParameter (position:Int, attributes:ParameterAttributes, strParamName:String):ParameterBuilder

GetILGenerator ():ILGenerator

GetILGenerator (size:Int):ILGenerator

GetModule ():Module

GetToken ():MethodToken

SetCustomAttribute (customBuilder:CustomAttributeBuilder):Void

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

SetImplementationFlags (attributes:MethodImplAttributes):Void

SetMarshal (unmanagedMarshal:UnmanagedMarshal):Void

SetParameters (parameterTypes:NativeArray<Type>):Void

SetReturnType (returnType:Type):Void

SetSignature (returnType:Type, returnTypeRequiredCustomModifiers:NativeArray<Type>, returnTypeOptionalCustomModifiers:NativeArray<Type>, parameterTypes:NativeArray<Type>, parameterTypeRequiredCustomModifiers:NativeArray<NativeArray<Type>>, parameterTypeOptionalCustomModifiers:NativeArray<NativeArray<Type>>):Void

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

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