mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Default ctor fixes
This commit is contained in:
parent
64cb1ab193
commit
7c67b226be
2 changed files with 10 additions and 0 deletions
|
@ -27,6 +27,11 @@ namespace System.Threading.Tasks
|
|||
get { return IsWaitNotificationEnabledOrNotRanToCompletion ? GetResultCore(true) : m_result; }
|
||||
}
|
||||
|
||||
protected this()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public this(Func<Object, TResult> func, Object state, CancellationToken cancellationToken, TaskCreationOptions creationOptions)
|
||||
: this(func, state, Task.InternalCurrentIfAttached(creationOptions), cancellationToken,
|
||||
creationOptions, InternalTaskOptions.None, null)
|
||||
|
|
|
@ -238,6 +238,11 @@ namespace System.Threading.Tasks
|
|||
}
|
||||
}
|
||||
|
||||
protected this()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public this(Action action)
|
||||
: this(action, null, null, default(CancellationToken), TaskCreationOptions.None, InternalTaskOptions.None, null)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue