MethodBuilder
MethodBuilder()
Attributes
CallingConvention
ContainsGenericParameters
DeclaringType
InitLocals
InitLocalsCore
IsConstructedGenericMethod
IsGenericMethod
IsGenericMethodDefinition
IsSecurityCritical
IsSecuritySafeCritical
IsSecurityTransparent
MetadataToken
MethodHandle
MethodImplementationFlags
Module
Name
ReflectedType
ReturnParameter
ReturnType
ReturnTypeCustomAttributes
Signature
AddDeclarativeSecurity(SecurityAction, PermissionSet)
CreateMethodBody(Byte[], Int32)
DefineGenericParameters(String[])
DefineGenericParametersCore(String[])
DefineParameter(Int32, ParameterAttributes, String)
DefineParameterCore(Int32, ParameterAttributes, String)
Equals(Object)
GetBaseDefinition()
GetCustomAttributes(Boolean)
GetCustomAttributes(Type, Boolean)
GetGenericArguments()
GetGenericMethodDefinition()
GetHashCode()
GetILGenerator()
GetILGenerator(Int32)
GetILGeneratorCore(Int32)
GetMethodImplementationFlags()
GetModule()
GetParameters()
GetToken()
Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
IsDefined(Type, Boolean)
MakeGenericMethod(Type[])
SetCustomAttribute(CustomAttributeBuilder)
SetCustomAttribute(ConstructorInfo, Byte[])
SetCustomAttributeCore(ConstructorInfo, ReadOnlySpan<Byte>)
SetImplementationFlags(MethodImplAttributes)
SetImplementationFlagsCore(MethodImplAttributes)
SetMarshal(UnmanagedMarshal)
SetMethodBody(Byte[], Int32, Byte[], IEnumerable<ExceptionHandler>, IEnumerable<Int32>)
SetParameters(Type[])
SetReturnType(Type)
SetSignature(Type, Type[], Type[], Type[], Type[][], Type[][])
SetSignatureCore(Type, Type[], Type[], Type[], Type[][], Type[][])
SetSymCustomAttribute(String, Byte[])
ToString()
net9.0
namespace System.Reflection.Emit
{
public abstract class MethodBuilder : MethodInfo
{
protected abstract void SetSignatureCore(Type? returnType, Type![]? returnTypeRequiredCustomModifiers, Type![]? returnTypeOptionalCustomModifiers, Type![]? parameterTypes, Type![]![]? parameterTypeRequiredCustomModifiers, Type![]![]? parameterTypeOptionalCustomModifiers);
}
}
.NET | 8.09.0 |
---|---|
Information specific to net9.0 | |
Assembly | System.Reflection.Emit , Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a |
Referencing | The API is automatically referenced. |
Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API