PostSharpAPI ReferencePost­Sharp.​AspectsMethod­Interception­ArgsReturn­Value
Open sandboxFocus

MethodInterceptionArgs.ReturnValue Property

ReturnValue

Gets or sets the return value of the method.

Declaration
public abstract object ReturnValue { get; set; }
Property Value
Type Description
Object
Remarks
note

As a result of weaving optimizations, value of this property may be seen as null in a debugger. If you need to inspect the value in runtime, consider disabling aspect optimizations in the debug build configuration.