DynamicILInfo.DynamicMethod Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the dynamic method whose body is generated by the current instance.
public:
property System::Reflection::Emit::DynamicMethod ^ DynamicMethod { System::Reflection::Emit::DynamicMethod ^ get(); };
public System.Reflection.Emit.DynamicMethod DynamicMethod { get; }
member this.DynamicMethod : System.Reflection.Emit.DynamicMethod
Public ReadOnly Property DynamicMethod As DynamicMethod
Property Value
A DynamicMethod object representing the dynamic method for which the current DynamicILInfo object is generating code.
Remarks
A DynamicILInfo object is always associated with a dynamic method. The purpose of the DynamicILInfo class is to provide another way of inserting the MSIL stream, exception handling, and local variable signature into a dynamic method, for developers who want to generate MSIL without using the ILGenerator class.