PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Code­Model.​Syntax Namespace / Syntax­Service Class / Syntax­Service Methods / Syntax­Service.​Get­Method­Body Method / Syntax­Service.​Get­Method­Body Method (Method­Base, Method­Body­Abstraction­Level)

SyntaxService.GetMethodBody Method (MethodBase, MethodBodyAbstractionLevel)

[Missing <summary> documentation for "M:PostSharp.Sdk.CodeModel.Syntax.SyntaxService.GetMethodBody(System.Reflection.MethodBase,PostSharp.Reflection.MethodBody.MethodBodyAbstractionLevel)"]

Namespace:  PostSharp.Sdk.CodeModel.Syntax
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public IMethodBody GetMethodBody(
	MethodBase method,
	MethodBodyAbstractionLevel abstractionLevel
)

Parameters

method
Type: System.Reflection.MethodBase

[Missing <param name="method"/> documentation for "M:PostSharp.Sdk.CodeModel.Syntax.SyntaxService.GetMethodBody(System.Reflection.MethodBase,PostSharp.Reflection.MethodBody.MethodBodyAbstractionLevel)"]

abstractionLevel
Type: MethodBodyAbstractionLevel

[Missing <param name="abstractionLevel"/> documentation for "M:PostSharp.Sdk.CodeModel.Syntax.SyntaxService.GetMethodBody(System.Reflection.MethodBase,PostSharp.Reflection.MethodBody.MethodBodyAbstractionLevel)"]

Return Value

Type: IMethodBody

[Missing <returns> documentation for "M:PostSharp.Sdk.CodeModel.Syntax.SyntaxService.GetMethodBody(System.Reflection.MethodBase,PostSharp.Reflection.MethodBody.MethodBodyAbstractionLevel)"]

Implements

IMethodBodyService.GetMethodBody(MethodBase, MethodBodyAbstractionLevel)
See Also