PostSharp6.3/API Reference/Post­Sharp.​Aspects Namespace/Null­Task­Sentinel Class/Null­Task­Sentinel Properties/Null­Task­Sentinel.​Instance Property

NullTaskSentinel.Instance Property

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.

Namespace:  PostSharp.Aspects
Assembly:  PostSharp (in PostSharp.dll) Version: 6.3.11.0 (6.3.11.0)
Syntax
C#
public static NullTaskSentinel Instance { get; }

Property Value

Type: NullTaskSentinel
See Also