Post­Sharp Documentation / API Reference / Post­Sharp.​Aspects Namespace / Method­Interception­Args Class / Method­Interception­Args Properties / Method­Interception­Args.​Return­Value Property

MethodInterceptionArgs.ReturnValue Property

Gets or sets the return value of the method.

Namespace:  PostSharp.Aspects
Assembly:  PostSharp (in PostSharp.dll) Version: 5.0.55.0 (5.0.55.0)
Syntax
C#
public abstract Object ReturnValue { get; set; }

Property Value

Type: Object
Remarks
Note Note
As a result of weaving optimizations, value of this property may be seen null in a debugger. If you need to inspect the value in runtime, consider disabling aspect optimizations in the debug build configuration.
See Also