177 lines
21 KiB
XML
177 lines
21 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
|||
|
<doc>
|
|||
|
<assembly>
|
|||
|
<name>System.Reflection.Emit.Lightweight</name>
|
|||
|
</assembly>
|
|||
|
<members>
|
|||
|
<member name="T:System.Reflection.Emit.DynamicMethod">
|
|||
|
<summary>Defines and represents a dynamic method that can be compiled, executed, and discarded. Discarded methods are available for garbage collection.</summary>
|
|||
|
</member>
|
|||
|
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Reflection.MethodAttributes,System.Reflection.CallingConventions,System.Type,System.Type[],System.Reflection.Module,System.Boolean)">
|
|||
|
<summary>Creates a dynamic method that is global to a module, specifying the method name, attributes, calling convention, return type, parameter types, module, and whether just-in-time (JIT) visibility checks should be skipped for types and members accessed by the Microsoft intermediate language (MSIL) of the dynamic method.</summary>
|
|||
|
<param name="name">The name of the dynamic method. This can be a zero-length string, but it cannot be null.</param>
|
|||
|
<param name="attributes">A bitwise combination of <see cref="T:System.Reflection.MethodAttributes" /> values that specifies the attributes of the dynamic method. The only combination allowed is <see cref="F:System.Reflection.MethodAttributes.Public" /> and <see cref="F:System.Reflection.MethodAttributes.Static" />.</param>
|
|||
|
<param name="callingConvention">The calling convention for the dynamic method. Must be <see cref="F:System.Reflection.CallingConventions.Standard" />.</param>
|
|||
|
<param name="returnType">A <see cref="T:System.Type" /> object that specifies the return type of the dynamic method, or null if the method has no return type. </param>
|
|||
|
<param name="parameterTypes">An array of <see cref="T:System.Type" /> objects specifying the types of the parameters of the dynamic method, or null if the method has no parameters. </param>
|
|||
|
<param name="m">A <see cref="T:System.Reflection.Module" /> representing the module with which the dynamic method is to be logically associated. </param>
|
|||
|
<param name="skipVisibility">true to skip JIT visibility checks on types and members accessed by the MSIL of the dynamic method; otherwise, false. </param>
|
|||
|
<exception cref="T:System.ArgumentException">An element of <paramref name="parameterTypes" /> is null or <see cref="T:System.Void" />.-or-<paramref name="m" /> is a module that provides anonymous hosting for dynamic methods.</exception>
|
|||
|
<exception cref="T:System.ArgumentNullException">
|
|||
|
<paramref name="name" /> is null. -or-<paramref name="m" /> is null.</exception>
|
|||
|
<exception cref="T:System.NotSupportedException">
|
|||
|
<paramref name="attributes" /> is a combination of flags other than <see cref="F:System.Reflection.MethodAttributes.Public" /> and <see cref="F:System.Reflection.MethodAttributes.Static" />.-or-<paramref name="callingConvention" /> is not <see cref="F:System.Reflection.CallingConventions.Standard" />.-or-<paramref name="returnType" /> is a type for which <see cref="P:System.Type.IsByRef" /> returns true. </exception>
|
|||
|
</member>
|
|||
|
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Reflection.MethodAttributes,System.Reflection.CallingConventions,System.Type,System.Type[],System.Type,System.Boolean)">
|
|||
|
<summary>Creates a dynamic method, specifying the method name, attributes, calling convention, return type, parameter types, the type with which the dynamic method is logically associated, and whether just-in-time (JIT) visibility checks should be skipped for types and members accessed by the Microsoft intermediate language (MSIL) of the dynamic method.</summary>
|
|||
|
<param name="name">The name of the dynamic method. This can be a zero-length string, but it cannot be null.</param>
|
|||
|
<param name="attributes">A bitwise combination of <see cref="T:System.Reflection.MethodAttributes" /> values that specifies the attributes of the dynamic method. The only combination allowed is <see cref="F:System.Reflection.MethodAttributes.Public" /> and <see cref="F:System.Reflection.MethodAttributes.Static" />.</param>
|
|||
|
<param name="callingConvention">The calling convention for the dynamic method. Must be <see cref="F:System.Reflection.CallingConventions.Standard" />.</param>
|
|||
|
<param name="returnType">A <see cref="T:System.Type" /> object that specifies the return type of the dynamic method, or null if the method has no return type. </param>
|
|||
|
<param name="parameterTypes">An array of <see cref="T:System.Type" /> objects specifying the types of the parameters of the dynamic method, or null if the method has no parameters. </param>
|
|||
|
<param name="owner">A <see cref="T:System.Type" /> with which the dynamic method is logically associated. The dynamic method has access to all members of the type.</param>
|
|||
|
<param name="skipVisibility">true to skip JIT visibility checks on types and members accessed by the MSIL of the dynamic method; otherwise, false.</param>
|
|||
|
<exception cref="T:System.ArgumentException">An element of <paramref name="parameterTypes" /> is null or <see cref="T:System.Void" />. -or-<paramref name="owner" /> is an interface, an array, an open generic type, or a type parameter of a generic type or method.</exception>
|
|||
|
<exception cref="T:System.ArgumentNullException">
|
|||
|
<paramref name="name" /> is null. -or-<paramref name="owner" /> is null.</exception>
|
|||
|
<exception cref="T:System.NotSupportedException">
|
|||
|
<paramref name="attributes" /> is a combination of flags other than <see cref="F:System.Reflection.MethodAttributes.Public" /> and <see cref="F:System.Reflection.MethodAttributes.Static" />.-or-<paramref name="callingConvention" /> is not <see cref="F:System.Reflection.CallingConventions.Standard" />.-or-<paramref name="returnType" /> is a type for which <see cref="P:System.Type.IsByRef" /> returns true. </exception>
|
|||
|
</member>
|
|||
|
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[])">
|
|||
|
<summary>Initializes an anonymously hosted dynamic method, specifying the method name, return type, and parameter types. </summary>
|
|||
|
<param name="name">The name of the dynamic method. This can be a zero-length string, but it cannot be null. </param>
|
|||
|
<param name="returnType">A <see cref="T:System.Type" /> object that specifies the return type of the dynamic method, or null if the method has no return type. </param>
|
|||
|
<param name="parameterTypes">An array of <see cref="T:System.Type" /> objects specifying the types of the parameters of the dynamic method, or null if the method has no parameters. </param>
|
|||
|
<exception cref="T:System.ArgumentException">An element of <paramref name="parameterTypes" /> is null or <see cref="T:System.Void" />. </exception>
|
|||
|
<exception cref="T:System.ArgumentNullException">
|
|||
|
<paramref name="name" /> is null. </exception>
|
|||
|
<exception cref="T:System.NotSupportedException">
|
|||
|
<paramref name="returnType" /> is a type for which <see cref="P:System.Type.IsByRef" /> returns true. </exception>
|
|||
|
</member>
|
|||
|
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Boolean)">
|
|||
|
<summary>Initializes an anonymously hosted dynamic method, specifying the method name, return type, parameter types, and whether just-in-time (JIT) visibility checks should be skipped for types and members accessed by the Microsoft intermediate language (MSIL) of the dynamic method. </summary>
|
|||
|
<param name="name">The name of the dynamic method. This can be a zero-length string, but it cannot be null. </param>
|
|||
|
<param name="returnType">A <see cref="T:System.Type" /> object that specifies the return type of the dynamic method, or null if the method has no return type. </param>
|
|||
|
<param name="parameterTypes">An array of <see cref="T:System.Type" /> objects specifying the types of the parameters of the dynamic method, or null if the method has no parameters. </param>
|
|||
|
<param name="restrictedSkipVisibility">true to skip JIT visibility checks on types and members accessed by the MSIL of the dynamic method, with this restriction: the trust level of the assemblies that contain those types and members must be equal to or less than the trust level of the call stack that emits the dynamic method; otherwise, false. </param>
|
|||
|
<exception cref="T:System.ArgumentException">An element of <paramref name="parameterTypes" /> is null or <see cref="T:System.Void" />.</exception>
|
|||
|
<exception cref="T:System.ArgumentNullException">
|
|||
|
<paramref name="name" /> is null. </exception>
|
|||
|
<exception cref="T:System.NotSupportedException">
|
|||
|
<paramref name="returnType" /> is a type for which <see cref="P:System.Type.IsByRef" /> returns true. </exception>
|
|||
|
</member>
|
|||
|
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Reflection.Module)">
|
|||
|
<summary>Creates a dynamic method that is global to a module, specifying the method name, return type, parameter types, and module.</summary>
|
|||
|
<param name="name">The name of the dynamic method. This can be a zero-length string, but it cannot be null. </param>
|
|||
|
<param name="returnType">A <see cref="T:System.Type" /> object that specifies the return type of the dynamic method, or null if the method has no return type. </param>
|
|||
|
<param name="parameterTypes">An array of <see cref="T:System.Type" /> objects specifying the types of the parameters of the dynamic method, or null if the method has no parameters. </param>
|
|||
|
<param name="m">A <see cref="T:System.Reflection.Module" /> representing the module with which the dynamic method is to be logically associated. </param>
|
|||
|
<exception cref="T:System.ArgumentException">An element of <paramref name="parameterTypes" /> is null or <see cref="T:System.Void" />. -or-<paramref name="m" /> is a module that provides anonymous hosting for dynamic methods.</exception>
|
|||
|
<exception cref="T:System.ArgumentNullException">
|
|||
|
<paramref name="name" /> is null. -or-<paramref name="m" /> is null.</exception>
|
|||
|
<exception cref="T:System.NotSupportedException">
|
|||
|
<paramref name="returnType" /> is a type for which <see cref="P:System.Type.IsByRef" /> returns true. </exception>
|
|||
|
</member>
|
|||
|
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Reflection.Module,System.Boolean)">
|
|||
|
<summary>Creates a dynamic method that is global to a module, specifying the method name, return type, parameter types, module, and whether just-in-time (JIT) visibility checks should be skipped for types and members accessed by the Microsoft intermediate language (MSIL) of the dynamic method.</summary>
|
|||
|
<param name="name">The name of the dynamic method. This can be a zero-length string, but it cannot be null. </param>
|
|||
|
<param name="returnType">A <see cref="T:System.Type" /> object that specifies the return type of the dynamic method, or null if the method has no return type. </param>
|
|||
|
<param name="parameterTypes">An array of <see cref="T:System.Type" /> objects specifying the types of the parameters of the dynamic method, or null if the method has no parameters. </param>
|
|||
|
<param name="m">A <see cref="T:System.Reflection.Module" /> representing the module with which the dynamic method is to be logically associated. </param>
|
|||
|
<param name="skipVisibility">true to skip JIT visibility checks on types and members accessed by the MSIL of the dynamic method. </param>
|
|||
|
<exception cref="T:System.ArgumentException">An element of <paramref name="parameterTypes" /> is null or <see cref="T:System.Void" />. -or-<paramref name="m" /> is a module that provides anonymous hosting for dynamic methods.</exception>
|
|||
|
<exception cref="T:System.ArgumentNullException">
|
|||
|
<paramref name="name" /> is null. -or-<paramref name="m" /> is null.</exception>
|
|||
|
<exception cref="T:System.NotSupportedException">
|
|||
|
<paramref name="returnType" /> is a type for which <see cref="P:System.Type.IsByRef" /> returns true. </exception>
|
|||
|
</member>
|
|||
|
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Type)">
|
|||
|
<summary>Creates a dynamic method, specifying the method name, return type, parameter types, and the type with which the dynamic method is logically associated.</summary>
|
|||
|
<param name="name">The name of the dynamic method. This can be a zero-length string, but it cannot be null. </param>
|
|||
|
<param name="returnType">A <see cref="T:System.Type" /> object that specifies the return type of the dynamic method, or null if the method has no return type. </param>
|
|||
|
<param name="parameterTypes">An array of <see cref="T:System.Type" /> objects specifying the types of the parameters of the dynamic method, or null if the method has no parameters. </param>
|
|||
|
<param name="owner">A <see cref="T:System.Type" /> with which the dynamic method is logically associated. The dynamic method has access to all members of the type. </param>
|
|||
|
<exception cref="T:System.ArgumentException">An element of <paramref name="parameterTypes" /> is null or <see cref="T:System.Void" />.-or- <paramref name="owner" /> is an interface, an array, an open generic type, or a type parameter of a generic type or method. </exception>
|
|||
|
<exception cref="T:System.ArgumentNullException">
|
|||
|
<paramref name="name" /> is null. -or-<paramref name="owner" /> is null.</exception>
|
|||
|
<exception cref="T:System.NotSupportedException">
|
|||
|
<paramref name="returnType" /> is null, or is a type for which <see cref="P:System.Type.IsByRef" /> returns true. </exception>
|
|||
|
</member>
|
|||
|
<member name="M:System.Reflection.Emit.DynamicMethod.#ctor(System.String,System.Type,System.Type[],System.Type,System.Boolean)">
|
|||
|
<summary>Creates a dynamic method, specifying the method name, return type, parameter types, the type with which the dynamic method is logically associated, and whether just-in-time (JIT) visibility checks should be skipped for types and members accessed by the Microsoft intermediate language (MSIL) of the dynamic method.</summary>
|
|||
|
<param name="name">The name of the dynamic method. This can be a zero-length string, but it cannot be null. </param>
|
|||
|
<param name="returnType">A <see cref="T:System.Type" /> object that specifies the return type of the dynamic method, or null if the method has no return type. </param>
|
|||
|
<param name="parameterTypes">An array of <see cref="T:System.Type" /> objects specifying the types of the parameters of the dynamic method, or null if the method has no parameters. </param>
|
|||
|
<param name="owner">A <see cref="T:System.Type" /> with which the dynamic method is logically associated. The dynamic method has access to all members of the type.</param>
|
|||
|
<param name="skipVisibility">true to skip JIT visibility checks on types and members accessed by the MSIL of the dynamic method; otherwise, false. </param>
|
|||
|
<exception cref="T:System.ArgumentException">An element of <paramref name="parameterTypes" /> is null or <see cref="T:System.Void" />.-or- <paramref name="owner" /> is an interface, an array, an open generic type, or a type parameter of a generic type or method.</exception>
|
|||
|
<exception cref="T:System.ArgumentNullException">
|
|||
|
<paramref name="name" /> is null. -or-<paramref name="owner" /> is null.</exception>
|
|||
|
<exception cref="T:System.NotSupportedException">
|
|||
|
<paramref name="returnType" /> is null, or is a type for which <see cref="P:System.Type.IsByRef" /> returns true. </exception>
|
|||
|
</member>
|
|||
|
<member name="P:System.Reflection.Emit.DynamicMethod.Attributes">
|
|||
|
<summary>Gets the attributes specified when the dynamic method was created.</summary>
|
|||
|
<returns>A bitwise combination of the <see cref="T:System.Reflection.MethodAttributes" /> values representing the attributes for the method.</returns>
|
|||
|
</member>
|
|||
|
<member name="P:System.Reflection.Emit.DynamicMethod.CallingConvention">
|
|||
|
<summary>Gets the calling convention specified when the dynamic method was created.</summary>
|
|||
|
<returns>One of the <see cref="T:System.Reflection.CallingConventions" /> values that indicates the calling convention of the method.</returns>
|
|||
|
</member>
|
|||
|
<member name="M:System.Reflection.Emit.DynamicMethod.CreateDelegate(System.Type)">
|
|||
|
<summary>Completes the dynamic method and creates a delegate that can be used to execute it.</summary>
|
|||
|
<returns>A delegate of the specified type, which can be used to execute the dynamic method.</returns>
|
|||
|
<param name="delegateType">A delegate type whose signature matches that of the dynamic method. </param>
|
|||
|
<exception cref="T:System.InvalidOperationException">The dynamic method has no method body.</exception>
|
|||
|
<exception cref="T:System.ArgumentException">
|
|||
|
<paramref name="delegateType" /> has the wrong number of parameters or the wrong parameter types.</exception>
|
|||
|
</member>
|
|||
|
<member name="M:System.Reflection.Emit.DynamicMethod.CreateDelegate(System.Type,System.Object)">
|
|||
|
<summary>Completes the dynamic method and creates a delegate that can be used to execute it, specifying the delegate type and an object the delegate is bound to.</summary>
|
|||
|
<returns>A delegate of the specified type, which can be used to execute the dynamic method with the specified target object.</returns>
|
|||
|
<param name="delegateType">A delegate type whose signature matches that of the dynamic method, minus the first parameter.</param>
|
|||
|
<param name="target">An object the delegate is bound to. Must be of the same type as the first parameter of the dynamic method. </param>
|
|||
|
<exception cref="T:System.InvalidOperationException">The dynamic method has no method body.</exception>
|
|||
|
<exception cref="T:System.ArgumentException">
|
|||
|
<paramref name="target" /> is not the same type as the first parameter of the dynamic method, and is not assignable to that type.-or-<paramref name="delegateType" /> has the wrong number of parameters or the wrong parameter types.</exception>
|
|||
|
</member>
|
|||
|
<member name="P:System.Reflection.Emit.DynamicMethod.DeclaringType">
|
|||
|
<summary>Gets the type that declares the method, which is always null for dynamic methods.</summary>
|
|||
|
<returns>Always null.</returns>
|
|||
|
</member>
|
|||
|
<member name="M:System.Reflection.Emit.DynamicMethod.GetILGenerator">
|
|||
|
<summary>Returns a Microsoft intermediate language (MSIL) generator for the method with a default MSIL stream size of 64 bytes.</summary>
|
|||
|
<returns>An <see cref="T:System.Reflection.Emit.ILGenerator" /> object for the method.</returns>
|
|||
|
</member>
|
|||
|
<member name="M:System.Reflection.Emit.DynamicMethod.GetILGenerator(System.Int32)">
|
|||
|
<summary>Returns a Microsoft intermediate language (MSIL) generator for the method with the specified MSIL stream size.</summary>
|
|||
|
<returns>An <see cref="T:System.Reflection.Emit.ILGenerator" /> object for the method, with the specified MSIL stream size.</returns>
|
|||
|
<param name="streamSize">The size of the MSIL stream, in bytes. </param>
|
|||
|
</member>
|
|||
|
<member name="M:System.Reflection.Emit.DynamicMethod.GetParameters">
|
|||
|
<summary>Returns the parameters of the dynamic method.</summary>
|
|||
|
<returns>An array of <see cref="T:System.Reflection.ParameterInfo" /> objects that represent the parameters of the dynamic method.</returns>
|
|||
|
</member>
|
|||
|
<member name="P:System.Reflection.Emit.DynamicMethod.InitLocals">
|
|||
|
<summary>Gets or sets a value indicating whether the local variables in the method are zero-initialized. </summary>
|
|||
|
<returns>true if the local variables in the method are zero-initialized; otherwise, false. The default is true.</returns>
|
|||
|
</member>
|
|||
|
<member name="P:System.Reflection.Emit.DynamicMethod.MethodImplementationFlags"></member>
|
|||
|
<member name="P:System.Reflection.Emit.DynamicMethod.Name">
|
|||
|
<summary>Gets the name of the dynamic method.</summary>
|
|||
|
<returns>The simple name of the method.</returns>
|
|||
|
</member>
|
|||
|
<member name="P:System.Reflection.Emit.DynamicMethod.ReturnParameter">
|
|||
|
<summary>Gets the return parameter of the dynamic method.</summary>
|
|||
|
<returns>Always null. </returns>
|
|||
|
</member>
|
|||
|
<member name="P:System.Reflection.Emit.DynamicMethod.ReturnType">
|
|||
|
<summary>Gets the type of return value for the dynamic method.</summary>
|
|||
|
<returns>A <see cref="T:System.Type" /> representing the type of the return value of the current method; <see cref="T:System.Void" /> if the method has no return type.</returns>
|
|||
|
</member>
|
|||
|
<member name="M:System.Reflection.Emit.DynamicMethod.ToString">
|
|||
|
<summary>Returns the signature of the method, represented as a string.</summary>
|
|||
|
<returns>A string representing the method signature.</returns>
|
|||
|
</member>
|
|||
|
</members>
|
|||
|
</doc>
|