PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Weaver.​Method­Body­Wrapping Namespace / IMethod­Body­Wrapping­Advices Interface / IMethod­Body­Wrapping­Advices Properties / IMethod­Body­Wrapping­Advices.​Has­On­Success­Advice Property

IMethodBodyWrappingAdvices.HasOnSuccessAdvice Property

Indicates whether this instance emits code into the "successful return" section in the method.

Namespace:  PostSharp.Sdk.AspectWeaver.MethodBodyWrapping
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
bool HasOnSuccessAdvice { get; }

Property Value

Type: Boolean
See Also