W3cubDocs

/Haxe C#

MethodBuilder

package cs.system.reflection.emit

extends MethodInfoMethodBaseMemberInfo

implements _MethodBuilder

@:final@:libType@:csNative@:native("System.Reflection.Emit.MethodBuilder") Available on cs

Variables

InitLocals:Bool

read only Signature:String

Methods

@:final @:overload AddDeclarativeSecurity (action:SecurityAction, pset:PermissionSet):Void

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

@:final @:overload DefineGenericParameters (names:NativeArray<String>):NativeArray<GenericTypeParameterBuilder>

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

@:final @:overload GetILGenerator ():ILGenerator

@:final @:overload GetILGenerator (size:Int):ILGenerator

@:final @:overload GetModule ():Module

@:final @:overload GetToken ():MethodToken

@:final @:overload SetCustomAttribute (customBuilder:CustomAttributeBuilder):Void

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

@:final @:overload SetImplementationFlags (attributes:MethodImplAttributes):Void

@:final @:overload SetMarshal (unmanagedMarshal:UnmanagedMarshal):Void

@:final @:overload SetParameters (parameterTypes:NativeArray<Type>):Void

@:final @:overload SetReturnType (returnType:Type):Void

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

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

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