Open sandboxFocus

Property IsInAsyncFunction

IsInAsyncFunction

Gets a value indicating whether the innermost enclosing method, local function or lambda is async.

Declaration
bool IsInAsyncFunction { get; }
Property Value
Type Description
bool