PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Code­Model.​Syntax Namespace / ISyntax­Service Interface / ISyntax­Service Methods / ISyntax­Service.​Get­Method­Body Method

ISyntaxService.GetMethodBody Method

[Missing <summary> documentation for "M:PostSharp.Sdk.CodeModel.Syntax.ISyntaxService.GetMethodBody(PostSharp.Sdk.CodeModel.MethodDefDeclaration,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#
SyntaxMethodBody GetMethodBody(
	MethodDefDeclaration method,
	MethodBodyAbstractionLevel abstractionLevel
)

Parameters

method
Type: PostSharp.Sdk.CodeModel.MethodDefDeclaration

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

abstractionLevel
Type: MethodBodyAbstractionLevel

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

Return Value

Type: SyntaxMethodBody

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

See Also