1 write to _task
Microsoft.AspNetCore.Shared.Tests (1)
src\Shared\TaskToApm.cs (1)
80_task = task;
6 references to _task
Microsoft.AspNetCore.Shared.Tests (6)
src\Shared\TaskToApm.cs (6)
41twar._task.GetAwaiter().GetResult(); 52if (asyncResult is TaskAsyncResult twar && twar._task is Task<TResult> task) 95_task.ConfigureAwait(continueOnCapturedContext: false) 112/// <remarks>This is set lazily based on whether the <see cref="_task"/> has completed by the time this object is created.</remarks> 115public bool IsCompleted => _task.IsCompleted; 117public WaitHandle AsyncWaitHandle => ((IAsyncResult)_task).AsyncWaitHandle;