Enum RuntimeAsyncVariantFlags
Flags used in RuntimeAsyncMethodInfo to indicate properties of the given handles.
[Flags]
public enum RuntimeAsyncVariantFlags
- Extension Methods
Fields
None = 0- No flags set.
IsThunk = 1- The corresponding variant is a thin thunk that does not need to be detoured for full coverage.
On CoreCLR, the async variant generated for non-Async methods is usually NOT a thunk, instead being separately compiled with the same IL with the extra runtime async machinery mappended. Thus, in that case, both variants MUST be detoured for full coverage.