24 references to Task
Microsoft.AspNetCore.Mvc.Core.Test (1)
Infrastructure\ControllerActionInvokerTest.cs (1)
1945: base(() => { })
Microsoft.AspNetCore.Owin.Tests (1)
OwinExtensionTests.cs (1)
22static readonly AppFunc notFound = env => new Task(() => { env["owin.ResponseStatusCode"] = 404; });
Microsoft.AspNetCore.SignalR.Tests (1)
NativeAotTests.cs (1)
368: base(() => { })
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Compilation\GetSemanticInfoTests.cs (2)
2281var task1 = new Task(() => comp.GlobalNamespace.GetMember<NamedTypeSymbol>("A").GetMembers()); 2282var task2 = new Task(() => comp.GlobalNamespace.GetMember<NamedTypeSymbol>("IA").GetMembers());
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (12)
Utilities\AsynchronousOperationListenerTests.cs (12)
86var task = new Task(() => 108var task = new Task(() => 114var queuedTask = new Task(() => 141var task = new Task(() => 146var queuedTask = new Task(() => 174var task = new Task(() => 209var task = new Task(() => 215var firstQueueTask = new Task(() => 219var secondQueueTask = new Task(() => 253var task = new Task(() => 257var cancelledTask = new Task(() => 269var queuedTask = new Task(() =>
Microsoft.Extensions.Hosting.Testing.Tests (2)
FakeHostTests.cs (2)
76var task = new Task(() => { }); 135var task = new Task(() => { });
System.Linq.Parallel (5)
System\Linq\Parallel\Scheduling\OrderPreservingPipeliningSpoolingTask.cs (1)
171Task rootTask = new Task(
System\Linq\Parallel\Scheduling\OrderPreservingSpoolingTask.cs (1)
87Task rootTask = new Task(
System\Linq\Parallel\Scheduling\SpoolingTask.cs (3)
40Task rootTask = new Task( 98Task rootTask = new Task( 139Task rootTask = new Task(