MethodBuilder (class)

This type is found in the namespace System.Reflection.Emit

mDefineParameterParameterBuilder
mGetILGeneratorILGenerator
mEqualsBoolean
mGetHashCodeInt32
mget_NameString
mget_ModuleModule
mget_DeclaringTypeType
mget_ReturnTypeCustomAttributesICustomAttributeProvider
mget_ReflectedTypeType
mInvokeObject
mGetMethodImplementationFlagsMethodImplAttributes
mget_AttributesMethodAttributes
mget_CallingConventionCallingConventions
mget_MethodHandleRuntimeMethodHandle
mget_IsSecurityCriticalBoolean
mget_IsSecuritySafeCriticalBoolean
mget_IsSecurityTransparentBoolean
mGetBaseDefinitionMethodInfo
mget_ReturnTypeType
mGetParametersParameterInfo[]
mget_ReturnParameterParameterInfo
mGetCustomAttributesObject[]
mGetCustomAttributesObject[]
mIsDefinedBoolean
mget_IsGenericMethodDefinitionBoolean
mget_ContainsGenericParametersBoolean
mGetGenericMethodDefinitionMethodInfo
mget_IsGenericMethodBoolean
mGetGenericArgumentsType[]
mMakeGenericMethodMethodInfo
mDefineGenericParametersGenericTypeParameterBuilder[]
mGetTokenMethodToken
mSetParametersVoid
mSetReturnTypeVoid
mSetSignatureVoid
mSetMarshalVoid
mSetSymCustomAttributeVoid
mAddDeclarativeSecurityVoid
mSetMethodBodyVoid
mCreateMethodBodyVoid
mSetImplementationFlagsVoid
mGetILGeneratorILGenerator
mget_InitLocalsBoolean
mset_InitLocalsVoid
mGetModuleModule
mget_SignatureString
mSetCustomAttributeVoid
mSetCustomAttributeVoid
mToStringString
mget_MemberTypeMemberTypes
mCreateDelegateDelegate
mCreateDelegateDelegate
mget_MethodImplementationFlagsMethodImplAttributes
mInvokeObject
mget_IsPublicBoolean
mget_IsPrivateBoolean
mget_IsFamilyBoolean
mget_IsAssemblyBoolean
mget_IsFamilyAndAssemblyBoolean
mget_IsFamilyOrAssemblyBoolean
mget_IsStaticBoolean
mget_IsFinalBoolean
mget_IsVirtualBoolean
mget_IsHideBySigBoolean
mget_IsAbstractBoolean
mget_IsSpecialNameBoolean
mget_IsConstructorBoolean
mGetMethodBodyMethodBody
mget_CustomAttributes0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]
mGetCustomAttributesData0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]
mget_MetadataTokenInt32
mGetTypeType
pNameString
pModuleModule
pDeclaringTypeType
pReturnTypeCustomAttributesICustomAttributeProvider
pReflectedTypeType
pAttributesMethodAttributes
pCallingConventionCallingConventions
pMethodHandleRuntimeMethodHandle
pIsSecurityCriticalBoolean
pIsSecuritySafeCriticalBoolean
pIsSecurityTransparentBoolean
pReturnTypeType
pReturnParameterParameterInfo
pIsGenericMethodDefinitionBoolean
pContainsGenericParametersBoolean
pIsGenericMethodBoolean
pInitLocalsBoolean
pSignatureString
pMemberTypeMemberTypes
pMethodImplementationFlagsMethodImplAttributes
pIsPublicBoolean
pIsPrivateBoolean
pIsFamilyBoolean
pIsAssemblyBoolean
pIsFamilyAndAssemblyBoolean
pIsFamilyOrAssemblyBoolean
pIsStaticBoolean
pIsFinalBoolean
pIsVirtualBoolean
pIsHideBySigBoolean
pIsAbstractBoolean
pIsSpecialNameBoolean
pIsConstructorBoolean
pCustomAttributes0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]
pMetadataTokenInt32

DefineParameter

GetILGenerator

positionSystem.Int32
attributesSystem.Reflection.ParameterAttributes
strParamNameSystem.String

Equals

.

GetHashCode

objSystem.Object

get_Name

.

get_Module

.

get_DeclaringType

.

get_ReturnTypeCustomAttributes

.

get_ReflectedType

.

Invoke

.

GetMethodImplementationFlags

objSystem.Object
invokeAttrSystem.Reflection.BindingFlags
binderSystem.Reflection.Binder
parametersSystem.Object[]
cultureSystem.Globalization.CultureInfo

get_Attributes

.

get_CallingConvention

.

get_MethodHandle

.

get_IsSecurityCritical

.

get_IsSecuritySafeCritical

.

get_IsSecurityTransparent

.

GetBaseDefinition

.

get_ReturnType

.

GetParameters

.

get_ReturnParameter

.

GetCustomAttributes

.

GetCustomAttributes

inheritSystem.Boolean

IsDefined

attributeTypeSystem.Type
inheritSystem.Boolean

get_IsGenericMethodDefinition

attributeTypeSystem.Type
inheritSystem.Boolean

get_ContainsGenericParameters

.

GetGenericMethodDefinition

.

get_IsGenericMethod

.

GetGenericArguments

.

MakeGenericMethod

.

DefineGenericParameters

typeArgumentsSystem.Type[]

GetToken

namesSystem.String[]

SetParameters

.

SetReturnType

parameterTypesSystem.Type[]

SetSignature

returnTypeSystem.Type

SetMarshal

returnTypeSystem.Type
returnTypeRequiredCustomModifiersSystem.Type[]
returnTypeOptionalCustomModifiersSystem.Type[]
parameterTypesSystem.Type[]
parameterTypeRequiredCustomModifiersSystem.Type[][]
parameterTypeOptionalCustomModifiersSystem.Type[][]

SetSymCustomAttribute

unmanagedMarshalSystem.Reflection.Emit.UnmanagedMarshal

AddDeclarativeSecurity

nameSystem.String
dataSystem.Byte[]

SetMethodBody

actionSystem.Security.Permissions.SecurityAction
psetSystem.Security.PermissionSet

CreateMethodBody

ilSystem.Byte[]
maxStackSystem.Int32
localSignatureSystem.Byte[]
exceptionHandlersSystem.Collections.Generic.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]
tokenFixupsSystem.Collections.Generic.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]

SetImplementationFlags

ilSystem.Byte[]
countSystem.Int32

GetILGenerator

attributesSystem.Reflection.MethodImplAttributes

get_InitLocals

sizeSystem.Int32

set_InitLocals

.

GetModule

valueSystem.Boolean

get_Signature

.

SetCustomAttribute

.

SetCustomAttribute

conSystem.Reflection.ConstructorInfo
binaryAttributeSystem.Byte[]

ToString

customBuilderSystem.Reflection.Emit.CustomAttributeBuilder

get_MemberType

.

CreateDelegate

.

CreateDelegate

delegateTypeSystem.Type

get_MethodImplementationFlags

delegateTypeSystem.Type
targetSystem.Object

Invoke

.

get_IsPublic

objSystem.Object
parametersSystem.Object[]

get_IsPrivate

.

get_IsFamily

.

get_IsAssembly

.

get_IsFamilyAndAssembly

.

get_IsFamilyOrAssembly

.

get_IsStatic

.

get_IsFinal

.

get_IsVirtual

.

get_IsHideBySig

.

get_IsAbstract

.

get_IsSpecialName

.

get_IsConstructor

.

GetMethodBody

.

get_CustomAttributes

.

GetCustomAttributesData

.

get_MetadataToken

.

GetType

.

Name

.

Module

.

DeclaringType

.

ReturnTypeCustomAttributes

.

ReflectedType

.

Attributes

.

CallingConvention

.

MethodHandle

.

IsSecurityCritical

.

IsSecuritySafeCritical

.

IsSecurityTransparent

.

ReturnType

.

ReturnParameter

.

IsGenericMethodDefinition

.

ContainsGenericParameters

.

IsGenericMethod

.

InitLocals

.

Signature

.

MemberType

.

MethodImplementationFlags

.

IsPublic

.

IsPrivate

.

IsFamily

.

IsAssembly

.

IsFamilyAndAssembly

.

IsFamilyOrAssembly

.

IsStatic

.

IsFinal

.

IsVirtual

.

IsHideBySig

.

IsAbstract

.

IsSpecialName

.

IsConstructor

.

CustomAttributes

.

MetadataToken

.
.