PostSharp.ILAPI ReferencePost­Sharp.​AspectsNull­Task­Sentinel
Open sandboxFocus

NullTaskSentinel Class

The singleton instance of this class is assigned to the ReturnValue property when an OnMethodBoundaryAspect aspect is applied semantically to a method and the target method returns a null task.

Inheritance
NullTaskSentinel
Namespace: PostSharp.Aspects
Assembly: PostSharp.dll
Syntax
public sealed class NullTaskSentinel : Object

Constructors

Name Description
NullTaskSentinel() PostSharp.Aspects.NullTaskSentinel

Properties

Name Description
Instance

The singleton instance that is assigned to the ReturnValue property when an OnMethodBoundaryAspect aspect is applied semantically to a method and the target method returns a null task.