PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Method­Def­Declaration Class / Method­Def­Declaration Properties / Method­Def­Declaration.​Has­Body Property

MethodDefDeclaration.HasBody Property

Determines whether the method currently has a body.

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 bool HasBody { get; }

Property Value

Type: Boolean
See Also