System.Reflection.Emit.MethodBuilder.Module Property

Gets the module in which the current method is being defined.

Syntax

public override System.Reflection.Module Module { get; }

Value

Documentation for this section has not yet been entered.

Remarks

This property is provided as a convenience. It is equivalent to using the MethodBuilder.DeclaringType property to get the type in which the method is being declared, and then calling the Type.Module property of the resulting Type object.

This property is also equivalent to calling MethodBuilder.GetModule.

Requirements

Namespace: System.Reflection.Emit
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0