Applies to: Visual Studio Visual Studio for Mac
This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here
The list of child tasks that are registered with this task.
Assembly: mscorlib (in mscorlib.dll)
Because you can't access this internal member from the .NET Framework, the following syntax is provided in Common Intermediate Language (CIL).
.field public class System.Collections.Generic.List`1<class System.Threading.Tasks.Task> m_children
While the task is running, only the thread that executes the task should access this array.
If the task is completed, other threads can access this field as long as they don't add anything to it or remove anything from it.