PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Base­Instruction­Writer Class / Base­Instruction­Writer Properties / Base­Instruction­Writer.​Method­Body Property

BaseInstructionWriter.MethodBody Property

Gets or sets the method body assigned to the current BaseInstructionWriter.

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public MethodBodyDeclaration MethodBody { get; protected set; }

Property Value

Type: MethodBodyDeclaration
See Also